Can't build 2002 originated projects in VS.Net 2003

  • Thread starter Thread starter ken busse
  • Start date Start date
K

ken busse

When attempting to build 2002 originated projects in
VS.Net 2003 I keep getting this error: Assembly
Attribute 'System.Reflection.AssemblyVersionAttribute' is
not valid: The version specified '...*' is invalid.
The install of 2003 went fine. I uninstalled 2002 and
migrated the 2002 projects to 2003. Now I am stuck big-
time.
HELP!
 
Hi Ken,

I could not reproduce the problem you experienced according to your
description. Would you please provide me with more information, such as
what are you doing with the AssemblyVersionAttribute or some of your codes,
so that I can deliver my assistance more quickly?

If anything is unclear, please feel free to reply to the post.

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

--------------------
| Content-Class: urn:content-classes:message
| From: "ken busse" <[email protected]>
| Sender: "ken busse" <[email protected]>
| Subject: Can't build 2002 originated projects in VS.Net 2003
| Date: Sun, 14 Sep 2003 18:40:37 -0700
| Lines: 9
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN7Kl0tyF9hB5dBQMO+h9SnIpROYA==
| Newsgroups: microsoft.public.dotnet.framework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:53518
| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| When attempting to build 2002 originated projects in
| VS.Net 2003 I keep getting this error: Assembly
| Attribute 'System.Reflection.AssemblyVersionAttribute' is
| not valid: The version specified '...*' is invalid.
| The install of 2003 went fine. I uninstalled 2002 and
| migrated the 2002 projects to 2003. Now I am stuck big-
| time.
| HELP!
|
|
 
Hi Ken,

When building an assembly, you have to specify a major version and a minor
version. Only the build number and revision number accept asterisk (*).
This is why <Assembly: AssemblyVersion("..*")> does not work.]

Does this answer your question? If anything is unclear, please feel free to
reply to the post.

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

--------------------
| Content-Class: urn:content-classes:message
| From: "ken busse" <[email protected]>
| Sender: "ken busse" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: RE: Can't build 2002 originated projects in VS.Net 2003
| Date: Tue, 16 Sep 2003 07:49:14 -0700
| Lines: 68
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN8YbKc2n6VMpQaTWC6w/w53MtGaQ==
| Newsgroups: microsoft.public.dotnet.framework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:53693
| NNTP-Posting-Host: tk2msftngxa08.phx.gbl 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| Problem lies in the Assembly.Info.vb classes of some of my
| projects.
| Wrong attribute: <Assembly: AssemblyVersion("..*")>
| Correct attribute: <Assembly: AssemblyVersion("1.0.*")>
|
| Thanks,
| Ken
|
|
|
|
| >-----Original Message-----
| >Hi Ken,
| >
| >I could not reproduce the problem you experienced
| according to your
| >description. Would you please provide me with more
| information, such as
| >what are you doing with the AssemblyVersionAttribute or
| some of your codes,
| >so that I can deliver my assistance more quickly?
| >
| >If anything is unclear, please feel free to reply to the
| post.
| >
| >Kevin Yu
| >=======
| >"This posting is provided "AS IS" with no warranties, and
| confers no
| >rights."
| >
| >--------------------
| >| Content-Class: urn:content-classes:message
| >| From: "ken busse" <[email protected]>
| >| Sender: "ken busse" <[email protected]>
| >| Subject: Can't build 2002 originated projects in VS.Net
| 2003
| >| Date: Sun, 14 Sep 2003 18:40:37 -0700
| >| Lines: 9
| >| Message-ID: <[email protected]>
| >| MIME-Version: 1.0
| >| Content-Type: text/plain;
| >| charset="iso-8859-1"
| >| Content-Transfer-Encoding: 7bit
| >| X-Newsreader: Microsoft CDO for Windows 2000
| >| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| >| Thread-Index: AcN7Kl0tyF9hB5dBQMO+h9SnIpROYA==
| >| Newsgroups: microsoft.public.dotnet.framework
| >| Path: cpmsftngxa07.phx.gbl
| >| Xref: cpmsftngxa07.phx.gbl
| microsoft.public.dotnet.framework:53518
| >| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| >| X-Tomcat-NG: microsoft.public.dotnet.framework
| >|
| >| When attempting to build 2002 originated projects in
| >| VS.Net 2003 I keep getting this error: Assembly
| >| Attribute 'System.Reflection.AssemblyVersionAttribute'
| is
| >| not valid: The version specified '...*' is invalid.
| >| The install of 2003 went fine. I uninstalled 2002 and
| >| migrated the 2002 projects to 2003. Now I am stuck big-
| >| time.
| >| HELP!
| >|
| >|
| >
| >.
| >
|
 
