versioning

Determine the version of my Silverlight app

不打扰是莪最后的温柔 提交于 2019-12-10 15:53:00
问题 I'm trying to determine the version number of my Silverlight application. Currently I am using: string name = Assembly.GetExecutingAssembly().FullName; AssemblyName asmName = new AssemblyName(name); // http://www.dotnet247.com/247reference/msgs/45/225355.aspx string versionNo = "Version: " + asmName.Version.Major + "." + asmName.Version.Minor + "." + asmName.Version.Build + "." + asmName.Version.Revision; However, four successive builds of my app gives me: 1.0.0.14310 1.0.0.14343 1.0.0.14382

Need a C# Assembly to reference a strongly named assembly loosely

China☆狼群 提交于 2019-12-10 15:22:56
问题 So here's the problem. I'm writing some StyleCop plug-in assemblies for use at the company I work for. As such, these assemblies need to reference Microsoft.StyleCop.CSharp.dll for example, which is strongly named. The problem comes in that if I build this and pass it along to the developers in my group, they must have the same version of the StyleCop dll (currently 4.3.3.0) or it fails to load. What is the best way to make my add-on rules DLL more independent? Should I just install my 4.3.3

How to get list of versions for compatible Angular 2 modules?

孤人 提交于 2019-12-10 14:53:49
问题 I have the following code in the package.json: "dependencies": { "@angular/common": "~2.0.1", "@angular/compiler": "~2.0.1", "@angular/core": "~2.0.1", "@angular/forms": "~2.0.1", "@angular/http": "~2.0.1", "@angular/platform-browser": "~2.0.1", "@angular/platform-browser-dynamic": "~2.0.1", "@angular/router": "~3.0.1", "@angular/upgrade": "~2.0.1", "angular-in-memory-web-api": "~0.1.1", "bootstrap": "^3.3.7", "core-js": "^2.4.1", "reflect-metadata": "^0.1.8", "rxjs": "5.0.0-beta.12",

Version control (e.g. in TFS) build configuration for TeamCity - is it possible?

穿精又带淫゛_ 提交于 2019-12-10 14:39:54
问题 I'm looking to migrate our build infrastructure from CC.NET to TeamCity. Admittedly pretty green with TeamCity at this point. One potential show-stopper is that we need our build configuration to be version-controlled alongside the source code it builds. CC.NET makes this pretty easy and is a very useful/powerful feature. From my investigation you can change where TeamCity stores its config/data, but none of the official documentation (nor other topics here on SO) seem to reference placing it

Can .NET 2.0 assemblies run under .NET 4.0?

微笑、不失礼 提交于 2019-12-10 14:21:47
问题 I have developed a .NET solution that consists of several assemblies, most of which are small helper assemblies that target version 2.0 of the .NET Framework. The remaining assemblies are MVC 3 Web applications, which must necessarily target version 4.0 of the .NET Framework. My solution has no other external dependencies besides the .NET and MVC Frameworks. My question is the following: When I deploy this solution to customers, do I have to deploy both versions of the .NET Framework, or can

Best Git strategy for testing different client and server versions

六月ゝ 毕业季﹏ 提交于 2019-12-10 13:16:50
问题 I would like to be able to run integration tests for a Java client/server (using embedded jetty). In addition I would like to be able to mix-and-match different server and client source code versions during the integration testing. I am wondering what the best git or maven version strategy to accomplish this: Using the same git repository for the client and the server, it would be difficult to checkout code of various server versions and test it against code of various client versions. Using

sql script to drop old versions of stored procedures and functions

半城伤御伤魂 提交于 2019-12-10 11:56:21
问题 I am looking to write a sql server script to achieve the following in a sql server 2008 database. I have a number of functions and stored procedures with the following names: prSP_GetItem.1.0.0 prSP_GetItem.1.1.0 prSp_GetItem.1.2.0 As you can see a version number is appended to them. Each time a new version of the application is released, new functions/stored procedures are created with the new version number. What I would like to do is write a generic script to remove all old version of a

View current Assembly Version number within VS2008

自古美人都是妖i 提交于 2019-12-10 11:28:14
问题 I would like to know if there is a way to see Assembly Version number of the last completed build within the Visual Studio 2008 IDE. I don't want to see the 1.0.* that is in the Assembly Information dialog box or AssemblyInfo file, but rather the full version (with the *'s replaced by real numbers). I also don't want to have to bring up the Properties of the project's executable or assembly. 回答1: OK, I think I get your question better now, you want to see what the build number is, without

semantic versioning of API bundle

感情迁移 提交于 2019-12-10 10:53:01
问题 When starting with a package versioned at 1.0.0 in an API bundle, what should the new version be after adding a new interface to said package? The whitepaper makes this statement regarding compatibility: It should be obvious that binary compatibility plays an important role in backward compatibility. However, backward compatibility is also very dependent on the semantics. If the responsibility of an interface changes it could still be binary compatible but no longer be backward compatible. At

Keeping a public and private version of my app using Git

谁说我不能喝 提交于 2019-12-10 09:23:43
问题 I am building a Rails app that I manage with Git. All is perfect, but I'd like keep a public version as well as a private one. That is: the public version is for a public repository (for people to use), and the private version is for my own site. The idea is that both versions should be up-to-date, with the difference that my private version's files contain passwords for my site, and the public version doesn't (or contains some default values as such). I've been thinking of branches: master