“GenerateResource” task CLR2 runtime error

后端 未结 8 988
梦毁少年i
梦毁少年i 2020-12-14 01:03

My app keeps getting this error (I\'m using VS 2013, VB.NET, and Windows 8.1, by the way):

Could not run the \"GenerateResource\" task because MSBuild

8条回答
  •  自闭症患者
    2020-12-14 01:44

    I tried opening an old VS2010 vb project inside VS2013 recently and just ran into this problem. I got around it this way:

    1. I went to the vb project's properties page
    2. I clicked the "Debug" tab
    3. In the "Enable Debugers" section, I saw that the "(x) Enable the Visual Studio hosting process" checkbox was already checked.
    4. I tried un-checking the "( ) Enable the Visual Studio hosting process" option
    5. I saved these changes (Ctrl+S)
    6. I then checked the "(x) Enable the Visual Studio hosting process" checkbox once more
    7. I saved these changes (Ctrl+S)

    My next re-build of the project was then successful.

    Luckily, I was able to observe how the .vbproj file changed in my version control, and saw that it added the following line into it (which was not there before, despite the checkbox already being set initially):

    true
    

提交回复
热议问题