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

Get error message cannot find SetupFixture.cs when select template in VS2017 #38

Open
developersthinksmartbox opened this issue Aug 9, 2017 · 6 comments

Comments

@developersthinksmartbox
Copy link

I manually fixed it by moving the SetupFixture.cs from

C:\Users\XXXX\AppData\Local\Microsoft\VisualStudio\15.0_0adf1023\Extensions\ai1xcql0.uj3\Output\ItemTemplates\CSharp\Test\NUnit\NUnit Setup Fixture.csharp

to

C:\Users\XXXX\AppData\Local\Microsoft\VisualStudio\15.0_0adf1023\Extensions\ai1xcql0.uj3\Output\ItemTemplates\CSharp\Test\NUnit\NUnit Setup Fixture.csharp\Definitions

Applied the same fix to the other template.

@ChrisMaddock
Copy link
Member

Something's went wonky with the packaging for VS 2017. See #35 - if you add the SetUpFixture from the main 'Test' part of the menu tree, rather than expanding the tree - does it work?

@rprouse
Copy link
Member

rprouse commented Aug 22, 2017

I was told by the creator of SideWaffle which we use for the templates that they don't work properly for VS 2017 and they would not be updated because of a new way to add templates. It is likely related.

@ChrisMaddock
Copy link
Member

New method as in dotnet new? I thought there wasn't a VS gui for that yet?

@ChrisMaddock
Copy link
Member

Or is the suggestion that we create the files by hand instead?

@rprouse
Copy link
Member

rprouse commented Aug 22, 2017

@ChrisMaddock I am not sure. Notice that the SideWaffle site doesn't list 2017.

According to ligershark/side-waffle#400 (comment), there will be two versions of SideWaffle going forward, the 2017+ version using he new TemplateEngine that Microsoft is developing.

Full information is at ligershark/side-waffle#401

@ChrisMaddock
Copy link
Member

Thanks Rob. Those were the threads I was thinking of - looks like there's been some important updates in the last month though.

Guess there might be a bit more work to do here, to bring this up to VS 2017.

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

No branches or pull requests

3 participants