开发者

How to start WindowsForms app?

开发者 https://www.devze.com 2023-02-13 01:36 出处:网络
I did something and the play arrow is not active :| any ideas how to make it active again? both in Release and Debug mode :(

I did something and the play arrow is not active :| any ideas how to make it active again? both in Release and Debug mode :(

It has happened after I have added NuGet and log4j.net. I have no errors messages and even in meny the run is disabled. In Debug menu I only have Start Performanc开发者_运维知识库e Analysis, Attach to process(and others that are not Start Debugging).


do you have a start project and start form set? That's most likely the issue. Right-click on your start project and set it as start project. Then choose the form you want to be the start form and set it to the start form.


You could try starting VS with the /Setup option as in this question.

Otherwise, this person had the same problem because they had multiple startup projects, and one of them was non-runnable. Could this be the case?


Or you may simply use the shortcuts: F5 and CTRL + F5

Also, I've had this problem couple of times. When I select my main starting project or a file in it, it enables the play button again

0

精彩评论

暂无评论...
验证码 换一张
取 消