在 Visual Studio 2008 Command Prompt 下执行命令:
devenv /ResetSkipPkgs
这样再创建 Silverlight 程序,就很顺利了.
Visual Studio 2008 Command Prompt 工具可以在:开始–>所有程序–>Microsoft Visual Studio 2008–>Visual Studio Tools 下找到.
执行那条命令的作用,别人是的解释如下(这里就直接引用过来吧):
"The command will try to load any Visual Studio packages that failed previously at some point, such as the WPF project flavor package, which would cause the error message you’re seeing."
From:http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=707955&SiteID=1
大概意思应该是说这条命令会重新加载 Visual Studio 以前加载失败的包.
好了,到此为止,我已经可以成功创建 Silverlight 项目了,去体验下先:)