English 中文(简体)
MVC3 - > 4 扩展库的创建版本: 要隐藏或不隐藏以前的版本?
原标题:Nuget versioning for MVC3 -> 4 extension library: to hide or not to hide previous versions?

Asp. Net MVC 3 - 可以说软件包ID目前为 < code> Acme. Mvc , 其版本为 < code> 2.x 。

我现已分拆了这个项目,并将在MVC 4 Beta 上投放同一包的预发版。 现在,逻辑上,现在的版本是图书馆的3.x ;然而,一旦我发布(一旦它不再预发),那么,2.x 将不再出现在VS UI中;这可能导致其他开发者将它添加到MVC 3项目中;并且不使用控制台,使他们无法轻易获得旧的v2.x 图书馆的未来升级。

在其他一些情况下,我对包件 ID 进行了修改, 以包含一个版本, 即 < code> Acme. Mvc.3 , 这样新旧的可以并排。 唯一的问题是, 此时某人可以尝试将两者都包含在内! 还有略微的 pedantic 问题, 称之为 < code> v3. x 不一定正确; 因为它是一个新软件包 。

此外,我确实需要能够维持这两条流。 我可以依靠在MVC 4 站点的固定重定向,这些站点仍然引用了针对MVC 3 的图书馆版本;因为我的分机没有依赖过去的东西。

当我看公众的核素饲料时;我很少看到这种在软件包ID中坚持一个主要版本的做法,但真的有别的选择吗?

最佳回答

There are many existing packages that uses the MVC version as part of their naming convention to differentiate between supported versions : WindowsAzure.WebRole.MVC3 Unity.Mvc3 Spark.Web.Mvc2 Spark.Web.Mvc3 ...

"唯一的问题就是, 一个人可以尝试 并包含两者!"

我将不费力地阻止此案的审理,从一揽子方案的名称来看,似乎显而易见的是,两者并不想同时并举。

问题回答

暂无回答




相关问题
Version numbering basics? [closed]

Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints ...

Versioning problem

people. I hope you can help me. In our development process we have a unix based file server with SFTP access (let’s call it A). This server store a large numer of xslt files we are working on. The ...

ECM - Document Control Management / Versioning and CMS

I anticipate this is going to be a very broad question however I shall endevour to be as concise as possible without divulging too much project critical information. For quite some time I have been ...

How do other development teams approach version numbers?

Our application is quite mature, and thus we are up to version 16. However, this can give the impression that the software is old and out of touch (how many commercial applications are there with a ...

SVN avoid storing passwords in plain text?

Under a bare bones setup for SVN on windows (without using VisualSVN), as per the instructions, the passwords are to be entered in the passwd file. Does SVN provide a way to encrypt or atleast mask ...

热门标签