mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 08:06:02 +08:00
FIX: Build logic and drop netstandard2.1 as it causes trimming issues.
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
<LangVersion>11.0</LangVersion>
|
<LangVersion>11.0</LangVersion>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<DebugType>embedded</DebugType>
|
<DebugType>embedded</DebugType>
|
||||||
<Features>strict</Features>
|
<Features>strict</Features>
|
||||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||||
|
|||||||
@@ -2,16 +2,16 @@
|
|||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
<!-- Settings that are only set for executables -->
|
<!-- Settings that are only set for executables -->
|
||||||
<PropertyGroup Condition="'$(OutputType)' != 'Library' AND '$(UseWindowsForms)' != 'true'">
|
<PropertyGroup Condition="'$(OutputType)' != 'Library' ">
|
||||||
<PublishTrimmed>true</PublishTrimmed>
|
<PublishTrimmed>true</PublishTrimmed>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Settings that are only set for libraries -->
|
<!-- Settings that are only set for libraries -->
|
||||||
<PropertyGroup Condition=" '$(OutputType)' == 'Library' AND '$(TargetFramework)' != 'netstandard2.0' AND '$(TargetFramework)' != 'netstandard2.1' ">
|
<PropertyGroup Condition=" '$(OutputType)' == 'Library' AND $(TargetFramework.StartsWith('netstandard')) != 'True' ">
|
||||||
|
<IsTrimmable>true</IsTrimmable>
|
||||||
<EnableAotAnalyzer>true</EnableAotAnalyzer>
|
<EnableAotAnalyzer>true</EnableAotAnalyzer>
|
||||||
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
||||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||||
<IsTrimmable>true</IsTrimmable>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Direct2D1 bindings.</Description>
|
<Description>Direct2D1 bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>DXC bindings.</Description>
|
<Description>DXC bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>FXC bindings.</Description>
|
<Description>FXC bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Direct3D11 bindings.</Description>
|
<Description>Direct3D11 bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Direct3D11on12 bindings.</Description>
|
<Description>Direct3D11on12 bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Direct3D12 bindings.</Description>
|
<Description>Direct3D12 bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>DirectComposition bindings.</Description>
|
<Description>DirectComposition bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>DirectWrite bindings.</Description>
|
<Description>DirectWrite bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Dxgi bindings.</Description>
|
<Description>Dxgi bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>WIC bindings.</Description>
|
<Description>WIC bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Direct3D11on12 bindings.</Description>
|
<Description>XAudio2 and X3DAudio bindings.</Description>
|
||||||
|
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>
|
||||||
<Description>Windows API low level bindings.</Description>
|
<Description>Windows API low level bindings.</Description>
|
||||||
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
|
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
|
||||||
<NoWarn>$(NoWarn);CS0419;IDE0017</NoWarn>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user