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.
$ dotnet add package Microsoft.HLSL.CSharpVBNo README available.