All I did was install your VS.Net 2003 side-by-side with
your 2002. Migrated my projects from 2002 VB.Net and then
removed 2002 VB.Net. The problems resulted as described.
Thanks,
Ken
 
Hi Ken,

In Visual Studio .NET 2003, you have to specify the major and minor version
number of the assembly. Using asterisk is only allowed in build number and
revision number.

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

--------------------
| Content-Class: urn:content-classes:message
| From: "ken busse" <[email protected]>
| Sender: "ken busse" <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: RE: Can't build 2002 originated projects in VS.Net 2003
| Date: Wed, 17 Sep 2003 08:29:42 -0700
| Lines: 81
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcN9MIQRlj+G2TegR/+T2z7yd+6ueg==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.framework
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:53966
| NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| All I did was install your VS.Net 2003 side-by-side with
| your 2002. Migrated my projects from 2002 VB.Net and then
| removed 2002 VB.Net. The problems resulted as described.
| Thanks,
| Ken
|
| >-----Original Message-----
| >Problem lies in the Assembly.Info.vb classes of some of
| my
| >projects.
| >Wrong attribute: <Assembly: AssemblyVersion("..*")>
| >Correct attribute: <Assembly: AssemblyVersion("1.0.*")>
| >
| >Thanks,
| >Ken
| >
| >
| >
| >
| >>-----Original Message-----
| >>Hi Ken,
| >>
| >>I could not reproduce the problem you experienced
| >according to your
| >>description. Would you please provide me with more
| >information, such as
| >>what are you doing with the AssemblyVersionAttribute or
| >some of your codes,
| >>so that I can deliver my assistance more quickly?
| >>
| >>If anything is unclear, please feel free to reply to the
| >post.
| >>
| >>Kevin Yu
| >>=======
| >>"This posting is provided "AS IS" with no warranties,
| and
| >confers no
| >>rights."
| >>
| >>--------------------
| >>| Content-Class: urn:content-classes:message
| >>| From: "ken busse" <[email protected]>
| >>| Sender: "ken busse" <[email protected]>
| >>| Subject: Can't build 2002 originated projects in
| VS.Net
| >2003
| >>| Date: Sun, 14 Sep 2003 18:40:37 -0700
| >>| Lines: 9
| >>| Message-ID: <[email protected]>
| >>| MIME-Version: 1.0
| >>| Content-Type: text/plain;
| >>| charset="iso-8859-1"
| >>| Content-Transfer-Encoding: 7bit
| >>| X-Newsreader: Microsoft CDO for Windows 2000
| >>| X-MimeOLE: Produced By Microsoft MimeOLE
| V5.50.4910.0300
| >>| Thread-Index: AcN7Kl0tyF9hB5dBQMO+h9SnIpROYA==
| >>| Newsgroups: microsoft.public.dotnet.framework
| >>| Path: cpmsftngxa07.phx.gbl
| >>| Xref: cpmsftngxa07.phx.gbl
| >microsoft.public.dotnet.framework:53518
| >>| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| >>| X-Tomcat-NG: microsoft.public.dotnet.framework
| >>|
| >>| When attempting to build 2002 originated projects in
| >>| VS.Net 2003 I keep getting this error: Assembly
| >>| Attribute 'System.Reflection.AssemblyVersionAttribute'
| >is
| >>| not valid: The version specified '...*' is invalid.
| >>| The install of 2003 went fine. I uninstalled 2002 and
| >>| migrated the 2002 projects to 2003. Now I am stuck big-
| >>| time.
| >>| HELP!
| >>|
| >>|
| >>
| >>.
| >>
| >.
| >
|
 
Back
Top