C# keyword identification ++

Topics: User Forum
Mar 25, 2008 at 11:12 AM
Edited Mar 25, 2008 at 1:30 PM
2 things:
Since renaming the file to .nunit, you loose all of the keyword recognition / intellisense that one gets with a file that is a recognised C# file (.cs) - is there a way in VS to get the same behaviour for Nunit file extensions as C#?

When I try and run the test (which runs fine from Nunit Gui), it complains that it cannot find the Fixture of type...
(I have a feeling this has something to do with the first point)

I have VS 2008 Prof, and the Tests are showing up fine in the test view

PS: I thought I might have misread the "how-to", and renamed all my tests back to .cs extensions, and then added a blank test.nunit file - but then I don't see the tests in the testView.

EDIT: By hook or crook (renaming files / restarting Visual Studio x 5 etc.) it seems to be working. (with empty .nunit file)
further info: I have resharper 3.1 installed & another MSTest project in the same solution.
They all seem to be running the unit tests now :)
Mar 30, 2008 at 3:01 PM
glad that it worked for you :)