Visual Studio 2005扩展(WPF)和.NET 3.5 SP1问题 [英] Visual Studio 2005 Extensions (WPF) and .NET 3.5 SP1 Problem
问题描述
我正在使用VS2005 Extensions for WPF 2006年11月的CTP版本。
当我安装.NET 3.5 SP1时,我的VS2005 Extensions环境被破坏了:
之前(没有.NET 3.5 SP1):
之后(安装了.NET 3.5 SP1):
故事板.NET3.0 / 3.5的.Begin()方法有12个重载。 .NET 3.5 SP1添加了一个新的重载(无参数版本)。
我认为VS2005扩展将.NET 3.5 SP1与3.0 / 3.5混淆。我尝试在VS2005上的WPF项目中使用Begin()方法(无参数),其构建过程使用.exe文件成功。
但是当我执行。 exe文件,"MissingMethodException"被扔了。因为.NET 3.0中不存在Begin()方法(无参数)...
VS 2005的WPF扩展是一个非常早期的预览版本,不受支持且不再可用。对于WPF开发,您必须升级到Visual Studio 2008.可以在此处找到免费的Express版本:
http:// www.microsoft.com/express/
I'm using VS2005 Extensions for WPF November 2006 CTP version.
When I installed .NET 3.5 SP1, my VS2005 Extensions environment was broken like this:
before (without .NET 3.5 SP1):
after (.NET 3.5 SP1 installed):
The Storyboard.Begin() method of .NET3.0/3.5 has 12 overloads. A new overload (none argument version) added by .NET 3.5 SP1.
I think VS2005 Extensions confuses .NET 3.5 SP1 with 3.0/3.5. I try to use the Begin() method (none argument) in a WPF project on VS2005, its build process succeeded with an .exe file.
But when I execute the .exe file, "MissingMethodException" was thrown. Because the Begin() method (none argument) does not exist in .NET 3.0...
The WPF Extensions for VS 2005 were a very early preview release that is unsupported and no longer available. For WPF development you have to upgrade to Visual Studio 2008. The free Express editions can be found here:
http://www.microsoft.com/express/
这篇关于Visual Studio 2005扩展(WPF)和.NET 3.5 SP1问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!