nunit-vs-templates icon indicating copy to clipboard operation
nunit-vs-templates copied to clipboard

Unable to add UWP Test project template in VS 2017

Open HappyTreesDev opened this issue 7 years ago • 9 comments

I am attempting to add NUnit 3 Test Project (Universal Windows) to my solution and I am getting an error every time I try.

I get the error "Unable to copy the file 'project.json' from the project template to the project. Cannot find file "C:\Users\XXXX\AppData\Local\Temp\XXXX\Temp\project.json"

HappyTreesDev avatar Oct 25 '17 20:10 HappyTreesDev

The UWP test project hasn't been updated in awhile. Are you using VS2017? I am not sure it still works there.

rprouse avatar Oct 26 '17 19:10 rprouse

Yes I am using VS 2017. I decided to use a UWP test project built upon MSTest for now.

HappyTreesDev avatar Oct 26 '17 21:10 HappyTreesDev

I'm fairly sure this worked in the original version of VS 2017 - I wonder if something's changed with the move to dotnet new.

This project's becoming hard to keep up with. 😞 I'm starting to wonder if we should revert the current project to max VS 2015, and do something new with VS 2017. My only reason for not doing that - is that I use this in VS 2017 every day!

ChrisMaddock avatar Oct 26 '17 23:10 ChrisMaddock

I've actually stopped using this in 2017. Whenever I use the snippet in .NET Core projects, it gives me errors about the using statements :(

I really want to see NUnit project templates in VS to compete with the MSTest and xUnit templates that are shipped with VS, but it would be nice if we knew what format we should be using to maintain compatibility going forward.

rprouse avatar Oct 27 '17 00:10 rprouse

is the issue fixed?

sunchunqiang avatar Sep 14 '18 07:09 sunchunqiang

@sunchunqiang no, if the issue was fixed, it would be closed.

rprouse avatar Sep 17 '18 15:09 rprouse

Are you still investigating this issue or will this just not be fixed? Is there a workaround?

michaelkollmann avatar Sep 24 '18 10:09 michaelkollmann

@michaelkollmann - this project is looked after by a small team of volunteers, who are stretched thinly. We’d welcome a pull request to fix this issue.

ChrisMaddock avatar Sep 24 '18 16:09 ChrisMaddock

Any update on this ? I can still see that the issue exists. 2 years and still stretched out ? I wish i had all the skills to do this myself.

bee-s avatar May 14 '19 12:05 bee-s