|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Setting required framework versionHello everyone,
I'm experimenting running side by side fw versions on a test box. One thing i do not understand is how it is determined the version to use when running an app. I wrote a very small proggy that just displays the version of the framework it is run by. If i use vs2003 (with fw1.1) it displays 1.1.4322 which is correct, but HOW does it determine the version to use? Is there a way to force the version used? How? Thanx in advance Paolo Hello QDL,
Check the registry http://laflour.spaces.live.com/blog/cns!7575E2FFC19135B4!393.entry --- WBR, Michael Nemtsev [.NET/C# MVP]. My blog: http://spaces.live.com/laflour Team blog: http://devkids.blogspot.com/ "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo Q> Hello everyone, Q> Q> I'm experimenting running side by side fw versions on a test box. One Q> thing i do not understand is how it is determined the version to use Q> when running an app. I wrote a very small proggy that just displays Q> the version of the framework it is run by. If i use vs2003 (with Q> fw1.1) it displays 1.1.4322 which is correct, but HOW does it Q> determine the version to use? Is there a way to force the version Q> used? How? Q> Q> Thanx in advance Q> Paolo Hello QDL,
To determine which version to use, you must : - create a new configuration file (add new element -> configuration file) is VS.NET. - Add in the xml file <startup> <supportedRuntime version="v1.1.4322" /> </startup> So your configuration file will look like: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v1.1.4322" /> </startup> </configuration> If the .net v 1.1.4322 is not available, it will try another version. Regards. G. To determine whitch version to use, QDL a écrit : Show quote > Hello everyone, > > I'm experimenting running side by side fw versions on a test box. One thing > i do not understand is how it is determined the version to use when running > an app. I wrote a very small proggy that just displays the version of the > framework it is run by. If i use vs2003 (with fw1.1) it displays 1.1.4322 > which is correct, but HOW does it determine the version to use? Is there a > way to force the version used? How? > > Thanx in advance > Paolo > > |
|||||||||||||||||||||||