tgjones / HlslTools

A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
http://timjones.io/blog/archive/2016/04/25/hlsl-tools-for-visual-studio-v1.0-released
Other
562 stars 97 forks source link

Building from source in visual studio fails #138

Closed mrvux closed 5 years ago

mrvux commented 5 years ago

Since I posted that issue in Gitter, it makes sense to post it here.

Happens from a fresh clone, Visual Studio (2017 community here) fails to load SyntaxGenerator, as it cant load netstandard 2.0 assemblies

tgjones commented 5 years ago

As a temporary workaround until I can find something better, it looks like you need to:

tgjones commented 5 years ago

It's not great, but I've found that if I open Task Manager and close all instances of MSBuild.exe, then I can build the solution successfully in both VS2017 and VS2019.

Curiously, though, I haven't seen any errors about netstandard2.0 assemblies. Let me know if you still get this.