versioning

Database - data versioning in single table

≡放荡痞女 提交于 2019-12-23 17:23:52
问题 I'm developing a CMS which has some version control features. It's based on a MySQL Db. The idea is to show public site visitors a "certain revision" of the data and backoffice users a preview of the "latest revision". Publishing something just means to set the "certain revision" equal to the latest one (and maybe deleting data of old revisions). I've read some Q&As about the topic on SO, most of them suggest that holding "old" and "new" rows in the same table is bad. But, since I need to

What should I change when the compiler tells me to “Consider app.config remapping” when I have no app.config file?

喜欢而已 提交于 2019-12-23 12:47:55
问题 In compiling a solution ported from .NET 1.1 in VS2003 to .NET 3.5 in VS2008, I get several suggestions, of which this one is representative: Consider app.config remapping of assembly "System.Windows.Forms, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.Windows.Forms.dll] to solve conflict and get rid of warning. Neither project in the

How can I make the AssemblyInfo version of a C# .NET CF program propagate to the Explorer Properties window?

我们两清 提交于 2019-12-23 12:41:20
问题 It seems like if you compile a Visual Studio solution and have a version # in your AssemblyInfo.cs file, that should propagate to say, the Windows Explorer properties dialog. This way, someone could simply right click on the *.exe and click 'properties' to see the version #. Is there a special setting in Visual Studio to make this happen? example picture http://content.screencast.com/users/Pincas/folders/Jing/media/40442efd-6d74-4d8a-8e77-c1e725e6c150/2008-09-24_0849.png Edit: I should have

Getting the TeamCity build number into the AssemblyInfo file using Nant

邮差的信 提交于 2019-12-23 12:16:49
问题 I have done a lot of googling but cant seem to find an exact solution to get the TeamCity build number into my AssemblyInfo files. Would appreciate a full solution for my requirements... 1 Get the build number into a Nant variable. I believe that this code will accomplish this.. PropertyGroup Version$(BUILD_NUMBER)/Version /PropertyGroup (repoduced as best as possible in SO). 2 Now I need a way to update the revision component of my version numbers so I get something like 1.0.0.[build number]

Injecting assembly version numbers at build time

那年仲夏 提交于 2019-12-23 09:19:59
问题 I want to change the assembly version number of a C# project at build time by passing it as a property on the MSBuild command line. AssemblyInfo Task will modify the assembly version inside a AssemblyInfo.cs before compiling. This is nearly what I want. The problem is I don't want AssemblyInfo.cs to be changed because of source control issues. I don't want all these AssemplyInfo.cs files to show as being modified and needing to be checked in every time we do a build. What I would like is a

What is the difference between MvcContrib.MVC3-ci and Mvc.Contrib NuGet Packages?

大城市里の小女人 提交于 2019-12-23 08:54:15
问题 What is the difference between MvcContrib.MVC3-ci and Mvc.Contrib NuGet Packages? I see they have different dependencies -ci has many more downloads. I'm assuming I want -ci for my MVC3 project, but how do I figure that out? What does the -ci mean? 回答1: From what I gather, MVCContrib.MVC3-ci is the latest version of the MVC3 package and MvcContrib is the old name for the MVC2 package. If you visit the codeplex site then you will see the release history for MVC2 (v 2.0.95.0 & v2.0.96.0) and

jQuery version conflict resolution with ASP.NET Server Control

天涯浪子 提交于 2019-12-23 06:31:13
问题 I am developing an ASP.NET server control that uses jQuery for some client side logic. I have embedded the jQuery file as a resource inside the control. I don't want to restrict the application using the control to that specific version of jQuery and I want to keep using the version of jQuery that I have embedded. I know about the noconflict method but the problem that i see with that is that i have no control over the order of the script tags on the page. If the user's version of jQuery is

Microsoft Application block DLL V2 and V4.1 references

此生再无相见时 提交于 2019-12-23 05:39:16
问题 My application is referencing Microsoft Enterprise library V4.1 while one of the older DLL (external application) requires a reference to Microsoft Enterprise library V2.0. I know for sure that i can register both of these assemblies in the GAC and the application will start reading relevant DLL as required but that is not a solution for us since our security expert is not agreeing upon accepting this solution. Is there any way using the webconfig where I can specifically specify that the

C# - Prism for WPF - Common modules' libraries upgrading strategy

丶灬走出姿态 提交于 2019-12-23 05:17:26
问题 I'm designing a composite WPF/MVVM application using Prism patterns. I've read the Developer's Guide to Microsoft Prism Library 5.0 for WPF and I am familiar with most of the patterns described. My application's modules will consist of a number of binaries (dll-s) and some of them will include a shared library , which will define public interfaces to MVVM models, event classes for event aggregator and services implemented by that module. Other modules would be able to reference such a library

Is there a way for a customer of a UWP app to rollback to a previous version?

…衆ロ難τιáo~ 提交于 2019-12-23 02:32:21
问题 For Universal Windows apps that are distributed via the Windows Store (i.e. not sideloaded), what should a customer be directed to do if your latest version causes them problems and they would like to essentially "undo" the update? 回答1: Once the app is updated to the latest version the customer can't take any action to roll back. If it is actually a problem with the app, you'll have to fix it as quickly as possible*, and if it's just a fluke your only option is to do your best to help them