Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: referenced assembly


Message #1 by "DT-Rene Vazquez" <renevazquez@c...> on Thu, 6 Mar 2003 11:30:13 -0500
Hi there,

I think it makes sense. When you set copy local to True, VS copies the 
assembly to your bin folder. At run time, this will be the location where 
assemblies are looked for.
If you don't copy it local, at run time the file is not available, so your 
app doesn't work. There are a few ways around it, one of which is to simply 
set copy local to true. This will copy the assembly to your app's bin 
folder so everything is OK.

Another solution is to register your assembly in the GAC (The Global 
Assembly Cache). This way, your assembly will be available to other apps 
without the need to copy these assemblies to each app's local bin folder.

HtH

Imar



At 11:30 AM 3/6/2003 -0500, you wrote:
>Hi, I have an assembly which referente another, when I make the Copy
>local = false I get the error:  "File or assembly name EntityManager, or
>one of its dependencies, was not found"
>
>Has anyone dealt with this?
>
>Thanks a lot...



  Return to Index