versioning

Moq file version & assembly version mismatch, causing problems in TeamCity?

Setting up TeamCity 5.0.1 to run unit tests for the first time, we're seeing this error: Test(s) failed. System.IO.FileNotFoundException : Could not load file or assembly 'Moq, Version=3.1.416.3, Culture=neutral, PublicKeyToken=69f491c39445e920' or one of its dependencies. The system cannot find the file specified. We're using vers...

How to handle application upgrades from free to paid version while preserving any data

Here is the context. I want to have a free version and a premium version of the same application. When people buy the application, I want them to be able to "upgrade" without losing their data, i.e. the premium version should install over the free version. I want to use the same code base and just switch a setting to build the premium ve...

Rails wiki highlight/strikethrough version differences between article versions

Hi I'm wondering how to implement highlighting of changes to user edited articles on a wiki style rails project. Since articles may be fairly lengthy I'd ideally like strikethrough and highlighting, similar to github and wikipedia for example. Despite searching around the net I've not really come up with much, apart from instiki which i...

rails wiki site - article edit highlighting/strikethrough with htmldiff maxes cpu

Hi I'm implementing a wiki style site and want to highlight changes made to articles between successive versions. Using htmldiff to highlight changes works great, except it is rather cpu intensive. I'm using the awesome vestal_versions plugin for versioning. So how best to handle this? I considered having an on_create callback on versi...

How to set the version number in VB.NET COM Interop DLL?

I'm writing a COM Interop DLL in VB.NET with VS2008. How to set the version number of the DLL generated by VS? ...

How are updates to the .net framework handled in azure?

If someone is hosting something in Azure and a new KB comes along and requires the .net framework to be updated, how is this handled in Azure? Do they automatically update it for you or give you the option to remain at the older version? I'm more interested in how the versioning is handled, rather than uptime etc. Do they force you to...

Delphi 2010: how to stamp file version in *.pas and increment it on each save w/o CVS/SVN tools?

Hello. How do I have in each *.pas file it's version, incrementing on each save in some comment line? I have plenty of files on three PCs and I need to have a possibility to quickly check their versions against each other. This problem is easily solved by some centralized version control, but some sources I have cannot be trusted to e...

VB6: Question about version numbers of dependent OCXs

Is it important for a VB6 app to refer to certain OCX versions? I have noticed that if I put my VB6 app code through the IDE on one machine then the form files will refer to different version of some OCXs than if I use another machine. What is the rule of thumb with this? Is it safe to assume that most of these old OCX versions will b...

iPhone: Core Data: Updating a pre-filled database in future app versions.

I am creating an app with a database of information that needs to be pre-filled. This data will change in future versions. In the same database, I also need to store user editable information since that user edited data directly relates to the pre-filled data. My question is, if I'm pre-filling the database by creating a duplicate data ...

What version number should an unreleased project receive?

Note: I'm new to version numbering. Please excuse my ignorance. I have a project where an attempted major release (Version B) was abandoned then later re-attempted and release (Version C). Each version has major changes from the previous version that I wouldn't consider an minor update. Little to nothing of Version B made it into Versio...

VB.Net - What is the difference between AssemblyFileVersion & AssemblyFileVersionAttribute and AssemblyVersion & AssemblyVersionAttribute

I've inherited a VB.Net codebase which was VB 2005 and upgraded to VB 2008 consisting of around 100 projects I'm trying to re-version all of the components but have discovered some of the AssemblyInfo.vb files have an AssemblyFileVersion entry and some have an AssemblyFileVersionAttribute entry. Also, some have an AssemblyVersion entry...

Enable/disable code access through license key - Application versioning

Hi, I have written a POS application, and now i want to create different versions of it. Something like a basic version, a premium version and a Full version. So if a client pays more they get more features in the same application. Is it possible that i could keep one standard application but features in my application get enabled / dis...

What is the best way to handle Java web application versioning?

I have a standard Java application that handles both REST and UI calls. What is the best way for me to create and manage an application version (major.minor.release.build)? I'm using Subversion, Maven, Bamboo (continuous build) and Spring in the stack. I would like the version to be tied together with SVN, Bamboo and Maven. And, woul...

How can I track version numbers with ASP.NET MVC and WinForms?

I'm having trouble finding what built-in mechanisms there are in the .NET framework for setting version information at build time. Our development efforts are primarily directed at a WinForms application deployed with ClickOnce. For this, we already have a system in-place and working. I would like to try to extend what we already have...

Is sharepoint versioning stored inside the document for excel documents?

Does anyone know if SharePoint stores it's version numbers inside the files for Excel files? I would assume that it does not. This is what I need: I have an Excel file stored in a SharePoint document library. The file will eventually be distributed and must be able to function offline. The file is somewhat macro-intense, and I would...

How to make use of element versioning in an EHCache instance?

I am caching objects that are being sent to my component in an asynchronous way. In other words, the order in which these objects arrive is unpredictable. To avoid any issues, I have included a version attribute to my objects (which basically is a timestamp). The idea is that any object that arrives with a version that's older than the o...

Can I change default build number in Visual Studio 2008

I set version numbers in my assemblies to: [assembly: AssemblyVersion("1.0.*")] After first rebuild I got this version number: 1.0.3835.35633 <major version>.<minor version>.<build number>.<revision> In MSDN article about assembly version attribute there is really short description: The default build number increments daily....

How to keep a single XPO across different versions?

I want to have one XPO, and have the same code work on AX4 and AX5. I am looking for a precompiler directive to check the version, sort of like: #if define AX4 thisCode(...) #else thatCode(...) #endif ...

Interface Library Versioning - Breaking Changes

I currently have a C# project which uses plugins and has a fairly common approach to plugin handling: an IPlugin interface is stored in a dll which is linked in a tranditional dynamic way. The host app looks for class libraries exporting classes exposing this interface and loads them via reflection at run time. The dll containing the in...

How do I provide a URL that will always download the latest version of a file?

I want to provide a URL such as "...mysite.com/my_installer.exe", but I want to be able to make it point to the latest version of my installer. So if I create version 2 of the installer, the url will download "...my_installer_v2.exe". I've looked at general URL redirection - 301 redirects, .htaccess etc - but they seem to be geared to...