SaschaWillems / SPIRV-VSExtension

SPIR-V extension for Visual Studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Visual Studio 2022

kyamant opened this issue · comments

VS 2022 is the current version of Visual Studio and would like to be able to use SPIRV-VSExtension on it.

BUMP this. Tried compiling the extension myself and I get this error:

1>CSC : error CS1747: Cannot embed interop types from assembly 'Microsoft.VisualStudio.Shell.Interop.11.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing the 'System.Runtime.InteropServices.GuidAttribute' attribute.
1>CSC : error CS1759: Cannot embed interop types from assembly 'Microsoft.VisualStudio.Shell.Interop.11.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing either the 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' attribute or the 'System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute' attribute.
1>CSC : error CS1747: Cannot embed interop types from assembly 'Microsoft.VisualStudio.Shell.Interop.12.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing the 'System.Runtime.InteropServices.GuidAttribute' attribute.
1>CSC : error CS1759: Cannot embed interop types from assembly 'Microsoft.VisualStudio.Shell.Interop.12.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it is missing either the 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' attribute or the 'System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute' attribute.

You can find a working version in this branch: https://github.com/SaschaWillems/SPIRV-VSExtension/tree/vs2022

It's not 100% perfect yet (compiler warnings), but works fine on VS2022. It also adds support for compiling using DXC.

Not provided in the online extension manager for VS2022. Source does not compile:

1>C:\Users\Alex\.nuget\packages\microsoft.vssdk.buildtools\17.5.4072\tools\VSSDK\Microsoft.VsSDK.targets(911,5): error VSSDK1031: Extension 'SPIRV-VSExtension.Sascha Willems.5d468aca-a2f8-4bdb-8494-3321c9335623' could not be found. Please make sure the extension has been installed.

Not provided in the online extension manager for VS2022.

I'll provide a version once it fully works for VS2022.

Source does not compile:

I'll take look. It compiles fine for me, but updating extensions is always tricky and comes with a lot of pitfalls.