Problem: Trying to reference a .NET 2.0 web service project from my VS unit testing project.
Right click on the References folder in the unit test project -> Add Reference. The .NET 2.0 web service is NOT listed in the listbox of projects available to reference.
I know this usecase is possible; I have previously successfully referenced (in other solutions) a .NET 3.5 web service from a .NET 3.5 unit testing project.
The idea is to unit test all the public methods found in the classes alongside my .asmx. I have abstracted away all business logic away from the .asmx file itself into .cs files in a subdirectory in the web service project. So the idea here is to test the classes that perform the business logic, the web service itself (handling an HTTP request).
Configuration:
- Visual Studio 2008
- VS Unit testing project at .NET 3.5 compatibility
- Web service project at .NET 2.0 compatibility
- Solution file at version 9.
Question: Any ideas why Visual Studio 2008 won't let me reference a .NET 2.0 web serivce from a .NET 3.5 unit testing project?