I would like to publish .NET Core 2 with Visual Studio 2017 15.4 – I have created console app and do only Console.Write and Read for test purpose. Next I would like to publish this for windows so I have changed project properties to:
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
When I’m trying to do publish with default stings I have and error “Publish failed” and output have this error “Could not copy the file "obj\x64\Release\netcoreapp2.0\win10-x64\ConsoleApp6.dll" because it was not found.” Another thing is that I can find exe in “bin\x64\Release\netcoreapp2.0\win10-x64” but after run there is no text I have written in my app but I can see “host-options:” and couple of options?
I don't know why error occurs and why I see “host-options:” after run the app?