I am trying to run my app on my windows phone but keep getting the following error.
Unexpected error creating debug information file 'c:\Users\Admin\Documents\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\obj\Debug\PhoneApp1.PDB' -- 'c:\Users\Admin\Documents\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\obj\Debug\PhoneApp1.pdb: The process cannot access the file because it is being used by another process. C:\Users\Admin\documents\visual studio 2012\Projects\PhoneApp1\PhoneApp1\CSC PhoneApp1
Try restarting Visual Studio again, or building your app first using Release configuration and then again using Debug configuration. It will solve your problem.
This is happening because Visual Studio has created a sort of "lock", it can happen sometimes.
Change the debug in the above picture to Release.
Related
My C# application crashes for "access violation" on windows module. I tried to run it by Visual Studio debugger, but there I could not get any log or dump.
How can I use Visual Studio for debugging this kind of problem?
After enabling the Visual Design on Xamarin Studio, I came across something very annoying: a bug in the IDE is keeping me from using the designer.
When I try to open the .xaml file with the Windows Presentation Host, it gives the following error, saying the file could not be found.
This occurred on both Windows 8.1 and 10. 2015 is the only Visual Studio version installed on my machine.
What may be happening?
Note: messages are in portuguese. The error message says 'Windows could not find C:\...\Vinicius\etc. Make sure the name is correctly typed and try again. ':
i run application from windows without visual studio 2010. I just run app.exe file and i get this error.
how can i disable this and get real error?
Do what the message tells you - enable Just In Time debugging in Visual Studio, then you'll be able to see the actual problem.
I am currently working on a windows service, after installing the service via installutil.exe, as I start the service in services.msc there's no JIT window indication if I would want to debug it or not.
And once the service is running and tried the "Attached to process" in visual studio, It will say an error like Unable to attach to the process. Visual Studio has insufficient privileges to debug this process. To debug this process, Visual Studio must be run as an administrator. Eventhough I'm an administrator in my Local.
My problem is similar in this thread on MSDN thread.
But I am using Visual Studio 2008. I've tried all possible solution after posting this questiion here.
I've tried
adding <system.windows.forms jitdebugging=true/> to my config file
checking Tools->Options->Debugging
checking registry settings
run visual studio 2008 as administrator, attached the process and still throwing the insufficient priveleges error.
Any ideas?
I Hope someone could help me.
Thanks,
Sherwin
Just do what the error message is saying -- run Visual Studio as administrator. To do that, right click on Visual Studio icon in start menu and select option "Run as administrator".
hey there. So, we have a VS2010 project and the VisualSVN server on one machine. We added a new machine with the client visual svn and the projected loaded in. except for the WCF service. i'm getting a...
" error : the project file c:/..../wcfProject.csproj cannot be opened.
The project type is not supported by this installation."
i've checked the directory, the files and file structure are there and the same as the main development machine. any tips/solutions?
thanks
David K.
I had a similar problem with some WCF solution which I downloaded from a blog.
The solutions of running deveng with the switches did not resolve my issues. After some more searching it turned out that the following clue in the answer of Ralph Willgoss lead to the solution of my problem:
I resolved it by installing the Visual Web Developer.
I also had to (manually) install the Web Platform Installer to (automatically) download the last requirements for the project to properly load.
I had a similar problem when trying to create a new project of the following types:
WCF Service Application
WCF Work Flow Service Application
Syndication Service Library
I was using Windows 7 Ultimate 64bit, with no other versions of Visual Studio installed.
I also had tried many other options, such as:
devenv /resetsettings
devenv /resetskippkgs
ensuring I had C++ option of VS2010 installed
VS2010 Service Pack 1
I resolved it by installing the Visual Web Developer.
There are a few things this could be so I can't give you one specific answer. However, here are a few things to try on your machine that is throwing the error:
First, verify which version of Visual Studio is set as the default for opening csproj files. It could be that you installed SQL or something else that uses an older version of Visual Studio. Sometimes that can give an error. Even if the default is the Visual Studio version selector I've seen it throw an error. Open up the correct version of Visual Studio (through the Programs menu) and then inside Visual Studio try to open the package. If that works, you know the issue is with which version is opening the file.
If that doesn't work, you could try resetting the Visual Studio settings. From the run menu type devenv /setup This should reset the Visual Studio environment and hopefully it will fix the issue. If this does not work, try running devenv /ResetSkipPkgs from the Run menu. This will try to load any packages that Visual Studio previously skipped.
If these steps don't work, let us know. Give us any further error messages that come up after attempting these steps.