Sharepoint 2010 Project package: Cannot add a new project output assembly to the package
-
19-09-2019 - |
Question
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:
- Open Sharepoint 2010 project in Visual Studio 2010
- Open "package\package.Package"
- Select "Advanced"
- 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"?
Solution
Not sure, but sounds like you are hitting same bug as as Andrew Connell
OTHER TIPS
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow