nunit / nunit-vs-testgenerator

A Visual Studio extension for generating unit tests and IntelliTests using NUnit
https://visualstudiogallery.msdn.microsoft.com/bd30bf3f-4183-4b00-a245-1875316b8cd3
MIT License
35 stars 23 forks source link

Updating for Visual Studio 2022 #46

Closed rprouse closed 1 year ago

rprouse commented 1 year ago

Continuing work on #43 properly updating the references and updating to the newer framework and adapter releases. Still needs testing. We may need to release a new version just for 2022 now that it is x64?

rprouse commented 1 year ago

TODO, follow https://learn.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension?view=vs-2022

OsirisTerje commented 1 year ago

As written in the link you point to, we can create two installation targets for this extension so that it continues to work for VS2017/19. I believe that VS2017/19 will complain if we release this for VS2022 - they might say it can be updated since it is already installed, although it will not work since this new one will be for x64. So if we continue backward compatibility with 2017/19 we should have two installation targets. Not sure how that will affect the other changes though.

UPDATE: Just noticed you had given the extension a new identifier, so then it will not crash. That is probably for the best, but means we don't expect any support to the older ones.

OsirisTerje commented 1 year ago

@rprouse

  1. Another thing, not sure if we should continue the support of NUnit 2 ?
  2. You mention needing more testing - what is needed, or what is, or not, been tested?
  3. We need to update the readme
rprouse commented 1 year ago
rprouse commented 1 year ago

@OsirisTerje I am going to merge this and remove NUnit2 in another PR to keep them separate.