Solved

AssemblyInfo.cs sync with Visual Source Safe

Posted on 2004-08-06
9
393 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
3 Use Cases for Connected Systems

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

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET 5 Templates 2 79
Visual Studio 2013 and Eclipse Neon 6 38
location of a form 2 15
Need help deploying my first MVC.Net app with a SQL Server backend 3 13
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…
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)…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

822 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