Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Visual Studio 2022 #8

Open
kyamant opened this issue May 22, 2022 · 5 comments · May be fixed by #11
Open

Support for Visual Studio 2022 #8

kyamant opened this issue May 22, 2022 · 5 comments · May be fixed by #11

Comments

@kyamant
Copy link

kyamant commented May 22, 2022

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

@Yaazarai
Copy link

Yaazarai commented Oct 1, 2022

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.

@SaschaWillems
Copy link
Owner

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.

@Yaazarai
Copy link

Yaazarai commented Apr 6, 2023

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.

@SaschaWillems
Copy link
Owner

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.

@Yaazarai
Copy link

Any update on this issue?

@SaschaWillems SaschaWillems linked a pull request Aug 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants