Questions tagged [dll-reference]
61 questions
2
votes
1 answer
Difference between Reference, Template, and a NuGet package?
What is the difference between a NuGet package, a Reference (is reference similar to a tool?), and a template in Visual Studio?
Why do we need them?
What is done / changed in our project when we install each one of them?
Are they dependent on each…

Anubhav Dhawan
- 1,431
- 6
- 19
- 35
2
votes
2 answers
File or Assembly Cannot be Loaded Error
I am working on a Setup program which creates a .msi file. There is a CustomAction program associated with it which is written in C#. There are three COM object references made in this CustomAction program which are necessary in order for it to…

Sach
- 10,091
- 8
- 47
- 84
2
votes
2 answers
Reference VB.NET DLL in Kofax Document Validation Script
We are working on a validation script for Kofax Capture 9.0 / 10.0 in VB.NET 3.5.
We know how to create a script using the Admin Module, and how to get it operational.
The problem is that we need to reference a dll, located on a remote machine. (GAC…

Knots
- 551
- 8
- 19
2
votes
0 answers
Visual Studio 2012 indirect reference not copying dlls to bin
I am using Visual Studio 2012. The projects in question are in VB.Net.
I have a Web Project (MVC3) which references another project we'll call it the webLogic.dll it's basically the go between from the web site to the database. The webLogic.dll has…

Jack
- 186
- 1
- 11
2
votes
3 answers
How to reference C# dll located in different folder to a C# winforms exe in different folder which uses Interface exposed by that dll
I have a C# windows forms that uses a Utility.dll located in different folder than that of the EXE location. Utility.dll contains a class UtilityClass and an interface ILoadString. When i do not inherit ILoadString interface in my Form1.cs class, i…

Ezhirko
- 23
- 1
- 6
2
votes
1 answer
How to configure my project to work on 64bit and 32 bit machines
I have a project which configured for "Any CPU".
Now I have to refer a third party dll which has x86 and x64 compiled versions seperately(I cant get AnyCPU version of third party dll).
I have changed the configuration file of my project to refer…

PSR
- 875
- 2
- 13
- 37
2
votes
1 answer
How do I reference a dll from SSIS in 2012?
I am trying to add a dll reference to my SSIS package (2012) with a script Component. The IntelliSense is working for me and I don't see error when coding. However, I get the following error:
Could not load file or assembly 'XYZ, Version=1.0.0.0,…

Esey
- 241
- 1
- 2
- 5
1
vote
1 answer
Project reference dll --> FileLoadException
I'm having a problem with project references in .Net
I have three projects:
Console Application
MVC 3 Web Application
Class library (Mails)
Both console and web apps reference the Mails project.
Mails project references RazorEngine.dll.
Now, when I…

gonza89
- 85
- 1
- 9
1
vote
0 answers
Dynamic-Link Library .Net ignore reference Path
Hi everyone i'm having some problems with Dlls for some reason in run time, Dynamic-Link Library is loading wrong library and this is breaking my dependencies:
Reference in Reference Manager:
Reference in dynamic loader:
Anyone can help me?

Paulo Dos Santos Júnior
- 41
- 1
- 6
1
vote
0 answers
DLL dependency from different installation folder not found in ASP.NET website
I have created a .NET Framework 4.7.2 website with a WCF service. To expose data through this service, I have to reference a third party DLL with Copy Local = False from C:\InstallLocation. The website is loading this DLL at runtime, but I get an…

naxtell
- 11
- 3
1
vote
2 answers
Impact of adding dll reference vs project reference
Is there any build time impact ? We have around 30 projects in our .Net solution and they shared projects are added by project reference. I am thinking to change to dll reference instead to see if there is any build performance gain.
Did anyone have…

user2837167
- 221
- 1
- 5
- 15
1
vote
1 answer
How does the fusion assembly loader decide which DLL version to load
Keeping things simple, assume are no DLLs in the local folder, or configuration files involved, or publisher policies, or custom resolution. The only place referenced DLLs are is in the GAC.
How does fusion decide which version of the DLLs in the…

Lee
- 1,591
- 1
- 14
- 28
1
vote
1 answer
ASP.NET || VsualStudio || Could not load file or assembly ? What Can I Do?
I'm trying to use the "login and register" the comes with the MVC 4, when i fill in the register page (User name and passwords fields) and hit the "register" button this exception pop up:
I got this error and i tried a couple of things...nothing…

Ron
- 1,744
- 6
- 27
- 53
1
vote
0 answers
Visual Studio DLL References - Using Relative Paths And $(ConfigurationName) To Select The Corresponding DLL?
I have 2 separate Visual Studio C# solutions. One solution contains projects that generate DLL files (class library projects) and the other solution contains projects that depend on the DLL files from the other solution.
I have two questions about…

Jan Tacci
- 3,131
- 16
- 63
- 83
1
vote
2 answers
asp.net: Should dropping dlls into the Bin folder work in asp.net MVC?
I am using Visual Stidio 2010 Beta 2 and just started using MVC, I copied a bunch of dlls into a Bin folder and Included this Bin folder in the project. It seems that there is no reference to these dlls from Controller classes?
Is this an MVC thing,…

Mark Redman
- 24,079
- 20
- 92
- 147