Testing Frameworks

  • Thread starter Thread starter Jon Berry
  • Start date Start date
J

Jon Berry

I have both .NET Framework 1.1 and 2.0 installed on my machine.

I wrote an program that I'd like to test against both versions of the
Framework.

The program is a Windows Form executable that was written against .NET 1.1

How do I select the version of the Framework that the program uses when
launching?

Thanks,

Jon
 
Hello Jon,

You can use assemblyBinding key of the application config
Read more about it there http://msdn2.microsoft.com/en-us/library/7wd6ex19.aspx

JB> I have both .NET Framework 1.1 and 2.0 installed on my machine.
JB>
JB> I wrote an program that I'd like to test against both versions of
JB> the Framework.
JB>
JB> The program is a Windows Form executable that was written against
JB> .NET 1.1
JB>
JB> How do I select the version of the Framework that the program uses
JB> when launching?
JB>
JB> Thanks,
JB>
JB> Jon
JB>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Thanks for the reply, guys.

I looked at the app config stuff briefly.

Let's say I do nothing, and don't include a config file.

Will my app run if the user *only* has .NET framework 2.0 installed
even if it was compiled against 1.1?

Is it absoluetly necessary to include a config file to ensure
the app will try to run on .NET 2.0?

Of course, I'm assuming there aren't any compatiblity issues
with my program.

Jon
 
Back
Top