Visual studio 2017 详细发布
Visual studio 2017 Verbose publish
我正在尝试在 visual studio 2017 年发布一个 .Net-Core 2.0 项目。
当我发布一切构建良好时,发布说成功但是没有文件被发布。
我已经查看了一些关于此的 questions 并尝试了解决方案,从调试切换到发布等。
但似乎没有任何效果
Connecting to ftps://fakeServer.GoDaddy.com:21...
Restore completed in 97.58 ms for C:\source\MyProject.csproj.
Restore completed in 73.07 ms for C:\source\MyDependency.csproj.
C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild.0\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): Warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore.Design" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild.0\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): Warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
MyProject-> C:\source\MyProject\bin\Debug\netcoreapp2.0\win10-x64\MyProject.dll
MyProject -> C:\source\MyProject\obj\Debug\netcoreapp2.0\win10-x64\PubTmp\Out\
Publishing folder /...
Web App was published successfully ftps://fakeServer.GoDaddy.com:21/
如何为 .net-core 项目启用详细日志记录?
这是针对 vs 2015,但对于 2017,设置是相同的:
https://msdn.microsoft.com/en-us/library/jj651643.aspx
To change the amount of information included in the build log On the
menu bar, choose Tools, Options.
On the Projects and Solutions page, choose the Build and Run page.
In the MSBuild project build output verbosity list, choose one of the
following values, and then choose the OK button.
你是不是没有显示任何文件?我之前 visual studio 锁定过发布文件夹。尝试以管理员模式发布,并尝试删除所有现有文件(如果有)。值得注意的是,我已将我的设置为自动删除,但在过去三个月中我仍然不得不手动删除两次。
我正在尝试在 visual studio 2017 年发布一个 .Net-Core 2.0 项目。 当我发布一切构建良好时,发布说成功但是没有文件被发布。
我已经查看了一些关于此的 questions 并尝试了解决方案,从调试切换到发布等。 但似乎没有任何效果
Connecting to ftps://fakeServer.GoDaddy.com:21... Restore completed in 97.58 ms for C:\source\MyProject.csproj. Restore completed in 73.07 ms for C:\source\MyDependency.csproj. C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild.0\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): Warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore.Design" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\MSBuild.0\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): Warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. MyProject-> C:\source\MyProject\bin\Debug\netcoreapp2.0\win10-x64\MyProject.dll MyProject -> C:\source\MyProject\obj\Debug\netcoreapp2.0\win10-x64\PubTmp\Out\ Publishing folder /... Web App was published successfully ftps://fakeServer.GoDaddy.com:21/
如何为 .net-core 项目启用详细日志记录?
这是针对 vs 2015,但对于 2017,设置是相同的: https://msdn.microsoft.com/en-us/library/jj651643.aspx
To change the amount of information included in the build log On the menu bar, choose Tools, Options.
On the Projects and Solutions page, choose the Build and Run page.
In the MSBuild project build output verbosity list, choose one of the following values, and then choose the OK button.
你是不是没有显示任何文件?我之前 visual studio 锁定过发布文件夹。尝试以管理员模式发布,并尝试删除所有现有文件(如果有)。值得注意的是,我已将我的设置为自动删除,但在过去三个月中我仍然不得不手动删除两次。