You can not force VS2005 to compile your assembly using the framework v1.1.
However, assuming that your assembly CAN run in .NET v1.1 (if compiled with
VS2003), then you can do this.
1. Complie your code in VS2005
2. In your app.config file, use the <supportedRuntimetag to force your
app to run in .NET v1.1
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="2.0.50727"/>
</startup>
</configuration>
That will force your assembly to run under v1.1. If that is not installed,
it will run under v2.0. I've only tried this once or twice before, but it
should work.
"jtertin" wrote:
Can you force VS 2005 to compile a program to be compatible with
version 1.x of the .NET Framework? HOW!?