SharpCrafters Forum – Build Fails because runtime loaded DLL missing

SharpCrafters Support Forum

        


Build Fails because runtime loaded DLL... Expand / Collapse
Author
Message
Posted 8/19/2009 12:35:11 PM


Community Member
We load a 32bit or 64bit dll in our code using the following event:
AppDomain.CurrentDomain.AssemblyResolve += AssemblyResolutionHelper.StreamingClientResolver

Because of this approach, the DLL is not available in the output folder during the build.  Is there a way to tell PostSharp to skip processing external referenced DLLs?
Post #2356
Posted 8/19/2009 12:39:25 PM


Gael Fraiteur

SharpCrafters
No, this is not possible (at least not easily -- the feature exists but is not accessible from the MSBuild task or the command-line utility).

But you can tell PostSharp where the library is using VS reference path (in VS project properties), or edit your csproj file and define the property PostSharpSearchPath.

-g
Post #2357
« Prev Topic | Next Topic »


All times are GMT +1:00, Time now is 9:56pm

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.192. 9 queries. Compression Disabled.