Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio 2017 Verbose publish

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?

like image 911
johnny 5 Avatar asked May 30 '18 02:05

johnny 5


People also ask

How do I use verbose in Visual Studio?

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.

How do I publish a program in Visual Studio 2017?

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.

How do I change the publish path in Visual Studio?

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).


1 Answers

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.

like image 86
PepitoSh Avatar answered Oct 21 '22 11:10

PepitoSh