第一步 新建类库,不选.netframework,框架用standard2.0
<PropertyGroup>
<TargetFramework>NET48</TargetFramework>
<LangVersion>preview</LangVersion>
<AssemblyVersion>0.1.0.*</AssemblyVersion>
<FileVersion>0.1.0</FileVersion>
<ImplicitiUsings>enable</ImplicitiUsings>
<Nullable>enable</Nullable>
<Deterministic>false</Deterministic>
<UseWpf>true</UseWpf>
<UseWindowsForms>true</UseWindowsForms>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<TargetFramework>NET48</TargetFramework>
<LangVersion>preview</LangVersion>
<AssemblyVersion>0.1.0.*</AssemblyVersion>
<FileVersion>0.1.0</FileVersion>
<ImplicitiUsings>enable</ImplicitiUsings>
<Nullable>enable</Nullable>
<Deterministic>false</Deterministic>
<UseWpf>true</UseWpf>
<UseWindowsForms>true</UseWindowsForms>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>