Solved

AssemblyInfo.cs sync with Visual Source Safe

Posted on 2004-08-06
9
401 Views
Last Modified: 2012-06-21
Is there a way to have the version that is in the AssemblyInfo.css file reflect that of the Version that is given to a project in Visual Source Safe?
0
Comment
Question by:jayrod
  • 4
  • 3
  • 2
9 Comments
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 500 total points
ID: 11737275
0
 
LVL 3

Author Comment

by:jayrod
ID: 11737325
so this line
[assembly: AssemblyVersion("1.0.*")]

needs to be
[assembly: AssemblyVersion("1.0.0."$Revision: $)] ???

0
 
LVL 37

Assisted Solution

by:gregoryyoung
gregoryyoung earned 500 total points
ID: 11737359
not quite that will return $Revision: 2$ so you would need to do some magic with it to get the version out
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 3

Author Comment

by:jayrod
ID: 11738157
well I'm clueless as to what type of magic I would need to start doing in order to get that to function correctly.  If ya have some vague ideas or anything I'd be appreciative
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11738644
There is a note in that link that Greg gave:

Note   Keyword expansion is by default disabled for all files. See your VSS Administrator to enable keyword expansion.

Bob
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11738646
Just wanted to make sure that you saw that:)

Bob
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 11739927
good point bob, very important foot note.
0
 
LVL 3

Author Comment

by:jayrod
ID: 11740944
ok.. so does the replacement come before or after compilation? cause if it's after then this won't do what I want it to.
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 11740951
the replacement is from source safe ... not compilation ... check in / check out is what determines VSS version numbers
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question