Export (0) Print
Expand All

Add Deployable Dependencies Dialog Box

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

Note Note

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 one or both of the following options:

    • ASP.NET Web Pages with Razor Syntax

    • SQL Server Compact

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 ASP.NET Web Pages with Razor Syntax.

SQL Server Compact

Select this option to add assemblies that enable the use of SQL Server Compact in your project. For more information, see Introducing SQL Server Compact 4.0, the Next Gen Embedded Database from Microsoft.

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.

Note Note

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.

Show:
© 2014 Microsoft