473,487 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3313
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
2001
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
20622
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
2990
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
2062
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
3183
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
2233
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
3052
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
6597
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
6611
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
1891
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
7106
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
7137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
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
7349
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5442
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.