473,657 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile with different framework?

Hi

I have created an ASP.Net web app using Visual Studio 2002
and .Net framework V 1.0.

There is a bug fix I need in Framework V 1.1.

Do I have to recompile my application with Framework V 1.1
(if so do I need Visual Studio 2003 - if I don't how do I
tell it to re-compile with V 1.1 and not V 1.0).

If I don't have to re-compile is it enough to include
a 'config' file and force my application to use V 1.1 if I
have both versions of the framework installed on my server.

Regards
Russell Gibson
Jul 21 '05 #1
3 1995
You've sort of hit the nail on the head. VS2002 uses
framework 1.0 and VS2003 uses framework 1.1. If you
recompile the project in VS2003 then that will do the
trick.

However - I believe that once you open a project and
recompile it in VS2003 you won't be able to open it in
VS2002.

Hope this helps
Ben
-----Original Message-----
Hi

I have created an ASP.Net web app using Visual Studio 2002and .Net framework V 1.0.

There is a bug fix I need in Framework V 1.1.

Do I have to recompile my application with Framework V 1.1(if so do I need Visual Studio 2003 - if I don't how do Itell it to re-compile with V 1.1 and not V 1.0).

If I don't have to re-compile is it enough to include
a 'config' file and force my application to use V 1.1 if Ihave both versions of the framework installed on my server.
Regards
Russell Gibson
.

Jul 21 '05 #2
You'll have to recompile it. The problem is VS.Net 2002 doesn't work with
V1.1. I don't think it's worth buying the new version just so that you can
recompile it. Try recompiling it with the help of commandline tools or with
a freeware editor like #develop.

Yves

"Russell Gibson" <ru************ @btinternet.com > schreef in bericht
news:0d******** *************** *****@phx.gbl.. .
Hi

I have created an ASP.Net web app using Visual Studio 2002
and .Net framework V 1.0.

There is a bug fix I need in Framework V 1.1.

Do I have to recompile my application with Framework V 1.1
(if so do I need Visual Studio 2003 - if I don't how do I
tell it to re-compile with V 1.1 and not V 1.0).

If I don't have to re-compile is it enough to include
a 'config' file and force my application to use V 1.1 if I
have both versions of the framework installed on my server.

Regards
Russell Gibson

Jul 21 '05 #3
If you install V1.1 on the server, then your app will run with the v1.1
framework. This is assuming the bug is in the base class libraries. In
ASP.NET, only one version gets loaded so if you install v1.1 and make sure
it's registered (aspnet_regiis) then you should be set.
-mike
MVP

"Russell Gibson" <ru************ @btinternet.com > wrote in message
news:0d******** *************** *****@phx.gbl.. .
Hi

I have created an ASP.Net web app using Visual Studio 2002
and .Net framework V 1.0.

There is a bug fix I need in Framework V 1.1.

Do I have to recompile my application with Framework V 1.1
(if so do I need Visual Studio 2003 - if I don't how do I
tell it to re-compile with V 1.1 and not V 1.0).

If I don't have to re-compile is it enough to include
a 'config' file and force my application to use V 1.1 if I
have both versions of the framework installed on my server.

Regards
Russell Gibson

Jul 21 '05 #4

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

Similar topics

4
466
by: Vince | last post by:
I'm getting this message when I try and run a .net web app in the development system: CS0016: Could not write to output file 'c#:\windows nt\Microsoft..net framework\v1.1.4322\Temporary ASP.NET Files\ssrpttest\44d149b5\fdee4a07\c22wlbzl.dll' -- 'Access is denied. ' I just upgraded to visual studio .net 2003 and now none of my applications wil work!
5
3808
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace ) Person.xsd includes Common-Naming.xsd ( anonimous schemas ) Common-Naming.xsd includes common.xsd ( both are anonimous schemas ) Compilation of Resident.xsd raise the following exception: "System.Xml.Schema.XmlSchemaException: The attribute 'oid'...
6
2848
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked fine while the file was in the project directory. When the obsolete file was removed from the project directory, my application will no longer compile. Can someone please help with this issue? Thank in advance, Tom
2
1776
by: MB | last post by:
Hello! At home I am using ASP.net to develop an asp application. Now I have copied this application to my IIS5.0 server at my workplace. Everything works fine, but then I would do a change in a code behind file. I made the changes with notepad, but I can't get it to take affect. Not event restarting IIS solved it. How do I compile or refresh IIS so that my changes takes affect? I do not have VS.Net at my workplace. Where is the running...
14
1716
by: NRGeti | last post by:
I am learning ASP.NET using the book, "ASP.NET for Dummies". In the chapter introducing writing your own functions, I cannot get the example to run when I call it with LOCALHOST. It produces the IE cannot find page error because it doesn't know how to compile the function. I can execute .ASPX examples just fine using LOCALHOST. What else do I need to do set up on my PC to be able to compile these functions?
3
3089
by: | last post by:
I am trying to compile a simple c# class in Web Matrix called howdy.cs: // Program start class public class HowdyPartner { // Main begins program execution public static void Main() { // Write to console
3
241
by: Russell Gibson | last post by:
Hi I have created an ASP.Net web app using Visual Studio 2002 and .Net framework V 1.0. There is a bug fix I need in Framework V 1.1. Do I have to recompile my application with Framework V 1.1 (if so do I need Visual Studio 2003 - if I don't how do I tell it to re-compile with V 1.1 and not V 1.0).
1
1007
by: Andy Sutorius via DotNetMonster.com | last post by:
When I compile my VS2005 website I get this weird compile error. The line it points to a constructor for a class that is used throughout the website. Even more bizarre when I click on the underlined method (WebUser) VS2005 opens up a file called WebUser . Can you advise? The type 'ui.WebUser' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0. 50727\Temporary ASP.NET Files\ecuiunbound\5fbfce88\c1243b83\App_Code.bxnm9i3z. dll' and...
6
2652
by: Tom | last post by:
I am developing my pages on my development machine and then copying to the production server. I am not pre-compiling, I am using the 'dynamic compile' feature. This is working fine except that everytime I change a page on the production server I need to restart IIS to effect the change. If I don't restart IIS, it tries to recompile but gets and error ( 'cannot execute a program......vbc.exe......). Am I missing something which allows...
0
8420
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8842
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8516
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
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 we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.