Cannot debug in Visual Studio Express anymore

I used to be able to debug using Visual C # Express 2010 without any problems. However, since I opened my project with MonoDevelop (for porting it under MacOS), I can no longer debug it.

The exact error message is available below:

The exact error message

Many say that you need to enter the configuration manager, which is familiar to me, but I can not find it in the Express version.

+4
source share
3 answers

As George Duckett said:

Re. configuration manager, first enable expert settings. Tools-> Settings-> ExpertSettings. Then find it under Build-> ConfigurationManager

Then they changed it to Debug.

+1
source

Since you did not have this problem before opening it in Monodevelop, it most likely changed something in the solution and / or project files. There are several posts in stackoverflow ...

fooobar.com/questions/11329 / ...

fooobar.com/questions/1043954 / ... (From Răzvan Panda comment on the question)

... that talk about missing characters. However, based on the information provided about monodevelop, I would venture to suggest that the IDE changed something in the solution and / or project files.

If your solution is under source control and you do not see the differences in these files, let me know. Otherwise, you could create a new empty solution / project file (from Visual C # Express 2010) and re-add all your files to it to return the default settings and see if this fixes your problem.

EDIT: Also, keep in mind that there are “.user” files, which I suppose can “affect” the build / debug configuration. If re-adding files to empty solution / project files does not work, make sure that all the “additional” files, such as “.user”, are not in the directory. Typically, files such as .csproj.user and .suo. I never had a problem deleting them; they save local configuration changes that are usually not checked in the original control.

+3
source

I had the same problem with Symbols when I added some dll to my project, so I did this to manually add them. you can try going to tools> option> Debugging> Symbols and from there you can add the root of the file (in this case monoDevelop) and it will automatically search for all .pdb files and add them to your environment. After the rebuild, this should be good.

Greetings

+1
source

Source: https://habr.com/ru/post/1389281/


All Articles