I suggest you ...

Provide better dialog when unable to Edit and Continue within an class library.

I am working on a C# unit test libary. I often start a test debugging and editing. From time to time I make edits that make it impossible to continue without recompiling.
So the well-known dialog is displayed:
Edit and Continue: Edits were made to the code which cannot be applied while debugging. Click Restart to stop debugging, rebuild the code, and restart debugging. Click Edit to make changes to the code.

The problem is, clicking Restart really is not an option. The dialog after that gives the reason:
A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.

Well, even if there was an executable in the solution, it would not be the correct way to take me debugging back to were I was.
Please reduce the number of dialogs to get me debugging the unit test and remove the unreasonable suggestion.

0 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Stefan Hecker shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base