Sharepoint 2010 Project package: Cannot add a new project output assembly to the package

≯℡__Kan透↙ 提交于 2019-12-25 04:42:56

问题


When creating a Sharepoint 2010 project in VB.NET and wanting to deploy an additional referenced assembly you cannot add a new project output assembly to the package.

To replicate the issue:

  1. Open Sharepoint 2010 project in Visual Studio 2010
  2. Open "package\package.Package"
  3. Select "Advanced"
  4. In the Additional Assemblies area select "Add | Add assembly from Project Output..."

This error is then presented:

Cannot add a new project output assembly to the package.

The path is not of a legal form.

Any ideas on what the "path" is that is not "of a legal form"?


回答1:


Not sure, but sounds like you are hitting same bug as as Andrew Connell




回答2:


Remove any Solution Folders from your solution and you should be able to access the Add assembly from Project Output dialog.

This has been acknowledged by MS as a bug in the current Visual Studio 2010 Beta: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/2201baa0-70a0-424e-931a-f20c7c4091d6



来源:https://stackoverflow.com/questions/1901817/sharepoint-2010-project-package-cannot-add-a-new-project-output-assembly-to-the

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!