publishing several projects in a solution

Hello.
I have two projects in one walkthrough. The first one written in .NET Core (API that is published in IIS) and the second one written in .NET Core (API related console application)
The main project contains a .sln file and there is no problem publishing it.
The console project contains only a .csproj file, so theoretically its publication goes without a problem, but no directory is created. When you publish a console application, the directory is created each time. In the screenshot, step 4 is the successful publication of the project containing the .sln file.
Step 5 is the publication of the console application which, despite the fact that the publication profile should create a folder with the application, it does not create it.
I know MSBuild is deprecated, however I tried a .NET setup with msbuild command but it didn't make any difference.
The question is why in the case of publishing a console application, the folder is created manually and using teamCity no folder is created and the process is successfully completed?

 
0

Please sign in to leave a comment.