Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying a .Net App Source Control (SVN) over 32-bit AND 64-bit dev stations

Here is the situation :
Our Dev Team has heterogeneous OS systems, scattered between 32-bit and 64-bit. This is not ideal, we are actually planning to homogenize our infrastructure, but in the meantime we have to deal with it.

The issue is that when a 32-bit developer checks out a 64-bit solution on SVN, he has to manually change the target platforms all over again to get it compiled (not to mention other side problems)

My question is :
What clean (though temporary) solution could be addressed in such situation, permitting each developer to keep his default project/platform settings while checking out and in from SVN.

I guess that -at least for the first time a project/solution is checked out, a dev still has to tweak the setting manually to compile it properly. After that, according to relevant SVN filters, it is possible to ignore some settings files (which ones, by the way?)

I am open to all clever and detailed suggestions.

Thanks.

like image 310
Mehdi LAMRANI Avatar asked Nov 18 '25 22:11

Mehdi LAMRANI


1 Answers

Are you checking in .suo and .user files into source control? As these should be developer specific and should not be included. Pretty sure the suo maintains the build state of the project for each user.

Another option, is execute builds from scripts. For example I have 4 different build script files wired up with autohotkey to build in the background release and debug mode version of a project. This can be configured via msbuild or nant on how you want the project's configuration to look.

This has a benefit of not tying up visual studio.

It has a downside of further work customizing your solution, but long term I think you're in a better situation.

like image 199
Jafin Avatar answered Nov 21 '25 13:11

Jafin