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

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

UI Elements

File Location

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

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.

See Also

Web Deployment Overview for Visual Studio and ASP.NET
Introduction to ASP.NET Web Programming Using the Razor Syntax