473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Run exe under Framework 1.1

I have just installed version 1.1 of the framework. I
wrote a simple exe that displays the framework version
using System.Environment.Version.ToString. It returned
1.0.3705.288, which is version 1.0. I then created a
config file for it with the following, trying
requiredRuntime and supportedRuntime:

<configuration>
<startup>
<requiredRuntime version="v1.1.4322" />
</startup>
</configuration>

When I run this it is still showing that it's using
version 1.0. What can I do to get the exe to recognize
version 1.1?
Jul 19 '05 #1
3 3312
Hi Johan

Rebuild it in VS.NET V2003.

V2002 only recognises framework V1.0
V2003 is designed to use framework V1.1

That's the way it is.

HTH

Charles
"johan" <jo**********@hotmail.com> wrote in message
news:2c****************************@phx.gbl...
I have just installed version 1.1 of the framework. I
wrote a simple exe that displays the framework version
using System.Environment.Version.ToString. It returned
1.0.3705.288, which is version 1.0. I then created a
config file for it with the following, trying
requiredRuntime and supportedRuntime:

<configuration>
<startup>
<requiredRuntime version="v1.1.4322" />
</startup>
</configuration>

When I run this it is still showing that it's using
version 1.0. What can I do to get the exe to recognize
version 1.1?

Jul 19 '05 #2
Try this, which works for me on an app built with the 1.0 framework:

<?xml version ="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" />
</startup>
</configuration>

--
Phil Wilson [MVP Windows Installer]
----
"johan" <jo**********@hotmail.com> wrote in message
news:2c****************************@phx.gbl...
I have just installed version 1.1 of the framework. I
wrote a simple exe that displays the framework version
using System.Environment.Version.ToString. It returned
1.0.3705.288, which is version 1.0. I then created a
config file for it with the following, trying
requiredRuntime and supportedRuntime:

<configuration>
<startup>
<requiredRuntime version="v1.1.4322" />
</startup>
</configuration>

When I run this it is still showing that it's using
version 1.0. What can I do to get the exe to recognize
version 1.1?

Jul 19 '05 #3
Make sure you have

<?xml version ="1.0"?>

as the first line in your config file. Otherwise, this *should* work. Try
giving your config file a ".xml" extension and see if IE can display it.
It's easy to have some syntax errors in your XML and IE is a great way to
find them.

Tim
--------------------
| Content-Class: urn:content-classes:message
| From: "johan" <jo**********@hotmail.com>
| Sender: "johan" <jo**********@hotmail.com>
| Subject: Run exe under Framework 1.1
| Date: Fri, 5 Sep 2003 08:04:29 -0700
| Lines: 16
| Message-ID: <2c****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNzvwF8sJ8zCI9UQnKeiicizNaAGQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107430
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I have just installed version 1.1 of the framework. I
| wrote a simple exe that displays the framework version
| using System.Environment.Version.ToString. It returned
| 1.0.3705.288, which is version 1.0. I then created a
| config file for it with the following, trying
| requiredRuntime and supportedRuntime:
|
| <configuration>
| <startup>
| <requiredRuntime version="v1.1.4322" />
| </startup>
| </configuration>
|
| When I run this it is still showing that it's using
| version 1.0. What can I do to get the exe to recognize
| version 1.1?
|

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
8
by: Blasting Cap | last post by:
I'm using VS 2005, and have a dll in some code (system.core.dll) that was included in something someone sent me to run on my system. I have production on a server using Framework 2.0 that I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.