Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AssemblyInfo.cs sync with Visual Source Safe

Posted on 2004-08-06
9
Medium Priority
?
423 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 1500 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 1500 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

885 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