Solved

AssemblyInfo.cs sync with Visual Source Safe

Posted on 2004-08-06
9
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

710 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