I have a .net Core application and some pubxml files. When I publish from Visual Studio, it works. But I cannot figure out how to publish from the command line.
This question does not help:
dotnet publish -c Release MyApp /p:PublishProfile=MyApp\Properties\PublishProfiles\Win64.pubxmlpublishes a portable version- Going into the
MyAppfolder does not help either - The linked question has a link to a Github issue but this is about msbuild, I want to use
dotnet publish.
What am I missing?