I'm attempting to publish a .Net-Core 2.0 project on visual studio 2017. When I publish everything builds fine the publish says success however no files are published.
I've looked at a few questions about this and attempted the solution, switch from debug to release, etc. But nothing seems to work
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\15.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\15.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/
How can I enabled Verbose logging for .net-core projects?
In Visual Studio, you can turn on verbose logging for Dev Spaces by going to Tools -> Options and setting the MS Build build verbosity setting to Detailed or Diagnostic. This will request more detailed logs from Dev Spaces, which can help when troubleshooting failures.
Right-click on the project (not the solution) in Solution Explorer and select Publish. In the Publish tab, select Publish. Visual Studio writes the files that comprise your application to the local file system. The Publish tab now shows a single profile, FolderProfile.
To specify a publishing location In the Publish Location field, enter the publishing location by using one of the following formats: To publish to a file share or disk path, enter the path by using either a UNC path (\\Server\ApplicationName) or a file path (C:\Deploy\ApplicationName).
This is for vs 2015 but for 2017 the settings are the same: 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With