|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Installing .net assemblies windows installerI have some application which I install to clients computers using a vb.net setup and deployment project For some .net assemblies (not part of the GAC) I want to install them to a subfolder under my program folder to make the main folder less cluttered I install them to \DLLs folder as part of the windows installer setup Some assemblies I have found have to be in the same folder as the program.exe otherwise I get an error when running the program that it could not be found. Others are OK Is it acceptable to locate them in a subfolder of the main program on the clients computer or should I put them in the same folder as the .exe? Regards Steve Hello Steve ,
You can put the dll`s in a sub folder however you must then put a section in the config file there are more elements to use for this but i guess that probing is the most apropriate in your situation Specifies application base subdirectories to search for assemblies <probing privatePath="paths"/> Example : <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="bin;bin2\subbin;bin3"/> </assemblyBinding> </runtime> </configuration> Regards Michel Posseth [MCP] Show quoteHide quote "steve" <ga630sf@newsgroups.nospam> schreef in bericht news:uTceX1UBHHA.4892@TK2MSFTNGP04.phx.gbl... > Hi All > > I have some application which I install to clients computers using a > vb.net setup and deployment project > > For some .net assemblies (not part of the GAC) I want to install them to a > subfolder under my program folder to make the main folder less cluttered > > I install them to \DLLs folder as part of the windows installer setup > > Some assemblies I have found have to be in the same folder as the > program.exe otherwise I get an error when running the program that it > could not be found. > > Others are OK > > Is it acceptable to locate them in a subfolder of the main program on the > clients computer or should I put them in the same folder as the .exe? > > Regards > Steve > Hi Michel
Thanks for the reply Works a treat Regards Steve Show quoteHide quote "Michel Posseth [MCP]" <M***@posseth.com> wrote in message news:OIkZmCWBHHA.996@TK2MSFTNGP02.phx.gbl... > Hello Steve , > > You can put the dll`s in a sub folder however you must then put a section > in the config file > > there are more elements to use for this but i guess that probing is the > most apropriate in your situation > > Specifies application base subdirectories to search for assemblies > > <probing privatePath="paths"/> > > Example : > > <configuration> > <runtime> > <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> > <probing privatePath="bin;bin2\subbin;bin3"/> > </assemblyBinding> > </runtime> > </configuration> > > > Regards > > Michel Posseth [MCP] > > > "steve" <ga630sf@newsgroups.nospam> schreef in bericht > news:uTceX1UBHHA.4892@TK2MSFTNGP04.phx.gbl... >> Hi All >> >> I have some application which I install to clients computers using a >> vb.net setup and deployment project >> >> For some .net assemblies (not part of the GAC) I want to install them to >> a subfolder under my program folder to make the main folder less >> cluttered >> >> I install them to \DLLs folder as part of the windows installer setup >> >> Some assemblies I have found have to be in the same folder as the >> program.exe otherwise I get an error when running the program that it >> could not be found. >> >> Others are OK >> >> Is it acceptable to locate them in a subfolder of the main program on the >> clients computer or should I put them in the same folder as the .exe? >> >> Regards >> Steve >> > >
Location for shared Access database
Make copy of arraylist newbie: is this the appropriate use of a class? Getting the current procedure name? String manipulation question How to properly "name" a class library? Printign data over form Function to measure text length AUTOMATIC FONTS Newbie: Textbox text from string |
|||||||||||||||||||||||