I'm using SVN to version a ASP.NET web project that I'm working on. I have recently decided to try versioning published versions of the site. I commit these to the repository along with tagged Release versions of the code in the root of the branch. This is proving useful as I can deploy to my server using SVN.
Problem that I'm facing is...
How can one read the AssemblyFileVersion, or its components AssemblyFileMajorVersion, AssemblyFileMinorVersion, AssemblyFileBuildNumber, AssemblyFileRevision, within the .csproj, following compilation?
I have tried the following which pulls the information from the built assembly:
<Target Name="AfterCompile">
<GetAssemblyIdentity A...
I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination.
Confirm this by typing ver into a command prompt
...
I have an database with books.
One book has one Author, Publisher.
Some Prices, ID's and Descriptions.
I want to keep track of changes made to one product. One way is to save the product with time AND id as primary key.
Are there other ways?
Are there database systems (i've only used mysql) who can keep track of changes automaticly?
...
Is it Major.Minor.Release - IBM style (eg. 1.2.3)?
Is it the Year? (Windows '98)
Something else?
Reference:
http://en.wikipedia.org/wiki/Versioning
Presently I use
major.minor.release.internal-release
Example
01.12.02.19
For the next product, I was thinking of making it simpler
Version-Build
Example
v1-b22
Before I finalize ('cause...
I have a set of programs, each one with its own version. All these programs are dependent on a library, again with its own version. For example
Foo-1.0.3
Bar-2.1.5
Baz-1.3.4
They depend on libfrobniz-1.4.5. It happens that I have to do a major overhaul of the library (involving a lot of refactoring). This means that it will break ever...
My personal website and others which I am involved with) display their current version number discreetly in the footer or some other area of the site. My question is whether this is useful information to visitors or whether its just textual "noise".
It is worth noting that the version number is the version of the software (not the data ...
How can I make such behaviuor in NHibernate:
There is an entity called User in my domain
// I ommit mapping attributes
public class User
{
int Id {get; set;}
int pId {get; set;}
//....other props, such as Login, Name, email...
}
I need to make full copy of it, when updating. pId must be set to original Id. Old entity must be un...
Would the following be a viable strategy for implementing versioning(using "example" as a sample document type):
Have one original document where the type field is named example_original.
Subsequent changes to the document all have type example_change and the id of example_original document as a key. The change would also carry a times...
Is there a historic reason that periods are used instead of any other separator for software versions?
One of our products was previously version 3.5, and now it's 3.08 -- I'm sure this was management saying that putting a leading zero would make it less confusing for our customers once we hit 3.10. But as a software developer, version...
I'm trying to get the Vestal Version gem to work, but I keep getting this error:
>> Song.first.version
=> 8
>> Song.first.revert_to(7)
NoMethodError: undefined method `>' for #<Version:0x231bddc>
from /Library/Ruby/Gems/1.8/gems/activerecord-2.3.2/lib/active_record/attribute_methods.rb:260:in `method_missing'
from /Library/Ruby/...
What controls the version number inside of a codedom generated file?
Some of our developers get:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4005
while others get:
//------------------------------------...
I'm looking for a subversion tool, and i have the following requirements:
Must integrate into VS 2008
Automatically submits new versions
Does not use the command line as primary interface
Doesn't clutter up explorer with bright icon overlays or context menus
is only going to be used by one user mostly if not completely, so doesn't need...
Should the test plan be kept in the version control with the code ? That is, the test plan and the code are put under the same version control system and have the same revision numerating. I am not talking about unit test code, but a test plan document populating with manual test cases. There are some web-based test case management syste...
I am trying to iterate through the SPListItem.Versions collection to find the latest approved list item.
My list item has three versions: the first two are approved, the last is in draft. But my code says they're all in draft! Please help!
// Iterate through all versions
for (int index = 0; index < item.Versions.Count; index++)
{
S...
I always create a MSI file for our web application.There are different states when I build a MSI
For system testing on test server after the issues are fixed
Another for submitting it to the customer
Third is for a hot fix
The current versioning scheme is v3.2.18.18 i.e v x.x.xx.xx
Now how to increment in the above three cases & wha...
How do you manage versions of workflows in WF when you have long running workflows and you might have two or three versions in the persistence store at the same time and have to be able to access them all?
...
For my current project I need to be able to specify platform name, platform version and CPU architecture. For instance, I should be able to say that ComponentX can be used in .NET 2.0, Mono 2.2 and Silverlight 3.0, whereas ComponentY can only be used in .NET 3.5 and is built for x64 only.
So I'm wondering if there's a more-or-less stand...
The Scenario
My project has a post-build phase set up to run a batch file, which reads a text file "version.txt". The batch file uses the information in version.txt to inject the DLL with a version block using this tool.
The version.txt is included in my project to make it easy to modify. It looks a bit like this:
@set #Description="Ta...
I need to add a dependency on a specific version of GDIPlus. This is the version of GDI+ that i want:
I want to be sure that I'm using this version for a specific compatibility reason.
I've added an assembly manifest to my executable, defining my dependancy on the version of GdiPlus:
<dependency>
<dependentAssembly>
<assemb...