Recently I have been playing with Monorail the port of Ruby on Rails to C#/.NET
I needed to get Cassini to work with .NET 2
The initial version of Cassini that I have was built against
I added the following as CassiniWebServer.exe.config
<?xml version =”1.0″?>
<configuration>
<startup>
<requiredRuntime version=”v2.0.50727″/>
<supportedRuntime version=”v2.0.50727″/>
</startup>
</configuration>
This is all that was required.