[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Unable to control assembly versioning as described in documentation

Craig Powers

8/29/2002 3:21:00 AM

We have many projects, and we want them to all have the
same assembly version number on each build. The obvious
way to do this is to have a central assemblyinfo.cs file
that contains the version attribute, and have all of the
projects include it. In fact, this is recommended in the
MSDN article "Team Development with Visual Studio .Net",
chapter "The Build Process".

However, we cannot get this work because when we attempt
to add the central file to the project in Visual Studio,
it insists on making a local copy of the file. This of
course defeats the whole process.

How can we do this?

Thanks for any help...

3 Answers

(Mattias Sjögren)

8/29/2002 1:07:00 PM

0

Craig,

>However, we cannot get this work because when we attempt
>to add the central file to the project in Visual Studio,
>it insists on making a local copy of the file. This of
>course defeats the whole process.
>
>How can we do this?

In the Add Existing Item file dialog, you can click the drop down
arrow on the Open button and instead select Link File.


Mattias

===
Mattias Sjögren (VB MVP)
mattias @ mvps.org
http://www.msjogren.n...

Craig Powers

8/29/2002 7:51:00 PM

0

Thank you! Although Visual Studio crashed the first time=20
I tried it, on all subsequent times it has worked. I=20
would suggest adding a comment about this in that=20
document, because it is not obvious -- I navigated to the=20
file and added it, and never would have suspected that it=20
would be copied.

>-----Original Message-----
>Craig,
>
>>However, we cannot get this work because when we=20
attempt=20
>>to add the central file to the project in Visual=20
Studio,=20
>>it insists on making a local copy of the file. This of=20
>>course defeats the whole process.
>>
>>How can we do this?
>
>In the Add Existing Item file dialog, you can click the=20
drop down
>arrow on the Open button and instead select Link File.
>
>
>Mattias
>
>=3D=3D=3D
>Mattias Sj=F6gren (VB MVP)
>mattias @ mvps.org
>http://www.msjogren.n...
>.
>

Craig Powers

8/29/2002 11:31:00 PM

0

We have a few projects of type "ASP.Net Web
Application". For those projects, the "Link" choice does
not exist in the drop-down on the "open" button.

Any idea how to do this in these types of projects?

Thanks,
-- Craig Powers

>-----Original Message-----

>In the Add Existing Item file dialog, you can click the
drop down
>arrow on the Open button and instead select Link File.

>