Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Using Dll's located in ProgramFiles (x86)

$
0
0

Alright I've searched for a while off and on over the past 2 months  and I figured it was time to ask this here. I have a combination of DLLs that are trying to be loaded from a ProgramFiles sub folder. These include .net dlls, as well as C dll's that are being loaded via DLLImport inside some of these .net dlls.

My issue is it seems to me that they need to be registered as some sort of System file or running with administrative permissions or something because if My app tries to use them directly from said location it always complains that the file(s) and/or their dependancies could not be loaded. HOWEVER If I put all the above files directly into root there is no problem. I've looked into GACUtils as it seems to be the only relevant thing, but upon lots of looking around it seems that you must have some development tools from win7/.net 4.0 SDK in order to use GACUtils(which on the runtime users pc isnt going to cut it)

I understand the dll files could always be imported with each project made, but its apart of a collection me and a few friends are trying to put together as an installable framework. If anyone could point us in the right direction to solving this issue(of not being usable while in ProgramFiles) wed be very grateful!


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>