0
голосов
1ответов
220 просмотров

How do I deal with dependencies to multiple versions of the same DLL in Visual Studio?

for example: I have app A, which references library A and library B. in addition, library A itself references a different version of library B. (these are all in C#) I want all references to point to a binary DLL file. right now I have a lib folder like so: lib/LibA/v1/LibA_1.dll lib/LibB/v1/Li...

2
голосов
4ответов
252 просмотров

Cleaning up code breaks binary compatibility

I'm working on a project which is being used by a number of people I don't know. We've done a fairly good job of bringing down the CheckStyle warnings and the thing is about a low as its going to get without breaking binary compatibility. The majority of the remaining warnings are caused by cons...

0
голосов
1ответов
676 просмотров

Auto-versioning DLLs in Visual Studio 2008

we're trying to sort out some conventions for handling dependencies with code checked into svn. the previous method was basically a free for all, meaning projects couldn't be checked out and built without fiddling with references (most projects are C#). we're fixing this one step at a time, and ...

147
голосов
4ответов
47863 просмотров

How do I switch to another subversion branch in Intellij?

What is the concept of switching branches in IntelliJ? I must be either blind or an idiot... I would assume there'd be a "switch to copy" option or something like that, but there is none... EDIT for clarification: my prev IDE had a simple "switch to copy" option, which updated all files being d...

1
голосов
2ответов
211 просмотров

iPhone Core Data Generated Model Files and Custom Code

After I've generated the interface/implementation files for entities of a model file in XCode, I've not found a way to keep any custom code (validation methods, etc...) I've added to those generated files, given the scenario where I've added an attribute to a model entity and need to re-generate ...

1
голосов
1ответов
510 просмотров

Compiling MATLAB 2009b applications to Windows Executables

Does anyone know how to add full (n.n.n.n) Windows file version information to COM dlls and .Net Assemblies compiled from MATLAB? The resulting dlls do not seem to contain a VersionInfo structure and so utilities like Resource Hacker don't work.

1
голосов
2ответов
237 просмотров

Giving version numbers that make clear when you're breaking backward compatibility

I've been working on my open source project for about 6 months, and I want to release it officially soon. The thing is, I'm quite sure that in the near future I will want to change my project in a way that will break backward compatibility, probably multiple times. (My code is a framework in whic...

2
голосов
1ответов
138 просмотров

How to track version changes to dependent components/libraries?

We have a project that has several components developed independently. Yet we have many releases all named as different products with different schedules. We want to get immediate feedback when a component has a new version (probably related with a bug-fix), thus all products depending on that ve...

0
голосов
1ответов
285 просмотров

Rsync create new file on file size change

I need to backup (for debugging) some temporary files meanwhile a program running. I used to do it with rsync-ing the /var/tmp/someprogram directory with find . -iname 'blahblah' -exec rsync -someoptions $DESTdir, which works wonderful. Except the case of someone in some program (for which I don...

315
голосов
16ответов
82170 просмотров

Temporarily put away uncommitted changes in Subversion (a la "git-stash")

While programming software stored in a Subversion repo, I often modify some files, then notice that I'd like to do some preparatory change for my main work. E.g. while implementing new functionality, I notice some refactoring which might help me. In order not to mix two unrelated changes, in the...

0
голосов
1ответов
1604 просмотров

SharePoint document library versioning and require check out settings using web services

I need the information about the SharePoint document library. Namely, I need the info whether the versioning is turned on or off and if the "require check out" option is selected. I have to use SharePoint web services. I have looked up in Versions.asmx, Lists.asmx and SiteData.asmx, but found n...

0
голосов
1ответов
349 просмотров

Revision system - Help improve my code

A section of a site I am building needs some form of revision system and so decided to keep it simple and go with one similar to Stack Overflow. I quickly created the following which works although seems a little messy. I know I can use beforeSave and afterSave but I have no idea how I could im...

25
голосов
6ответов
21155 просмотров

Version number of a dll in .NET

Given the following: string file = @"c:\somepath\somefile.dll"; How can I find the file and product version numbers of that DLL using .NET? The dll can be either native or managed. Thanks.

11
голосов
3ответов
2757 просмотров

Supporting Multiple Python Versions In Your Code?

Today I tried using pyPdf 1.12 in a script I was writing that targets Python 2.6. When running my script, and even importing pyPdf, I get complaints about deprecated functionality (md5->hashsum, sets). I'd like to contribute a patch to make this work cleanly in 2.6, but I imagine the author do...

6
голосов
1ответов
1385 просмотров

Versioning for a maven project with small, very frequent releases

I'm converting an ant project to a maven one. This project differs from the ones I've usually converted since it has very frequent releases, typically 8-10 times per day. By release I mean that the resulting jar is packaged and included in the production enviroment. This project is a leaf one, s...

4
голосов
2ответов
417 просмотров

Database design: Keeping track of tag changes between revisions

I'm building a revision system similar to the one Stack Overflow has and there's one thing I can't get my head around, what's the best way to the differences in tags between multiple revisions? The simplest way I can think of is we have 3 tables, revisions, tags and another to link the two. Eac...

1
голосов
1ответов
846 просмотров

Build events and versioning .js and .css files

I have a MSBuild script set up to minify and combine my javascript and css files. What I need now is a way to version them. How are you guys currently handling this. What is the best way to incrementally version the file and update the <script/> tag with the new file name?

8
голосов
2ответов
6694 просмотров

Getting FILEVERSION from Visual C++ Resource File

Are there some preprocessor keywords to use to access the FILEVERSION defined in my .rc file at compile time? I don't really want to add extra code to read the file information from the compiled product itself.

0
голосов
1ответов
43 просмотров

Any good Mac|Linux software that will assist in writing version log files?

Pretty much the question I wrote in the title. Im just getting tired of filling in the version log text files manually all the time.

0
голосов
2ответов
200 просмотров

Experiences with phpMyVersion

I've been looking for an easy and automated way to detect changes on my database structure so I can check them into subversion and be able to roll back to older versions etc. Now I found phpMyVersion, which seems to do exactly that job. I didn't have time to look into it in great detail, but doe...

1
голосов
1ответов
1640 просмотров

MSXML: How do ask an IXMLDOMNode what version MSXML it comes from?

How can i ask what version of MSXML an IXMLDOMDocument2 is? Given an IXMLDOMDocument2 i need to create another document of the same version. If you give an IXMLDOMDocument from different versions of MSXML, you will get an exception from msxml: It is an error to mix objects from different ver...

227
голосов
16ответов
30450 просмотров

A definitive guide to API-breaking changes in .NET

I would like to gather as much information as possible regarding API versioning in .NET/CLR, and specifically how API changes do or do not break client applications. First, let's define some terms: API change - a change in the publicly visible definition of a type, including any of its public me...

15
голосов
3ответов
1821 просмотров

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 to snapshot objects. For example... Let's say I have an application that manages products. A product has multiple attributes and a...

23
голосов
4ответов
3975 просмотров

How can I automatically update Perl modules' $VERSION with Git?

Let's say, a team of programmers is doing a web application in Perl and uses git to host their code. Now they have a small problem with versioning their modules: Perl::Critic and PBP both recommend a RCS-backed $VERSION variable in code git explicitly recommends against using replaceable revis...

3
голосов
4ответов
1483 просмотров

jQuery file name

This one should be easy, and I think I know the right answer, but here goes. For compatibility reasons, should I leave the filename of jQuery as "jquery-1.3.2.min.js" or just rename it to jquery.js? My guess is leave it as is to avoid conflicts in case another app uses a different version of jQ...

5
голосов
2ответов
5899 просмотров

NHibernate filter collection

Using NHibernate I want to filter a collection in a class to contain ONLY a subset of possible objects. Below I am including a sample table data to help explain. I can find no way to do this using NHibernate. Table:DataObject DataObjectId(PK) / Name / CurrentVersion 11 "data.txt" ...

8
голосов
5ответов
5990 просмотров

Bamboo Versioning

I have a situation where i need to maintain version information of my builds. By googling i found limited information. one way is to create a version file on source control and keep updating. other is to use the source control revision number. final one is to use bamboo build number. i haven't im...

40
голосов
7ответов
28593 просмотров

Build numbers: major.minor.revision

How would you write a build.xml file, using neither custom code nor external dependencies (such as a shell script), that: Generates a build number of the form major.minor.revision (e.g., 01.02.34). Auto-increments the revision on each compile of the source code. Auto-increments the minor versio...

7
голосов
5ответов
802 просмотров

What is the proper way to handle assembly version?

I am looking forward to implementing a daily build for an upcoming project. But before doing that, I need to know how to properly version an assembly. I have the following concerns: Should each assembly have an independent version number or should they all share the same version? Should I use...

4
голосов
1ответов
3022 просмотров

WinSxS: How to take dependency on specific version of gdiplus.dll?

I need to add a dependency on a specific version of GDIPlus. This is the version of GDI+ that i want: I want to be sure that I'm using this version for a specific compatibility reason. I've added an assembly manifest to my executable, defining my dependancy on the version of GdiPlus: <de...