473,804 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Target 1.1 framework

I'm pretty sure I've seen this question before, but can't seem to find it
again ---

I've got a project that I'm working on that I'm not going to be able to
migrate to the V2 framework for a little while.so I'm forced to work in
VS2003. I would MUCH rather work in VS2005 and simply target the V1.1
framework --- is there an easy way to do this? If it's a setting someplace,
is it project specific? I have other projects in V2 that I don't want to
screw up.
Jul 25 '07 #1
8 1584
"Matt F" <mf************ ****@nospam.nos pamwrote in message
news:O4******** ******@TK2MSFTN GP04.phx.gbl...
I'm pretty sure I've seen this question before, but can't seem to find it
again ---

I've got a project that I'm working on that I'm not going to be able to
migrate to the V2 framework for a little while.so I'm forced to work in
VS2003. I would MUCH rather work in VS2005 and simply target the V1.1
framework --- is there an easy way to do this? If it's a setting
someplace, is it project specific? I have other projects in V2 that I
don't want to screw up.
Have a look at this:

http://www.codeplex.com/Wiki/View.as...jectName=MSBee

I don't know if it will suit your needs, but there is no internal VS2005
setting.
Jul 25 '07 #2
Hi Matt,

The following blog introduces how to build managed applications using
Visual Studio 2005 that target .NET 1.1 step by step:

http://blogs.msdn.com/yaleeyangmsblo...-managed-appli
cations-using-visual-studio-2005-that-target-net-1-1.aspx

