Hi Guys,
I’m looking to integrate a certain API into our system and have been looking through the demo code that they have supplied.
I have noticed that several classes inherit from classes that are contained within a tools.dll file in the bin folder of the solution. I need to figure out how this dll is being generated so that I can reuse these classes in my own code but struggling to understand where they are coming from.
Tools.dll in References list
If we take this Input class for example, the tooltip shows that this class is contained within the Misc folder but the solution explorer shows a single class file that makes no reference to Input.
Input class usage example and tooltip suggested path
If I look at the Object Explorer in Container view as below, I can see that these classes are contained within the Tools container.
Object Explorer – Tools Container showing required classes under Misc folder
As this dll is in the bin folder am I correct in assuming that the program has generated the dll somewhere or do I just need to drop this dll into my bin folder in my program? Would really appreciate anyone who could offer some advice, thanks.
Can you right click on the reference and get the properties. That should show the file path.
Edit the .csproj file and there is likely a reference to Tools in there.
It may not be build from source (project reference), might be included as just a .dll file (e.g. in a lib folder which is then copied to bin folder to be used at runtime)
The tooltips are showing namespaces, not physical folders.
Hey, thanks for having a look.
I know where the dll is located but what I don’t know is what is generating it as the file is in the binDebug folder and regenerates on compile?
If I look in the .csproj I can see:
<Reference Include=”Tools, Version=[1.3.0.0](https://1.3.0.0), Culture=neutral, processorArchitecture=MSIL”>
<SpecificVersion>False</SpecificVersion>
<HintPath>binDebugTools.dll</HintPath>
C# devs
null reference exceptions