mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Add AOT compatibility and PolySharp package support
This commit is contained in:
parent
4515d89705
commit
4802751357
@ -5,7 +5,10 @@
|
|||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
<DefineConstants>$(DefineConstants)TRACE;WCWIDTH_VISIBILITY_INTERNAL</DefineConstants>
|
<DefineConstants>$(DefineConstants)TRACE;WCWIDTH_VISIBILITY_INTERNAL</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsAotCompatible Condition="'$(TargetFramework)' != 'netstandard2.0'" >true</IsAotCompatible>
|
||||||
|
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup Label="REMOVE THIS">
|
<ItemGroup Label="REMOVE THIS">
|
||||||
<InternalsVisibleTo Include="$(AssemblyName).Tests"/>
|
<InternalsVisibleTo Include="$(AssemblyName).Tests"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -20,6 +23,10 @@
|
|||||||
<PackageReference Include="Wcwidth.Sources">
|
<PackageReference Include="Wcwidth.Sources">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
<PackageReference Include="PolySharp" Version="1.14.1">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user