Hope this helps.
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 26 '07 #3
As long as you do not touch on 2.0 features, you can set up a build script
(can be batch file or MSBee file, as mentioned in Linda's post) for 1.1. If
you touch one 2.0 feature, you are toast.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

*************** *************** *************** ***
Think outside the box!
*************** *************** *************** ***
"Matt F" <mf************ ****@nospam.nos pamwrote in message
news:O4******** ******@TK2MSFTN GP04.phx.gbl...
I'm pretty sure I've seen this question before, but can't seem to find it
again ---

I've got a project that I'm working on that I'm not going to be able to
migrate to the V2 framework for a little while.so I'm forced to work in
VS2003. I would MUCH rather work in VS2005 and simply target the V1.1
framework --- is there an easy way to do this? If it's a setting
someplace, is it project specific? I have other projects in V2 that I
don't want to screw up.

Jul 27 '07 #4
I started getting MSBee set up thought something. I have a concern with
this --- since a command line build is required to generate the assemblies
and there is no IDE support -- I would have to have IIS on my machine
(asp.net app) configured to use V2 of the framework for debugging. I'd be
concerned that I'd get a bunch of work done, get ready to deploy, build with
MSBee and only then find out that I'm unable to build targetting the old
framework.

Any thoughts or suggestions about this?
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
As long as you do not touch on 2.0 features, you can set up a build script
(can be batch file or MSBee file, as mentioned in Linda's post) for 1.1.
If you touch one 2.0 feature, you are toast.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

*************** *************** *************** ***
Think outside the box!
*************** *************** *************** ***
"Matt F" <mf************ ****@nospam.nos pamwrote in message
news:O4******** ******@TK2MSFTN GP04.phx.gbl...
>I'm pretty sure I've seen this question before, but can't seem to find it
again ---

I've got a project that I'm working on that I'm not going to be able to
migrate to the V2 framework for a little while.so I'm forced to work in
VS2003. I would MUCH rather work in VS2005 and simply target the V1.1
framework --- is there an easy way to do this? If it's a setting
someplace, is it project specific? I have other projects in V2 that I
don't want to screw up.


Jul 28 '07 #5
Hi Matt,

Thank you for your feedback!
I would have to have IIS on my machine (asp.net app) configured to use V2
of the framework for debugging

What kind of the application you're going to build, a WinForm application
or a Web application?
I'd be concerned that I'd get a bunch of work done, get ready to deploy,
build with MSBee and only then find out that I'm unable to build targetting
the old framework.

If the application is developed by VB.NET, you should use the
MSBuildExtras.F X1_1.VisualBasi c.targets in the project file, i.e. insert
the following line after the "<Import
Project="$(MSBu ildBinPath)\Mic rosoft.VisualBa sic.targets" />":

<Import
Project="$(MSBu ildExtensionsPa th)\MSBee\MSBui ldExtras.Fx1_1. VisualBasic.tar g
ets" Condition=" '$(BuildingInsi deVisualStudio) ' == '' AND
'$(TargetFX1_1) '=='true'" />

In addition, the project couldn't contain any keyword or namespace that is
introduced by .NET 2.0 and doesn't exist in .NET 1.x.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Jul 30 '07 #6
Linda,

I'm taking maintenance of a c# web application from another. If I
understand correctly, if I follow the steps below, if I attempt to use a
class that is new in V2 and compile I will get a warning and/or error?

"Linda Liu [MSFT]" <v-****@online.mic rosoft.comwrote in message
news:DR******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Matt,

Thank you for your feedback!
>I would have to have IIS on my machine (asp.net app) configured to use V2
of the framework for debugging

What kind of the application you're going to build, a WinForm application
or a Web application?
> I'd be concerned that I'd get a bunch of work done, get ready to deploy,
build with MSBee and only then find out that I'm unable to build
targetting
the old framework.

If the application is developed by VB.NET, you should use the
MSBuildExtras.F X1_1.VisualBasi c.targets in the project file, i.e. insert
the following line after the "<Import
Project="$(MSBu ildBinPath)\Mic rosoft.VisualBa sic.targets" />":

<Import
Project="$(MSBu ildExtensionsPa th)\MSBee\MSBui ldExtras.Fx1_1. VisualBasic.tar g
ets" Condition=" '$(BuildingInsi deVisualStudio) ' == '' AND
'$(TargetFX1_1) '=='true'" />

In addition, the project couldn't contain any keyword or namespace that is
introduced by .NET 2.0 and doesn't exist in .NET 1.x.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support\

Jul 31 '07 #7
Hi Matt,

Thank you for your reply.
if I attempt to use a class that is new in V2 and compile I will get a
warning and/or error?

Yes, you should ensure that the project doesn't contain any keywords or
class that is new in .NET 2.0; otherwise, you will get an error.

Sincerely,
Linda Liu
Microsoft Online Community Support

Jul 31 '07 #8
Thanks - sorry for being so particular about this one. The project is
currently in VS2003 and I want to convert to VS2005 --- as you know this is
a one way conversion - I don't want to convert the regret it and realize I
can't go back.

I'll of course back everything up, make the conversion, do a bunch of
testing etc then start working with the project in VS2005 ---- as always,
thanks for your help.

"Linda Liu [MSFT]" <v-****@online.mic rosoft.comwrote in message
news:3c******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Matt,

Thank you for your reply.
>if I attempt to use a class that is new in V2 and compile I will get a
warning and/or error?

Yes, you should ensure that the project doesn't contain any keywords or
class that is new in .NET 2.0; otherwise, you will get an error.

Sincerely,
Linda Liu
Microsoft Online Community Support

Jul 31 '07 #9

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

Similar topics

2
1329
by: Scott Moore | last post by:
I am considering targeting .net with my existing compiler. I am new to both jvm and .net targets. I have no preference. This is not designed to start an argument, I would just like the information. I may decide to use either one, or both. Heres the question: With jvm it is very clear what I get for the effort of targeting the jvm for my compiler output. You can run jvm programs off a web page, and even if you don't use that mode,...
6
1865
by: Plumer | last post by:
Good morning everyone, I am having difficulty distributing a Release version of an application. System info C# DOTNET, MDE 2002, Version 7.0.9466 .Net Framework, version 1.0.3705 My Desktop Operating system (as reported by Control Panel.System) is: Windows XP, Version 2002
22
2180
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading to me: "The search for an easy, productive, and very powerful programming language led to the birth of Visual C#. Visual C# incorporates the best features of Visual C++ and Visual Basic. Visual C# enables you to
3
1675
by: LordHog | last post by:
Hello, I am wondering if there is a way to target the .NET v1.1 framework under Visual C# Express Beta 2? The application is a console application so no Winforms is needed. Thanks Mark
5
4292
by: Mike | last post by:
Is it possible to specify the target framework version in the Web.Config file? I'm planning on installing the Whidbey Beta2 framework soon and want to explicitly make sure I'm pointing to the 2003 framework for some existing web applications. Thanks, Mike
2
2899
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the assembly DLL as command argument. It all works as expected. To make RegAsm available I installed it from the framework bin directory to the componentes application folder on the target machine. An custom action can only refer executables in application...
4
1566
by: David Veeneman | last post by:
Will Orcas target Windows XP (using .NET 3.0) when using WPF, or will it only target Vista? I'm getting ready to start a project on which I'd like to use WPF, but I'm going to have to target both XP and Vista computers. Thanks David Veeneman Foresight Systems
2
7621
by: John | last post by:
Hi there, I've started off a new web site project in VS 2008 and inadvertently left the target framework as 3.5, when I really meant to base it 2.0. I've looked at the project properties page and changed the Build / Target Framework to 2.0 but I notice that References (also in web.config) still have 3.5 references such as LINQ. Can you change a project target framework half way through or can it only be
5
1822
by: zacks | last post by:
I am working on an application in VS2008. I have set the target framework to 2.0. I distributed the app to a coworker in MSI format. When he tried to install it, he was told that he needed to install the 3.5 framework. I am wondering, when I created the project, I didn't even notice the dropdown in the create project dialog to select the target framework, so it was initially created with 3.5 as the target framework. But I went into the...
1
10354
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
10097
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
7642
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
6867
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
5535
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
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
3835
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.