How to stop Windows from blocking an assembly

  • Thread starter Thread starter jehugaleahsa
  • Start date Start date
J

jehugaleahsa

Hello:

I have an assembly from Novell. Everytime I build the library that
depends on it, Windows blocks the assembly.

I have to manually go out to the location of the assembly, go to its
properties and click "Unblock".

I have never had to do that for any other assembly before.

I would like to stop having to do this. I have to do it repeatedly,
which I think has to do with the assembly being copied.

What is the work around?

Thanks,
Travis
 
If you're using visual studio you can tell it what to do with each of the
assemblies that are being referenced. Expand the References group in
solution explorer for the project you're having problems with, right click
the reference and select properties from the drop down, and change copy
local to false. That will prevent the dll from being copied by the IDE when
you're trying to build the project. If that doesn't work, try moving the dll
into another folder and referencing it from there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top