This package installs MSBuild support for HLSL compilation in C# and VB projects.
Please reload your project or restart Visual Studio for the new shader Build Actions to
appear in the properties window.
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
- 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.
Install-Package Microsoft.HLSL.CSharpVB -Version 1.0.1
dotnet add package Microsoft.HLSL.CSharpVB --version 1.0.1
<PackageReference Include="Microsoft.HLSL.CSharpVB" Version="1.0.1" />
paket add Microsoft.HLSL.CSharpVB --version 1.0.1
This package has no dependencies.