【发布时间】:2010-11-08 20:29:39
【问题描述】:
我有一个使用 VseWss 1.1 在 Visual Studio 2005 中成功创建的 MOSS 解决方案 我现在尝试升级到 Visual Studio 2008 以使用 VseWss 1.3 升级没有引发任何错误,但是现在当我尝试部署时出现以下错误:
The class id 00000000-0000-0000-0000-000000000000 exists in this Solution in both MyGlobals (C:\Code\website\MySolution\MyGlobal.cs) and MyWelcomeLayoutFeatureReceiver (C:\Code\website\MySolution\Modules\MyWelcomeLayout\MyWelcomeLayoutFeatureReceiver.cs). Class id's must be unique for deployment to succeed. The Guid attribute in each of the class files should match the feature id in the feature manifest for that particular feature.
当我尝试在 VS 中打开 WSP 视图时,我遇到了同样的错误。 我已经对我的文件进行了搜索,但它们都没有只包含零的 guid。 MyGlobals 类不是特定功能的一部分,而只是程序集的一部分(因此没有唯一的 guid!!,只有程序集有)。
有没有人遇到过这个问题并解决了,或者有任何升级提示? 谢谢
【问题讨论】:
-
我会说这是由于 VSEWSS 1.3 中的不同行为。您为什么不添加您的评论作为问题的答案,我相信如果有人有进一步的想法,他们会加入!
标签: visual-studio sharepoint moss upgrade vsewss