Visual Studio 2017에 .Net Core ASP.Net 응용 프로그램이 있습니다. 응용 프로그램 자체 포함 배포를 시도하고 있습니다. 나는 CLI에서 다음 명령을 실행하면 내가 원하는 정확히 어떻게 작동하고 난 비주얼 스튜디오 2017에서 게시하는 경우 그것은 .EXE를 생산하고 생산하지 않습니다 그러나, .EXEVisual Studio 2017 ASP.Net 자체 닷넷 코어 응용 프로그램 게시
dotnet publish -c release -r win7-x64
을 생산
. 대신 DLL을.
Visual Studio 2017에서 dotnet publish 명령의 -r win7-x64를 어떻게 복제 할 수 있습니까? 여기
는<?xml version="1.0" encoding="utf-8"?>
<!--
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<PublishProvider>FileSystem</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<PublishFramework>netcoreapp1.1</PublishFramework>
<ProjectGuid>74bc47dd-6787-420d-804f-3f3d689d5ae5</ProjectGuid>
<publishUrl>C:\Deploy\JLM.MS.LeadGen.Dealer</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles>
<RuntimeIdentifiers>win7-x64</RuntimeIdentifiers>
</PropertyGroup>
</Project>
csproj도 공유 할 수 있습니까? – natemcmaster