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.

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 1567
"Matt F" <mf****************@nospam.nospamwrote in message
news:O4**************@TK2MSFTNGP04.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.nospamwrote in message
news:O4**************@TK2MSFTNGP04.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.netNoSpamMwrote in
message news:%2****************@TK2MSFTNGP03.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.nospamwrote in message
news:O4**************@TK2MSFTNGP04.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.FX1_1.VisualBasic.targets in the project file, i.e. insert
the following line after the "<Import
Project="$(MSBuildBinPath)\Microsoft.VisualBasic.t argets" />":

<Import
Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExt ras.Fx1_1.VisualBasic.targ
ets" Condition=" '$(BuildingInsideVisualStudio)' == '' 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.microsoft.comwrote in message
news:DR**************@TK2MSFTNGHUB02.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.FX1_1.VisualBasic.targets in the project file, i.e. insert
the following line after the "<Import
Project="$(MSBuildBinPath)\Microsoft.VisualBasic.t argets" />":

<Import
Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExt ras.Fx1_1.VisualBasic.targ
ets" Condition=" '$(BuildingInsideVisualStudio)' == '' 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.microsoft.comwrote in message
news:3c**************@TK2MSFTNGHUB02.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
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...
6
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...
22
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...
3
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
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...
2
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...
4
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...
2
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...
5
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...
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
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...
0
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...

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.