Search

Add Deployable Dependencies missing from VS11 beta by Sly.Gryphon

Closed
as By Design Help for as By Design

1
0
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
2
Workaround(s)
0
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.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 11 Beta

Steps to reproduce

1. Open (or create) an ASP.NET MVC 3 project in VS 2010.
2. Right click on the web project and note the "Add Deployable Dependencies..." context menu option (this creates a _bin_deployable folder and puts the required DLLs there).
3. Open the same project in VS11 Beta
4. Right click on the web project and look at the context menu
5. Type "Add" (or "Deployable") in the quick launch search box and look at the available menu items

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.

Product Language

English

Operating System

Windows 7

Operating System Language

English (Australian)

Actual results

There does not appear to be an equivalent option in VS 11.

Expected results

There should be an equivalent option, i.e. should not have to do the work around via VS 2010. The menu option should be findable in the Quick Launch.
File Attachments
0 attachments
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.

Thanks,
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.