Skip to content

Commit

Permalink
FIX WinUi compilation, add ReadME support to projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
amerkoleci committed Feb 4, 2025
1 parent d8983d7 commit acf8a04
Show file tree
Hide file tree
Showing 20 changed files with 105 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/Vortice.D3DCompiler/Vortice.D3DCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>D3DCompiler bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.DXGI/Vortice.DXGI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net8.0-windows10.0.22621</TargetFrameworks>
<Description>DXGI bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Direct2D1/Vortice.Direct2D1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>WIC, Direct2D1 and DirectWrite bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Numerics" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Direct3D11/Vortice.Direct3D11.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>Direct3D11 bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Direct3D12/Vortice.Direct3D12.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>Direct3D12 bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Direct3D9/Vortice.Direct3D9.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>Direct3D9 bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectComposition bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.DirectInput/Vortice.DirectInput.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectInput bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />

Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.DirectML/Vortice.DirectML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectML bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<PropertyGroup>
<Authors>Aaron Sun, Amer Koleci</Authors>
</PropertyGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.DirectSound/Vortice.DirectSound.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectSound bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<SharpGenMapping Include="Mappings.xml" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.DirectStorage/Vortice.DirectStorage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectStorage bindings</Description>
<RootNamespace>Vortice.DirectStorage</RootNamespace>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Content Include="build\net461\Vortice.DirectStorage.props" PackagePath="build\net461\Vortice.DirectStorage.props" />
<Content Include="runtimes\win-arm\native\dstoragecore.dll" PackagePath="runtimes\win-arm\native\dstoragecore.dll" CopyToOutputDirectory="PreserveNewest" />
Expand Down
9 changes: 8 additions & 1 deletion src/Vortice.DirectX/Vortice.DirectX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
<Sdk Name="SharpGenTools.Sdk" Version="$(SharpGenVersion)" />

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net8.0-windows10.0.22621</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net8.0-windows10.0.22621;net9.0-windows10.0.22621</TargetFrameworks>
<RootNamespace>Vortice</RootNamespace>
<Description>Core DirectX library.</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<WindowsSdkPackageVersion>10.0.22621.54</WindowsSdkPackageVersion>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
<Using Include="System.Runtime.InteropServices" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Dxc/Vortice.Dxc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>DirectXShaderCompiler (DXC) bindings</Description>
<RootNamespace>Vortice.Dxc</RootNamespace>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis"/>
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.MediaFoundation/Vortice.MediaFoundation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>Media Foundation bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
Expand Down
7 changes: 6 additions & 1 deletion src/Vortice.UIAnimation/Vortice.UIAnimation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Description>Windows Animation Manager bindings.</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>


<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Runtime.InteropServices" />
<Using Include="SharpGen.Runtime" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.WinForms/Vortice.WinForms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
<Description>Direct3D11 WinForms integration</Description>
<UseWindowsForms>true</UseWindowsForms>
<NoWarn>$(NoWarn);WFO1000</NoWarn>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Vortice.Direct3D11\Vortice.Direct3D11.csproj" />
Expand Down
7 changes: 6 additions & 1 deletion src/Vortice.WinUI/Vortice.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
<Sdk Name="SharpGenTools.Sdk" Version="$(SharpGenVersion)" />

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net8.0-windows10.0.22621</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net8.0-windows10.0.22621;net8.0-windows10.0.22621</TargetFrameworks>
<Description>WinUI DirectX bindings</Description>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<EnableMsixTooling>true</EnableMsixTooling>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<WindowsSdkPackageVersion>10.0.22621.54</WindowsSdkPackageVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Diagnostics.CodeAnalysis" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.Wpf/Vortice.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
<RootNamespace>Vortice.Wpf</RootNamespace>
<Description>WPF integration</Description>
<UseWPF>true</UseWPF>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Vortice.Direct3D11\Vortice.Direct3D11.csproj" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.XAudio2/Vortice.XAudio2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<RootNamespace>Vortice.XAudio2</RootNamespace>
<Description>XAudio2 and X3DAudio bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="SharpGen.Runtime" />
Expand Down
5 changes: 5 additions & 0 deletions src/Vortice.XInput/Vortice.XInput.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<RootNamespace>Vortice.XInput</RootNamespace>
<Description>XInput bindings</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<Using Include="System.Runtime.InteropServices" />
</ItemGroup>
Expand Down

0 comments on commit acf8a04

Please sign in to comment.