.net core 环境安装

https://blog.csdn.net/sD7O95O/article/details/81295286

.net core 在vs中生成为dll文件

在vs中生成exe  

在csproj文件下添加

<RuntimeIdentifier>win7-x64</RuntimeIdentifier>

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

  <PropertyGroup>     <OutputType>Exe</OutputType>     <TargetFramework>netcoreapp2.1</TargetFramework>  <RuntimeIdentifier>win7-x64</RuntimeIdentifier>   </PropertyGroup>

</Project>

猜你喜欢

转载自www.cnblogs.com/v587yy/p/12123350.html