MSBUILD : error MSB1008: Only one project can be specified

前端 未结 18 877
眼角桃花
眼角桃花 2021-01-30 09:39

Why am I getting the following Build error?

C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\msbuild.exe C:\\Code\\EduBenesysNET\\EduBenesysNET\\EduBenesysNET.vbproj /t:pu         


        
18条回答
  •  星月不相逢
    2021-01-30 10:39

    For future readers.

    I got this error because my specified LOG file had a space in it:

    BEFORE:

    /l:FileLogger,Microsoft.Build.Engine;logfile=c:\Folder With Spaces\My_Log.log
    

    AFTER: (which resolved it)

    /l:FileLogger,Microsoft.Build.Engine;logfile="c:\Folder With Spaces\My_Log.log"
    

提交回复
热议问题