PDA

View Full Version : $reference problem


II./JG1_Krupinski
09-13-2011, 01:50 AM
Okay, I have tried to work on my library in a few weeks. But something has happened with the $reference directive.

Now this was working, but now it suddenly doesn't without anything different.

my reference is
//$reference parts/Adlertag/Adlertag.DataAccess.dll

My dll is here
C:\Program Files (x86)\Steam\steamapps\common\il-2 sturmovik cliffs of dover\parts\Adlertag

The dll name is Adlertag.DataAccess.dll

I get the follow error, only on exit from the server.

System.IO.FileNotFoundException: Could not load file or assembly 'Adlertag.DataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I dont know what the heck happened. Can anyone shed some light here? I've been working on it for a few days without any headway.

II./JG1_Krupinski
09-13-2011, 01:48 PM
Okay I found the problem.

Last week I re-installed the game which changed my Launcher.exe.config. And of course, the new config didn't have parts/adlertag included in the probing key for assembly bindings.

Labroisse
09-13-2011, 04:44 PM
Ignore him, he talks to himself alot. :-P

335th_GRAthos
09-13-2011, 05:19 PM
Ignore him, he talks to himself alot. :-P



R O F L !!!! :grin:


PS. Nevertheless, thanks for sharing the answer Krupi...

II./JG1_Krupinski
09-13-2011, 08:08 PM
Ignore him, he talks to himself alot. :-P

/sigh