Reputation: 1240
I have written an application in Visual Studio Express 2010 that has a reference to a Class library that I coded. For this reference I have set the "Copy Local" property to true but when I deploy this code outside of the development directory it throws an error because it cannot find the library. I thought Copy Local = True took care of this.
Any advice is appreciated.
Regards.
Upvotes: 0
Views: 110
Reputation: 445
As others have said, copy local only applies when you compile in Visual Studio. If you're using Visual Studio deployment, you may need to right click the deployment project and hit 'Refresh Dependencies.'
Upvotes: 0
Reputation: 13670
Copy Local = true
ensures that the referenced assembly is copied to the output directory on build. You still need to ensure that the referenced library gets deployed, whatever deployment method that may be.
Upvotes: 3