Saqib Ullah

BootStrapper Know How

  Home  |   Contact  |   Syndication    |   Login
  93 Posts | 1 Stories | 336 Comments | 15 Trackbacks

News



Article Categories

Archives

Post Categories

Blogging websites

Favourite Blogs

Private Links

Sites

Suppose you have an application that developed on the .Net Framework 1.1 and it’s deployed in the shared environment where .Net Framework 1.1 and 2.o both are installed and you need to run your application on .Net framework 1.1.
 
Solution
Microsoft gives a very simple solution of this problem. You only need to write the following setting in the app.config file.
<configuration>
 <startup>
      <!--set the appropriate .net version-->
      <supportRuntime version="1.1.4322"/>
 </startup>
</configuration>
 
What is your application CLR version?
Programmatically finding the CLR version for your application on which its run is very easy.
Console.WriteLine(Assembly.GetExecutingAssembly().ImageRuntimeVersion);
 
Here I found a good code snippet that find the assembly CLR version.
posted on Friday, June 01, 2007 10:03 AM

Feedback

# re: Set and Find Application CLR Version 6/2/2007 9:45 PM asim
both snippets are useful and following is the link
http://www.cookcomputing.com/blog/archives/000526.html

# Links (6/4/2007) 6/4/2007 2:10 PM Member Blogs
.NET Extending the Notification Pattern Example Windows PowerShell Graphical Help File - via Mike Gunderloy

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: