开发者

VS 2008 - Procedure to ship C#/WPF solution to ensure compatibility

I am attempting to collaborate on a C#/WPF project with another developer remotely via e-mail; and although the code compiles perfectly when it leaves, my collaborator has not been able to compile the code on his side. We are both using VS 2008 Version 9. This is the first time trying to work with someone else on an application and I was hoping that someone would advise me if there are any suggestions to obtain and ensure compatibility between the two of us? Additionally, is there a recommended procedure to prepare the solution for shipment (ie. just zip up the solution folder? exp开发者_JAVA百科ort the application? etc.)?

Thanks very much.


I'd suggest using a central source control server with something like SVN, GIT or Mercurial, this way you do not have to transfer the project by email, you just commit (and in case of GIT push) the changes and the other can merge them easily with his modifications.

Possible Problems are:

  • Different installed .NET Frameworks.
  • Referenced Assemblies might be installed at another path.
  • Different Assembly-Versions.
  • Hardcoded Paths in project settings.


Our most common issue with WPF and Visual Studio was one of us having .NET 3.5 and the other .NET 3.5 SP1... Try installing the service pack on both machines.

You could also tell us what compile errors you are getting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