Dennis,
All your 2003 code should work in 2005, however all your 2005 will not work
in 2003. If you are attempting to share source between 2003 & 2005 I would
recommend keeping it at the 2003 syntax level. This is similar to 2002 &
2003 & using the shift operators ("<<" & ">>") or using "For Each Item as
Object In collection"
The "migration" to 2005 is similar to opening a 2002 project in 2003. It
updates the .vbproj file to the new format, the code itself doesn't change.
You may have Obsolete warnings where you used a type or type member that is
now Obsolete as there is a "new & improved" type or type member to use
instead.
For details on Obsolete APIs in the various versions of .NET see:
http://www.gotdotnet.com/team/changeinfo/default.aspx
Hope this helps
Jay
| Jay, I have not looked at VB.Net 2005 but I was assuming that all my
vb.Net
| 2003 code would work in 2005. I hope this is true! If I understand this
| thread correctly, it is only talking about using a 2003 class library in
both
| 2005 and 2003 after it's migrated to 2005. Is this correct?
|
| I have lost a lot of time converting VB3 programs to VB5/6, etc. and now
am
| converting them to VB.Net 2003. I'm getting a little ticked off at
| Microsoft. If I have to yet again convert them to VB.Net 2005, I'm going
to
| another programming system!
|
| "Jay B. Harlow [MVP - Outlook]" wrote:
|
| > Urs,
| > In addition to the other comments.
| >
| > Your "solution" may actually introduce more problems then it solves. One
of
| > the major problems I see is when the 2005 developer starts using
Generics in
| > the 2003 class library. Or the 2005 developer uses a new method or type
that
| > 2003 does not have, especially one that .NET 2.0 makes obsolete...
Limiting
| > the 2005 developer to only what's in 2003 feels like a "waste of time".
| >
| > I was going to offer creating 2 class library projects & use VSS to
share
| > the source files, however this may have the same problems as above. I
can
| > see 2 class libraries & two code bases, however maintenance may be an
| > issue...
| >
| > The other thought I had was to leave the project at 2003 until there are
no
| > more 2003 projects that reference it, then migrate it to 2005. The 2005
| > projects that use it would reference the assembly itself, until the
class
| > library was migrated to 2005...
| >
| > Further my understanding is that .NET 2.0 will be able to run 1.0 & 1.1
| > assemblies "as is", however 1.0 & 1.1 will not be able to run 2.0
| > assemblies, as the meta data in the assembly changed. So if anything
VS.NET
| > 2005 would need the ability to reference a VS.NET 2003 project. I can
see
| > referencing the VS.NET 2003 project in read-only mode, I wonder how hard
it
| > would be to create such an add-on...
| >
| > NOTE: Currently I only share class libraries within a single solution,
the
| > entire solution will be migrated, so I have not given this issue
(sharing a
| > class library between a 2003 & 2005 solution) much thought.
| >
| > Hope this helps
| > Jay
| >
| > | > | Make (at least Class Library) Projects shareable between VS 2003 und
2005
| > |
| > |
| >
http://lab.msdn.microsoft.com/produ...edbackid=572a25b7-4b3d-4364-8bd1-72fd99a18693
| > |
| > | Thank you!
| > | Urs
| >
| >
| >