tagged [versioning]

How to auto increment the version (eg. “1.0.*”) of a .NET Core project?

How to auto increment the version (eg. “1.0.*”) of a .NET Core project? In the old .NET framework, you could set the `[assembly: AssemblyVersion("1.0.*")]` and the compiler would auto-increment the ve...

Starting from which integer is it better to switch to another product brand versioning scheme (year-based, codenames, ...)?

Starting from which integer is it better to switch to another product brand versioning scheme (year-based, codenames, ...)? Take a few examples: - - - - I find that it is a little bit silly to have su...

14 Apr at 05:31

What is AddEndpointsApiExplorer in ASP.NET Core 6

What is AddEndpointsApiExplorer in ASP.NET Core 6 I'm upgrading an ASP.NET Core API project from v5 to v6. Service config in [v5](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-starte...

C# projects, proper versioning, company, etc on deployment

C# projects, proper versioning, company, etc on deployment My company is working towards moving our development from C++.net into C#. Our product has standard monthly release (for instance, 5.0.19.2.....

Automatically update version number

Automatically update version number I would like the version property of my application to be incremented for each build but I'm not sure on how to enable this functionality in Visual Studio (2005/200...

1 Aug at 21:3

Referencing different versions of the same assembly

Referencing different versions of the same assembly If A references assembly B 1.1 and C, and C references B 1.2, how do you avoid assembly conflicts? I nievely assumed C's references would be encapsu...

What is the best way to use assembly versioning attributes?

What is the best way to use assembly versioning attributes? The [AssemblyVersion](http://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute.aspx) and [AssemblyFileVersion](htt...

25 Apr at 12:38

Snapshot History With Entity Framework

Snapshot History With Entity Framework I've been looking at some auditing hooks with Entity Framework. Many of them show old/new value comparisons. This does great for an audit trail but I'm looking t...

25 May at 08:18

How do I automatically set assembly version during nightly build?

How do I automatically set assembly version during nightly build? We have a nightly build process that automatically versions all C++ projecs. Here's how it works. There's a common header file `Versio...

MEF Dependencies and versioning

MEF Dependencies and versioning I have a system that uses MEF to load parts. Each of these parts rely on a core library. When I build the project, I add a version number to the .dll files like this: -...

10 Feb at 21:1

How can I force clients to refresh JavaScript files?

How can I force clients to refresh JavaScript files? We are currently working in a private beta and so are still in the process of making fairly rapid changes, although obviously as usage is starting ...

3 Aug at 19:4

ASP.NET CORE, Web API: No route matches the supplied values

ASP.NET CORE, Web API: No route matches the supplied values Original Question: --- i have some problems with the routing in asp.net core (web api). I have this Controller (simplified): ``` [ApiVersion...

How to name multiple versioned ServiceContracts in the same WCF service?

How to name multiple versioned ServiceContracts in the same WCF service? When you have to introduce a breaking change in a ServiceContract, a best practice is to keep the old one and create a new one,...

Explanation of Migrators (FluentMigrator)?

Explanation of Migrators (FluentMigrator)? Could someone explain the concept of Migrators (specifically fluentmigrator)? Here are the (possibly confused) facts Ive gleaned on the subject: - Is it a wa...

Servicestack nuget versioning

Servicestack nuget versioning We started building different projects using servicestack v4 less than 3 months ago. We installed different package of servicestack at version 4.0.52 (servicestack.Common...

How to Store Historical Data

How to Store Historical Data Some co-workers and I got into a debate on the best way to store historical data. Currently, for some systems, I use a separate table to store historical data, and I keep ...

1 Nov at 16:25

Independent versioning of packages in a mono-repo

Independent versioning of packages in a mono-repo We just started working on something that is maybe best described as a company-wide "open" source framework. Our main language is C# and we use Jenkin...

21 Nov at 12:15

Serialization and object versioning in C#

Serialization and object versioning in C# If I want to serialize an object I have to use `[Serializable]` attribute and all member variables will be written to the file. What I don't know how to do ve...

How to force browsers to reload cached CSS and JS files?

How to force browsers to reload cached CSS and JS files? I have noticed that some browsers (in particular, Firefox and [Opera](https://en.wikipedia.org/wiki/Opera_%28web_browser%29)) are very zealous ...

Keep user's settings after altering assembly/file version

Keep user's settings after altering assembly/file version I have a simple WinForms application written in C#. I debated deployment solutions for a while but ultimately decided to abandon ClickOnce as ...

29 May at 01:0

How to manage the version number in Git?

How to manage the version number in Git? Let's imagine the [blerp](http://xkcd.com/1692/) command line tool maintained on [git](/questions/tagged/git). This tool has the (hidden) `--version` option wh...

2 Sep at 17:19

.Net AssemblyName.version Build versus Revision

.Net AssemblyName.version Build versus Revision The MSDN documentation states: > Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components...

19 Jul at 08:0

The inline constraint resolver of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'apiVersion'

The inline constraint resolver of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline constraint: 'apiVersion' I have a basic WebApi implementation setup with the default...

Setting the version number for .NET Core projects - CSPROJ - not JSON projects

Setting the version number for .NET Core projects - CSPROJ - not JSON projects This question is very similar to [Setting the version number for .NET Core projects](https://stackoverflow.com/questions/...

Using 2 different versions of the same dll?

Using 2 different versions of the same dll? I have been given 2 pre-compiled dlls: Example of differences in API: [](https://i.stack.imgur.com/O0pQb.png) And I'm trying t

23 May at 12:32