A few people mentioned that they had the following compiler error when trying to compile HttpSimulator:
HttpSimulator.cs(722,38): error CS0122: ’System.Web.Configuration.IConfigMapPath’ is inaccessible due to its protection level
Fortunately, we have our expert build problem solver, Simone Chiaretta, to look into it.
After a bit of snooping, he discovered that the reason that it builds on my machine is that I’m running Windows Vista with IIS 7.
The System.Web assembly on Vista is slightly newer than the one on Windows 2003/XP.
- VISTA: v2.0.50727.312
- Windows 2003/XP: v2.0.50727.210
So there you have it. Now you finally have a good reason to upgrade to Vista. HttpSimulator to the rescue! (Sorry, I know that punchline is getting old).
I’ll see if I can create a workaround for those of you (such as our build server) not running on Vista.