Project builds but can't publish

前端 未结 12 1802
萌比男神i
萌比男神i 2020-11-29 04:03

I have an MVC project that for an uknown reason refuses to publish to a local folder in the PC.

The log says the following:

3>------ Publish start         


        
12条回答
  •  野性不改
    2020-11-29 04:36

    Try opening the solution with Visual Studio 2017

    I had been building and publishing from Visual Studio 2015, as that is the version of Visual Studio that the Version Selector picked when I opened the solution file.

    I tried opening my solution file from Visual Studio 2017 instead, and that succeeded in publishing.

提交回复
热议问题