Export (0) Print
Expand All

How to: Use an Assembly from the Web in Visual Studio

Visual Studio 2010

This topic shows how to use an assembly that you download from the Web in Visual Studio. For security reasons, Visual Studio blocks you from loading a Web assembly in the Choose Items and Add Reference dialog boxes.

Caution noteCaution

Unblocking an assembly that is downloaded from the Web gives it Full Trust. Only unblock assemblies that you trust.

To unblock a Web assembly

  1. Close Visual Studio.

  2. Using Windows Explorer, browse to the assembly that you downloaded from the Web.

  3. Right-click the assembly, and from the shortcut menu, select Properties.

    The Properties dialog box opens.

  4. On the General tab, click the Unblock button to indicate that this assembly is trusted

    NoteNote

    The Unblock button will not appear if the assembly is already unblocked and available.

  5. Click OK to close the Properties dialog box.

  6. Restart Visual Studio and open your project.

    You should now be able to browse to the assembly in the Choose Items or Add Reference dialog boxes.

Community Additions

ADD
Show:
© 2014 Microsoft