Export (0) Print
Expand All
Expand Minimize

Add Deployable Dependencies Dialog Box

.NET Framework 4

The Add Deployable Dependencies dialog box lets you add assemblies (DLL files) to a Web site project or Web application project. When you deploy your Web site or application, the files are included in the deployed project. This is useful if applications or technologies that your project depends on are not already installed on the server that will host your Web project. For example, you can use this feature to deploy an ASP.NET MVC 3 Web application to a server that does not have ASP.NET MVC 3 installed.

NoteNote

The Add Deployable Dependencies dialog box appears only in Visual Studio 2010 Service Pack 1 or later versions of Visual Studio.

To use this dialog box

  1. In Solution Explorer, right-click the name of the project.

  2. Select Add Deployable Dependencies.

  3. Select any of the following options:

    • ASP.NET Web Pages with Razor Syntax

    • SQL Server Compact

    • ASP.NET MVC

ASP.NET Web Pages with Razor Syntax

Select this option to add the assemblies that enable ASP.NET Razor syntax in your project. For more information, see Walkthrough: Creating a Web Site using Razor Syntax in Visual Studio and Program ASP.NET Web Pages in Visual Studio.

SQL Server Compact

Select this option to add assemblies that let you use SQL Server Compact as a database engine in your project. For more information, see Walkthrough: Working with SQL Server Compact in Visual Studio and the entry Microsoft SQL Server Compact 4.0 is available for download on the SQL Server Compact team blog.

ASP.NET MVC

Select this option to add assemblies that enable ASP.NET MVC 3 in your project. For information, see the MVC Content Map on the MSDN Web site.

In a Web site project, the assemblies are added to the Bin folder. In a Web application project, the assemblies are added to the _bin_deployableAssemblies folder directly under the project root. If the folder does not exist when you add the dependency, it is created.

NoteNote

If you have to delete the assemblies after you have added them to your project, you can delete them manually by using Solution Explorer. You cannot use the Add Deployable Dependencies dialog box to remove them.

Community Additions

ADD
Show:
© 2014 Microsoft