开发者

VB.NET Debug Button Disabled

开发者 https://www.devze.com 2023-03-05 03:37 出处:网络
I am using Visual Studio Ultimate. I have made a fairly long program which worked fine. One day I find that the debug button 开发者_开发知识库was disabled and both the build and rebuild buttons do not

I am using Visual Studio Ultimate. I have made a fairly long program which worked fine. One day I find that the debug button 开发者_开发知识库was disabled and both the build and rebuild buttons do not work. I have tried opening the same project files in Visual Basic Express 2010 but still, the sane problem.

I don't really want to have to reinstall but I'm not even sure that that will fix the problem. Thanks in advance.


Is there a startup project? One project in the Solution Explorer should be in bold. Right-click the executable project and select "Set as StartUp Project". Additionally, open the Project Properties, Application tab, and ensure Application type is either "Windows Forms Applications" or "Console Application".


Did you try to reset the setting of your Visual Studio Ultimate?

Type: (In your visual studio command prompt) devenv /resetsettings


Buttons disabled for just that program, or all programs?

I vaguely remember having a similar problem many years ago. Re-creating the project and solution files fixed it, I think (ie. create a new solution/project and import all the .vb files).

Another thing to check would be whether the compiled files have become read-only. Maybe VB.NET can't delete the old .EXEs


You need to build a test application. I think thats more difficult then making the application itself. In my personal opinion, your better off building the whole software in a notepad.

http://msdn.microsoft.com/en-us/library/ms182532.aspx

0

精彩评论

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