.Net Core 控制台程序生产exe

打开csproj ,添加一行

<RuntimeIdentifier>win10-x64</RuntimeIdentifier>

具体如下:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier> 
  </PropertyGroup>
</Project>
年轻人,现在没钱算什么,以后没钱的日子还多着呢(-_-
原文地址:https://www.cnblogs.com/lgq168/p/9184506.html