SPIRV-VSExtension icon indicating copy to clipboard operation
SPIRV-VSExtension copied to clipboard

Support for Visual Studio 2022

Open kyamant opened this issue 2 years ago • 5 comments

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

kyamant avatar May 22 '22 18:05 kyamant

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.

Yaazarai avatar Oct 01 '22 23:10 Yaazarai

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.

SaschaWillems avatar Mar 31 '23 07:03 SaschaWillems

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.

Yaazarai avatar Apr 06 '23 08:04 Yaazarai

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.

SaschaWillems avatar Apr 06 '23 16:04 SaschaWillems

Any update on this issue?

Yaazarai avatar Sep 12 '23 08:09 Yaazarai