MSBUILD : error MSB1008: Only one project can be specified

前端 未结 18 1149
眼角桃花
眼角桃花 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

    Try to remove the trailing backslash or slash at the end of you publish path and install url

    /p:PublishDir="\\BSIIS3\c$\DATA\WEBSITES\benesys.net\benesys.net\TotalEducationTest"
    /p:InstallUrl="https://www.benesys.net/benesys.net/TotalEducationTest"
    

    You must have hit a special sequence of characters with the \" and (or) /", but I don't know enough in cmd.exe to figure out.

    I personnaly always use Powershell : it's way more friendly and powerful!

    Hope it helps!

提交回复
热议问题