Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Support for Visual studio 2022? #90

Open
tkaczz opened this issue Nov 18, 2021 · 3 comments
Open

Support for Visual studio 2022? #90

tkaczz opened this issue Nov 18, 2021 · 3 comments

Comments

@tkaczz
Copy link

tkaczz commented Nov 18, 2021

Is it possible to use analyzers with visual studio 2022?

@tkaczz
Copy link
Author

tkaczz commented Nov 22, 2021

Looks like adding InstallationTarget's as described here https://docs.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension?view=vs-2022

   <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,17.0)">
      <ProductArchitecture>x86</ProductArchitecture>
   </InstallationTarget>
   <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)">
      <ProductArchitecture>amd64</ProductArchitecture>
   </InstallationTarget>

to manifest and changing code a bit, to be compatible with c# 7.3...
tkaczz@7486c94#diff-beb540fdb30200f7b46ee020fbec0614960cdd0ad21ddb5fb3b4691ba619edc1

...produces working vsix package compatible with vs2022.

@hcorion
Copy link

hcorion commented Nov 22, 2021

Can we get this change into a pull request @tkaczz ?

@tkaczz
Copy link
Author

tkaczz commented Nov 22, 2021

@hcorion done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants