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