probing

Using <codebase> element in app.config

Hi guys, I intend to keep few dll's in a folder other than the bin folder for my .NET 3.5 Windows application. I am unsure of how would I use the codebase element or the probing element to specify the right path. This is what I have in the app.config file now, <runtime> <assemblyBinding> <dependentAssembly> <assemblyIdentity na...

Probing is not working Asp.net 2.0

In my application(ASP.Net2.0),need to group the dlls. So that I used probing ande modified the web.config as follows <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="bin;../../../Runtime/Satellite"/> </assemblyBinding> </runtime> It is not working in Asp.net2.0. Please help me ...

System.DirectoryServices.AccountManagement functions fail to probe some machines (but not others)

Both the working and failing targets are machines in the same domain. Code is down below. When I use it against some machines in my domain, I get a System.DirectoryServices.AccountManagement.PrincipalOperationException with a message: "While trying to retrieve the authorization groups, an error (1332) occurred." The error is thrown by Ge...

Probing .NET Assembly with Registration Free COM/.NET Interop

We have one assembly that is used by the VB6 executable via COM Interop. This assembly uses other .NET assembly (not available for COM). We have defined a .manifest for our VB6 application, so that we can use the .NET assembly without registration. We also defined a .config for our VB6 application, with probing settings, to look in subdi...

Post Build event that puts all extra .dlls in bin directory using probing

I have WPF assembly with a bunch of other dlls in my project I want to move everything except the main assembly and the app.config from the build directory to a subdirectory called bin this is easy when I add the probing tag to my app.config and do it manually (a cut and paste job) <configuration> <connectionStrings> <add name="...

MsBuild does not look in the good directory for custom task's second-level dependencies

I wrote a MsBuild Task : MyTask. In my solution, I have the Task project and others projects. MyTask references a project (say ProjA) which references third assemblies, say (dep1 and dep2). The projects all builds well and I have the outputs in one directory (Compil). In this directory i have all the dll's I want : MyTask.dll, ProjA.dll...