Visual Studio 2017 ASP.Net Publish Self-Contained Dot Net Core App
问题 I have a .Net Core ASP.Net application in Visual Studio 2017. I am trying to do a self contained deployment of the application. If I run the following command from the CLI it works exactly how I want and produces a .exe dotnet publish -c release -r win7-x64 However if I publish from Visual Studio 2017 it does not produce a .exe and produces a .dll instead. How can I replicate the -r win7-x64 of the dotnet publish command from within Visual Studio 2017? Here is the contents of my .pubxml <?xml