|
1 | 1 | <!--suppress CheckTagEmptyBody -->
|
2 |
| -<Project> |
| 2 | +<Project InitialTargets="SilkAddIcon;SilkGenerateNuGetReadme"> |
3 | 3 | <PropertyGroup>
|
4 |
| - <PackageIconUrl>https://static.ultz.co.uk/img/SilkDotNet.png</PackageIconUrl> |
5 | 4 | <PackageLicenseExpression>MIT</PackageLicenseExpression>
|
6 | 5 | <LangVersion>preview</LangVersion>
|
7 | 6 | <Authors>.NET Foundation and Contributors</Authors>
|
8 | 7 | <PackageReleaseNotes>
|
9 |
| - Silk.NET October 2021 Update |
10 |
| - |
11 |
| - - Add bindings for DirectX Video Acceleration (DXVA) |
12 |
| - - Add bindings for D3D9Ex |
13 |
| - - Add bindings for extra core Win32 APIs (as required by DXVA) |
14 |
| - - Add a .NET 6 code path for GlobalMemory using NativeMemory |
15 |
| - - Add more TFMs in addition to .NET Standard 2.0 for DirectX bindings |
16 |
| - - Add enhanced anonymous struct support with ref-returning properties on .NET Standard 2.1 and up |
17 |
| - - Update to Vulkan 1.2.194 |
18 |
| - - Update to latest OpenCL specifications |
19 |
| - - Fix MarshalDirectiveException when a struct containing a char passes across a native boundary |
20 |
| - - Fix Vulkan out parameters not having their structure type set before passing across the native boundary |
21 |
| - - Fix native libraries not being found in some cases for self-contained executables |
| 8 | + Silk.NET November 2021 Update |
| 9 | + |
| 10 | + - Added support for BigInteger and Complex in the Silk.NET.Maths.Scalar APIs. (thanks @WhiteBlackGoose) |
| 11 | + - Added helper constructors for maths types (Rectangle, Box2D, Box3D, etc). (thanks @nathan-alden-sr) |
| 12 | + - Added bitwise APIs to Silk.NET.Maths.Scalar. (thanks @WhiteBlackGoose) |
| 13 | + - Added support for configuring OpenGL multisamping. |
| 14 | + - Updated to Vulkan 1.2.197. |
| 15 | + - Updated to latest OpenCL specifications. |
| 16 | + - Updated to latest OpenGL specifications. |
| 17 | + - Updated DirectX and Win32 bindings to Windows 11 SDK. |
| 18 | + - Removed redundant references with no DLLs (i.e. BCL/legacy packages not needed on newer platforms, thanks @nathan-alden-sr @WhiteBlackGoose) |
| 19 | + - Removed problematic implicit-in OpenGL overloads (fixes the infamous VertexAttribPointer bug) |
| 20 | + - Fixed incorrect character encoding of keyboard (text) input on the SDL backend. (thanks @roeyskoe) |
| 21 | + - Fixed native libraries not being resolved despite being present in the "runtimes" folder. |
| 22 | + - Miscellaneous documentation fixes and improvements. |
22 | 23 | </PackageReleaseNotes>
|
23 | 24 | <PackageTags Condition="'$(PackageTags)' == ''">OpenCL;OpenGL;OpenAL;OpenGLES;GLES;Vulkan;Assimp;DirectX;GLFW;SDL;Windowing;Input;Gamepad;Joystick;Keyboard;Mouse;SilkTouch;Source;Generator;C#;F#;.NET;DotNet;Mono;Vector;Math;Maths;Numerics;Game;Graphics;Compute;Audio;Sound;Engine;Silk;Silk.NET;Slim.NET;ElgarTK;GPU;Sharp;Science;Scientific;Visualization;Visual;Audiovisual;Windows;macOS;Linux;Android;Bindings;OSX;Wrapper;Native</PackageTags>
|
24 | 25 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
25 | 26 | <PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
|
26 | 27 | <RepositoryUrl>https://github.com/dotnet/Silk.NET</RepositoryUrl>
|
27 | 28 | <RepositoryType>Git</RepositoryType>
|
28 |
| - <VersionPrefix>2.9.0</VersionPrefix> |
| 29 | + <VersionPrefix>2.10.0</VersionPrefix> |
29 | 30 | <VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
|
30 | 31 | <Description Condition="'$(Description)' == ''">
|
31 | 32 | Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX.
|
32 | 33 | </Description>
|
33 | 34 | </PropertyGroup>
|
34 | 35 | <!-- SourceLink -->
|
35 |
| - <PropertyGroup Condition="'$(SilkEnableSourceLink)' != '' And '$(SilkSourceLinkExempt)' == ''"> |
36 |
| - <PublishRepositoryUrl>true</PublishRepositoryUrl> |
37 |
| - <EmbedUntrackedSources>true</EmbedUntrackedSources> |
38 |
| - <IncludeSymbols>true</IncludeSymbols> |
39 |
| - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
40 |
| - <IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation> |
41 |
| - <Deterministic>true</Deterministic> |
| 36 | + <PropertyGroup Condition="'$(SilkSourceLinkExempt)' == ''"> |
| 37 | + <DebugType>portable</DebugType> |
42 | 38 | </PropertyGroup>
|
43 |
| - <ItemGroup Condition="'$(SilkEnableSourceLink)' != '' And '$(SilkSourceLinkExempt)' == ''"> |
44 |
| - <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/> |
| 39 | + <ItemGroup Condition="'$(SilkSourceLinkExempt)' == ''"> |
| 40 | + <PackageReference Include="DotNet.ReproducibleBuilds" Version="0.1.66" PrivateAssets="All"/> |
| 41 | + <PackageReference Include="DotNet.ReproducibleBuilds.Isolated" Version="0.1.66" PrivateAssets="All"/> |
45 | 42 | </ItemGroup>
|
46 |
| - <PropertyGroup Condition="'$(SilkSourceLinkExempt)' != ''"> |
47 |
| - <IncludeSymbols>false</IncludeSymbols> |
48 |
| - <SymbolPackageFormat></SymbolPackageFormat> |
49 |
| - </PropertyGroup> |
| 43 | + <!-- Nuget Icon - done as a target so it doesn't appear in the IDE --> |
| 44 | + <Target Name="SilkAddIcon" Condition="'$(SilkIconExempt)' == ''"> |
| 45 | + <ItemGroup> |
| 46 | + <None Include="$(MSBuildThisFileDirectory)../../documentation/readme/silkdotnet_v3.png" |
| 47 | + Pack="true" |
| 48 | + PackagePath="\" /> |
| 49 | + </ItemGroup> |
| 50 | + <PropertyGroup> |
| 51 | + <PackageIcon>silkdotnet_v3.png</PackageIcon> |
| 52 | + </PropertyGroup> |
| 53 | + </Target> |
| 54 | + <!-- NuGet README --> |
| 55 | + <Target Name="SilkGenerateNuGetReadme" Condition="'$(SilkReadmeExempt)' == ''"> |
| 56 | + <PropertyGroup> |
| 57 | + <SilkReadme>$([System.IO.File]::ReadAllText("$(MSBuildThisFileDirectory)../../README.md"))</SilkReadme> |
| 58 | + <SilkReadme>$([System.String]::Copy($(SilkReadme)) |
| 59 | + .Replace('<!-- Begin exclude from NuGet readme. -->','<!--') |
| 60 | + .Replace('<!-- End exclude from NuGet readme. -->','-->') |
| 61 | + .Replace('<!-- Begin include in NuGet readme.','') |
| 62 | + .Replace('End include in NuGet readme. -->','') |
| 63 | + .Replace('<h1 align="center">', '# ') |
| 64 | + .Replace('<h2 align="center">', '# ') |
| 65 | + .Replace('</h1>', '').Replace('</h2>', '') |
| 66 | + .Replace('<br />', '%0a%0a').Replace('<br/>', '%0a%0a') |
| 67 | + .Replace('<div>', '').Replace('</div>', '') |
| 68 | + .Replace('<a>', '').Replace('</a>', '')) |
| 69 | + </SilkReadme> |
| 70 | + <SilkReadmePath>$(IntermediateOutputPath)README.md</SilkReadmePath> |
| 71 | + </PropertyGroup> |
| 72 | + <PropertyGroup Condition="'$(SilkDescription)' != ''"> |
| 73 | + <Description>$(SilkDescription) $(Description)</Description> |
| 74 | + <SilkExtendedDescription>$(SilkDescription) $(SilkExtendedDescription)%0a%0a</SilkExtendedDescription> |
| 75 | + <SilkReadme>$([System.String]::Copy($(SilkReadme)) |
| 76 | + .Replace('<!-- Package description inserted here automatically. -->', |
| 77 | + '# About This Package%0a%0a$(SilkExtendedDescription)')) |
| 78 | + </SilkReadme> |
| 79 | + </PropertyGroup> |
| 80 | + <ItemGroup> |
| 81 | + <SilkReadmeLines Include="$(SilkReadme)" /> |
| 82 | + <SilkReadmeGenerated Include="$(SilkReadmePath)" /> |
| 83 | + </ItemGroup> |
| 84 | + <WriteLinesToFile File="@(SilkReadmeGenerated)" |
| 85 | + Lines="@(SilkReadmeLines)" |
| 86 | + Overwrite="true" |
| 87 | + Encoding="UTF-8" /> |
| 88 | + <PropertyGroup> |
| 89 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 90 | + </PropertyGroup> |
| 91 | + <ItemGroup> |
| 92 | + <None Include="$(SilkReadmePath)" Pack="true" PackagePath="\" /> |
| 93 | + </ItemGroup> |
| 94 | + </Target> |
50 | 95 | </Project>
|
0 commit comments