Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Testing Frameworks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon Berry - 26 Jul 2006 18:06 GMT
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
Eric Cadwell - 26 Jul 2006 18:53 GMT
It's in the config file.
http://www.gotdotnet.com/team/changeinfo/

-Eric
Michael Nemtsev - 26 Jul 2006 19:05 GMT
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
Jon Berry - 26 Jul 2006 22:00 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.