473,396 Members | 2,004 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,396 software developers and data experts.

Want to convert VS2003 project format to VS2005 format

I have a vs2003 project (actually 44 of them) that I want to convert to
VS2005 format.

To fix a usercontrol file I created the Designer.vb file and moved the
Inherited and Class ( change to partial class) lines to it so it started
with:

<Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated()_

Partial Class UserControl1

Inherits System.Windows.Forms.UserControl

Also moved all the entire"

'Required by the Windows Form Designer" code to it except for the New
method.

But when I open VS2005 the designer.vb file shows but not under the .vb file
node.

I think it was found in the folder but not recognized as related to the .vb
file.

Is there something else I have to do to convince VS2005 that these files go
together?

thanks




Jan 14 '08 #1
3 2376
On Jan 14, 8:38*pm, "Academia" <academiaNOS...@a-znet.comwrote:
I have a vs2003 project (actually 44 of them) that I want to convert to
VS2005 format.

To fix a usercontrol file I created the Designer.vb file and moved the
Inherited and Class ( change to partial class) lines to it so it started
with:

<Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated()_

Partial Class UserControl1

Inherits System.Windows.Forms.UserControl

Also moved all the entire"

'Required by the Windows Form Designer" code to it except for the New
method.

But when I open VS2005 the designer.vb file shows but not under the .vb file
node.

I think it was found in the folder but not recognized as related to the .vb
file.

Is there something else I have to do to convince VS2005 that these files go
together?

thanks
If your source code is available in one folder which is name of your
project, double-click yourprojectname.vbproj file to launch project,
then if a conversion is required VS2005 will offer it to do for you,
then click next and finish to finalize the conversion.

Just like step5 on this site:
http://webproject.scottgu.com/CSharp...Migration.aspx

Hope this helps.
Jan 14 '08 #2
I wasn't clear. These projects have been converted and now compile in
VS2005.
But they still have the older format - they is the UI code is in .vb rather
than in .Designer.vb.
That is what I am trying to remedy.

And maybe a project created in VS2005 has other things different than one
created in Vs2003. I like to learn about those thing and update to them
also.

Thanks


"kimiraikkonen" <ki*************@gmail.comwrote in message
news:90**********************************@i12g2000 prf.googlegroups.com...
On Jan 14, 8:38 pm, "Academia" <academiaNOS...@a-znet.comwrote:
I have a vs2003 project (actually 44 of them) that I want to convert to
VS2005 format.

To fix a usercontrol file I created the Designer.vb file and moved the
Inherited and Class ( change to partial class) lines to it so it started
with:

<Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated()_

Partial Class UserControl1

Inherits System.Windows.Forms.UserControl

Also moved all the entire"

'Required by the Windows Form Designer" code to it except for the New
method.

But when I open VS2005 the designer.vb file shows but not under the .vb
file
node.

I think it was found in the folder but not recognized as related to the
.vb
file.

Is there something else I have to do to convince VS2005 that these files
go
together?

thanks
If your source code is available in one folder which is name of your
project, double-click yourprojectname.vbproj file to launch project,
then if a conversion is required VS2005 will offer it to do for you,
then click next and finish to finalize the conversion.

Just like step5 on this site:
http://webproject.scottgu.com/CSharp...Migration.aspx

Hope this helps.
Jan 14 '08 #3
On Mon, 14 Jan 2008 13:38:50 -0500, "Academia"
<ac************@a-znet.comwrote:
>I have a vs2003 project (actually 44 of them) that I want to convert to
VS2005 format.

To fix a usercontrol file I created the Designer.vb file and moved the
Inherited and Class ( change to partial class) lines to it so it started
with:

<Global.Microsoft.VisualBasic.CompilerServices.De signerGenerated()_

Partial Class UserControl1

Inherits System.Windows.Forms.UserControl

Also moved all the entire"

'Required by the Windows Form Designer" code to it except for the New
method.

But when I open VS2005 the designer.vb file shows but not under the .vb file
node.

I think it was found in the folder but not recognized as related to the .vb
file.

Is there something else I have to do to convince VS2005 that these files go
together?
Yes. Open the .vbproj file in some editor like Notepad. Search for
the name of the designer file. You should find a line like:

<Compile Include="ctlRadiobuttonGroup.designer.vb" />

Remove the / at the end and add a DependentUpon clause and an explicit
close of the Compile like this:

<Compile Include="ctlRadiobuttonGroup.designer.vb">
<DependentUpon>ctlRadiobuttonGroup.vb</DependentUpon>
</Compile>

The DependentUpon links the two files.
Jan 15 '08 #4

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

Similar topics

4
by: Jody Gelowitz | last post by:
Is this possible? I have compiled an assembly in VS2005 and am trying to add a reference to that assembly from my VS2003 project. The error that I am getting is: A reference to '{path to vs2005...
5
by: hodari | last post by:
My program compiles correctly in VS 2003 but fails in VS2005 Express Edition - I get a compile error Inconsistent accessibility: return type 'VA.Customer' is less accessible than method...
2
by: -DG- | last post by:
No reply on my previous query, so I'll post this again. I've done a bit more research in the interim. I'm trying to find an easy way to port code from the older VS2003 format to the format used...
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...
17
by: Samuel | last post by:
Hi All, I am in the process of converting a VS 2003 project to VS 2005 project (VB.NET Class Library). It gives the error in TypeOf and DirectCast statements. It was working...
2
by: GW | last post by:
After the conversion and fixing some errs VS2005 threw, project ran OK. Opened xxx.vbproj file after the conversion to VS2005 from VS2003. Changed (usng wordpad) ../msbuild/2003 to 2005...
2
by: Peter Bradley | last post by:
We have upgraded an ASP.NET solution from VS2003 (.NET 1.1) to VS2005 (.NET 2.0). On rebuilding the solution, no dll appears in the bin folder of the Web site. Is this the usual case for VS2005...
5
by: nicknack | last post by:
Hello. I have a pc with visual studio 2005 working well. I tried to install VS2003 along with the VS2003 so I can work on an old project built with VS2003 and FW1.1. The problem is that when...
5
by: =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post by:
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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.