Home Dashboard Directory Help

Add Deployable Dependencies missing from VS11 beta by Sly.Gryphon


 as By Design Help for as By Design

Sign in
to vote
Type: Bug
ID: 735553
Opened: 4/4/2012 10:47:28 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
User(s) can reproduce this bug


The "Add Deployable Dependencies..." context menu action for ASP.NET MVC 3 projects is not available in VS11 Beta.
Sign in to post a comment.
Posted by Sly.Gryphon on 4/10/2012 at 8:35 PM
Okay, so this is only an issue if you create an MVC 3 project in VS 2010 (without bin deployable), then upgrade it to VS 11, then want to change to bin deployable.

This could still be flagged as a warning in the upgrade/conversion report, maybe with an option/suggestion to change to Nuget.
Posted by Microsoft on 4/10/2012 at 1:55 PM
Hi Sly,

The "Add Deployable Dependencies" feature was removed from Visual Studio 11. It was removed because it is no longer needed. All the web project types in Visual Studio 11, including MVC, Razor, Web API, and others, are already set up to be automatically bin-deployable. That is, no additional actions are needed by the developer in order to "add deployable dependencies" because they're already all added to the project. This is done automatically because NuGet is used to add all the project references, and it always adds everything as a deployable reference.

The ASP.NET Team
Posted by MS-Moderator08 [Feedback Moderator] on 4/5/2012 at 2:12 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 4/4/2012 at 11:55 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Sly.Gryphon on 4/10/2012 at 8:56 PM
After upgrading to VS11 there is no Add Deployable Dependencies option, instead:

* Right click the project (in VS11) and select "Manage NuGet Packages..."
* See that the Installed packages do not include MVC3
* Cancel and go to Tools -> Library Package Manager -> Package Manager Console
* At the command line enter: Install-Package AspNetMvc -Version 3.0.20105.0
* This will install the old version of ASP.NET MVC and dependencies

Publishing will now include all the required dependencies.

Posted by Sly.Gryphon on 4/4/2012 at 10:48 PM
Work around:
* Open the solution/project in VS2010 and select the "Add Deployable Dependencies..."
menu option.
* Close VS2010
* Re-open the solution VS11 Beta and compile.