Error MSB1001: Unknown Switch - Visual Studio 2017 RC

When compiling my solution in Visual Studio 2017 RC, I get

C:\Code\src\MSBUILD : error MSB1001: Unknown switch. Switch: - For switch syntax, type "MSBuild /help" 

In every project.

I can compile the solution using Visual Studio 2015. I changed the output of the assembly to Diagnostics, and that’s still all I see.

+5
source share
1 answer

It seemed like an easy download solution. I pressed F4 on the solution and turned off the light load, closed VS and reopened the solution, and now it works fine.

I just turned on the light load again, and of course I get the same error - definitely the light load.

+1
source

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


All Articles