HLSL compilation in C# and VB projects NuGet Package

This package installs MSBuild support for HLSL compilation in C# and VB projects.

Get started
Please reload your project or restart Visual Studio for the new shader Build Actions to
appear in the properties window.

Known Issues
After you change the Build Action to one of the shader types, you need to select another
file then select your file again (move focus away then move it back) for the HLSL properties
to appear.

Version 1.0.2
- Bug fix: Improved logic to locate fxc.exe with the Windows 10 SDK.

Version 1.0.1
- Bug fix: Persist user settings (through the property window) and use them in the build.

Prior to this fix we were always using default Shader Model 5.0, even if the user tried to set something in the property window.




Got any HLSL compilation in C# and VB projects Question?





Info

Version: 1.0.2
Author(s): Microsoft
Last Update: Thursday, December 5, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://aka.ms/HLSL.CSharpVB
NuGet Url: https://www.nuget.org/packages/Microsoft.HLSL.CSharpVB


Install
Install-Package Microsoft.HLSL.CSharpVB
dotnet add package Microsoft.HLSL.CSharpVB
paket add Microsoft.HLSL.CSharpVB
Microsoft.HLSL.CSharpVB Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

3

days-since-last-release

1813