473,395 Members | 1,823 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.

VS2005: Port project or recreate from ground up?

In C++, there is a compelling reason to recreate projects for the
VS2005 compiler rather than simply copy and recompile older code
(reason being C++/CLI syntax).

I'm wondering if there is any reason to do the same with C# code.
Does a newly created project have any differences in compiler switches
when compared to a ported VS2003 project?

Nov 17 '05 #1
3 1348
> In C++, there is a compelling reason to recreate projects for the
VS2005 compiler rather than simply copy and recompile older code
(reason being C++/CLI syntax).

I'm wondering if there is any reason to do the same with C# code.
Does a newly created project have any differences in compiler switches
when compared to a ported VS2003 project?

It depends, if you C++ was unmanaged only and have no support and uses MFC
extensively then recreating the project could be a wise choice, since the
..NET framework will reduce your code dramatically if you dump MFC.

For C#, VS 2002 and 2003 created it as .NET framework from the beginning,
there is no need to recreate the project since it is near identical. You
might want to remove self made code that is now part of the .NET framework,
like the serial port.
Nov 17 '05 #2
On Tue, 25 Oct 2005 12:28:39 +0200, "Olaf Baeyens"
<ol**********@skyscan.be> wrote:
I'm wondering if there is any reason to do the same with C# code.
Does a newly created project have any differences in compiler switches
when compared to a ported VS2003 project?
For C#, VS 2002 and 2003 created it as .NET framework from the beginning,
there is no need to recreate the project since it is near identical. You
might want to remove self made code that is now part of the .NET framework,
like the serial port.


Yes, I was talking about porting VS2003 projects to VS2005. I was
considering that dialogs are now split into two modules using partial
classes. That eliminates a lot of the "Compiler-generated, Don't
touch this" blocks within the code you're editing.

Of course if there is a tool that will convert the older format files,
that would be great. Some of my VS2003 dialogs are complex, and I'm
not looking forward to recreating them. I guess I could study the
newer output format and try to duplicate it, but that may be
time-consuming as well.

That kinda stuff...

Nov 17 '05 #3
On Wed, 26 Oct 2005 01:53:18 -0400, -DG- <-D**@nospam.com> wrote:
Re Chaning VS2003 dialogs, etc to VS2005 format:
I was talking about porting VS2003 projects to VS2005. I was
considering that dialogs are now split into two modules using partial
classes. That eliminates a lot of the "Compiler-generated, Don't
touch this" blocks within the code you're editing.

Of course if there is a tool that will convert the older format files,
that would be great. Some of my VS2003 dialogs are complex, and I'm
not looking forward to recreating them. I guess I could study the
newer output format and try to duplicate it, but that may be
time-consuming as well.


Just occurred to me...Does the porting tool for splitting dialogs
exist already?
Nov 17 '05 #4

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

Similar topics

3
by: Han | last post by:
Hi In debug mode, my asp.net page works under port: 13064 which is automatically set by the program. However when I browse to my asp.net page without the port number, error. How can I set the...
3
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or...
1
by: Cristian | last post by:
Hi I have some trouble (on only one developer computer) with the application settings functions... I have posted to the Microsoft.Public.vstudio.setup group but they couldn't help me and asked...
56
by: Rob Dob | last post by:
VS2005 is a PIECE of Garbage and is bug Ridden, I wonder how many others feel the same, I am so sorry that I have moved away from VS2003, VS2005 is unstable, and half the stuff doesn't work, ...
4
by: musosdev | last post by:
Hi peeps I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and I'm having a problem. I've setup a new website in IIS, enabled .net, fpse, etc. From VS2005, if I choose...
10
by: GaryDean | last post by:
A couple of weeks ago I reported a bug in vs2005 where it corrupted projects converted from vs2003 if a 2003 dataset were modified or recreated. Steven Cheng was able to recreate the bug. I ...
8
by: jacky kwok | last post by:
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want...
9
by: DrZogg | last post by:
It can't be... say it isn't so... Yes.. there is a fly in the ointment This bug requires 3 projects... yes this is a real world production issue not some tinker toy thing. Start with a C#...
4
by: Franky | last post by:
I have a cpp program that use to compile in C++6 but give a bunch of errors in VS2005 I'm wondering if I need to reference to some library. I'd appreciate any helpful suggestion Even if...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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.