0

What is the best strategy for making changes to a specific file within a C# .NET project and a DEV server and then moving that file to a different environment, say server B? I noticed it always wants me to recompile on the destination server and I figured I was doing something wrong because I didn't think I would have to (plus the server isn't in-house so it is really slow and time consuming).

Any suggestions or strategies you or your company uses would be appreciated.

ajdams
  • 2,276
  • 14
  • 20

3 Answers3

6
  • Make sure you are using a Web Application project where it compiles a DLL, not web site which uses loose code files.
  • You could use a source code versioning system like Subversion.
Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
0

use a source control program for source files (like SubVersion) and Cruise Control for binaries built out of those files...

Dani
  • 14,639
  • 11
  • 62
  • 110
0

For web application development my experience has been:

Developers have a development environment on their local machines that is attached to source control A DEV web server with shares to the projects created allows developers to COPY files to the web application folders manually. A TEST web server where MSI installations ONLY are used to distribute the changes for UAT A PROD web server where MSI installations ONLY are used to distribute the UAT approved MSI

The size of projects I am involved with usually makes build scripts overkill, most times a project is being worked on it is built many times for debugging etc.

WACM161
  • 1,013
  • 2
  • 9
  • 20