Skip to content

Running WebMatrix with a Whidbey Beta installed

Sat Mar 26 2005

I took a chance and installed a CTP of Whidbey on my laptop. Thing is, I still use WebMatrix from time to time for POC stuff for v1.x of asp.net.

Problem is, when you run the Cassini webserver from webmatrix, it picks up the latest version of the .netfx and will give you different errors based on which version is installed. To get around this and ensure that the WebServer.exe runs on version 1.1 of the .netfx, simply add a WebServer.exe.config file with the following contents:

<configuration>
	<startup>
		<requiredRuntime version="v1.1.4322"/>
	</startup>
</configuration>

If you want to ensure WebMatrix runs on version 1.1 of the .netfx, you can add the above startup element to WebMatrix.exe.config.

💾 May the source be with you. v3.2.1220