Experimental Feed

Configure your project

Right now, your project should look something like this:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Silk.NET" Version="1.4.0" />
  </ItemGroup>

</Project>

In order to use the experimental feed, you must change this project file slightly. Add the following line to your project:

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <!-- Add the experimental feed as a restore source -->
    <RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);https://dotnet.github.io/Silk.NET/nuget/experimental/index.json</RestoreAdditionalProjectSources>
  </PropertyGroup>

Install an experimental version

Now .NET has access to the experimental feed, it's time to install an experimental package. Check for the latest version on our GitLab Package Registry.

At the time of writing, the latest version is 2.0.0-build97.0. Now to install this package, you can use your IDE's built-in NuGet client, dotnet package add, or just modify the project file again like so:

  <ItemGroup>
    <PackageReference Include="Silk.NET" Version="2.0.0-build97.0" />
  </ItemGroup>

Now you have access to bleeding-edge experimental builds of Silk.NET. Have fun!


Khronos®, Vulkan® are registered trademarks, and OpenXR™ is a trademark of The Khronos Group Inc. and is registered as a trademark in China, the European Union, Japan and the United Kingdom. OpenCL™, OpenGL®, and the OpenGL ES™ logos are registered trademarks or trademarks used under license by Khronos. Microsoft® and DirectX® are registered trademarks of Microsoft Corporation, used solely for identification. All other product names, trademarks, and/or company names are also used solely for identification and belong to their respective owners. Use of external images, trademarks, and/or resources are not endorsements, and no information in or regarding any of these external resources has been endorsed or approved by Silk.NET or the .NET Foundation.

Powered by Statiq Framework