從 Visual Studio 2005 遷移到 2008 時要注意什麼? (What to look out for when moving from Visual Studio 2005 to 2008?)


問題描述

從 Visual Studio 2005 遷移到 2008 時要注意什麼? (What to look out for when moving from Visual Studio 2005 to 2008?)

We're planning on updating our developers from Visual Studio 2005 to 2008.  Are there any common "gotchas" to look out for during this move?  

My major concern at the moment is that we use WSE 3.0 quite a bit (mostly to consume external .asmx web services, but we also host a few ourselves).  Will that be an issue since WSE 3.0 has been replaced by WCF?

Additional background info: VB.NET application with several web sites, not web applications.  Currently using .NET 2.0 with plans to upgrade to 3.5 soon as well.

Anything else we should be concerned about?

‑‑‑‑‑

參考解法

方法 1:

I think the main issue you have to watch out for is upgrading teams.  Once you upgrade to a new version of Visual Studio, you will be forced to upgrade your project files as well.  Once the upgrade is complete the file will no longer be compatible with previous versions of Visual Studio.  This means that you will break anyone who is using the previous version of VS to develop.  The best advise is to upgrade the entire team.

The best way to work around this is to keep 2 versions of the project file around.  One for the previous version of Visual Studio and the other for the current.  This obviously has a bit of overhead.  And Once you actually start using new language features this will no longer be a sufficient as the new features likely won't compile in the old versions of Visual Studio.

方法 2:

The changes in the visual editor for things like ASP.NET projects (especially when it comes to styling elements) is very different and can be incredibly frustrating at first.

方法 3:

I've found VS05‑08 migration pretty painless. In theory, you should be able to simply open the 2005 solution in VS2008, let it convert, and everything just works.  VS2008 lets you 'target' a specific version of .NET, and the default here would be that it continues to target .NET 2.0.  That said, 3.5 is an additive update, so there should be little or no breaking changes to any .NET 2.0 code should you change to 3.5 (which is just a drop‑down‑box to change).  I'm pretty sure the WSE stuff should "just work".

In practice, things like project templates, dependencies, etc. could be an issue.  Web sites and web applications are still both supported, so I think that shouldn't be an issue either.

In the end, just make a backup of everything, then open in VS2008 and see what happens.

(by Kevin PangJaredParTheTXIDaniel)

參考文件

  1. What to look out for when moving from Visual Studio 2005 to 2008? (CC BY‑SA 3.0/4.0)

#wse #visual-studio #visual-studio-2008 #visual-studio-2005 #wcf






相關問題

Windows 2000 下的 WSE 服務器 (WSE Server under Windows 2000)

在 wse 中使用自己的異常,而不僅僅是 SoapException (Using own exceptions in wse, not only SoapException)

從Java調用.NET Web服務(WSE 2/3,WS-Security) (Calling .NET Web Service (WSE 2/3, WS-Security) from Java)

從 WCF 調用 WSE 服務的提示? (Tips for calling WSE service from WCF?)

在 Web 服務 (WSE) 中公開自定義類型(類) (exposing custom types (classes) in a web service (WSE))

在具有自定義類型的 WSE 服務中,構造函數是否在消費客戶端工作? (In WSE services, with custom types, do constructors work on the consuming client's side?)

從 Visual Studio 2005 遷移到 2008 時要注意什麼? (What to look out for when moving from Visual Studio 2005 to 2008?)

通過代理調用 WSE Web 服務 (Calling a WSE web-service though a proxy)

VS 2008 上的 WSE 2.0 SP2 (WSE 2.0 SP2 on VS 2008)

如何在使用 WCF(或 WSE 3)的 Web 服務客戶端應用程序的請求和響應中混合消息編碼類型(文本/MTOM)? (How do I mix message encoding types (Text/MTOM) in the Request & Response of a Web Service client application using WCF (or WSE 3)?)

從 wsdl 創建肥皂 Web 服務客戶端,沒有合同方法 (Create soap web service client from wsdl with no contract methods)

Windows 上的 X.509 證書入門 (Primer for X.509 certificates on Windows)







留言討論