Questions tagged [dll-reference]

61 questions
0
votes
0 answers

VB.NET External control - Need to include with setup?

I developed a new label control and compiled it into a DLL which I am using in one of my other apps. The problem is, the app fails to launch in the target environment if I don't include the label control's DLL with the setup and install it in the…
AntikM
  • 636
  • 4
  • 13
  • 28
0
votes
0 answers

How to check inside dll that some library referenced in project where that library used?

Is there a way to check that some library (assume dll) referenced in project. Example public void SomeFunction() if(libraryReferenced){ // } } And in outer project //Library not Referenced MyDll.SomeFunction(); In my dll function //…
Alexandr Sargsyan
  • 656
  • 1
  • 6
  • 21
0
votes
1 answer

Where are the DLL's referenced in my .net C++ Dll/Tlb?

I created a .net C++ dll, which I then converted to a tlb file for use in a native C++ application. I referenced other external dll's in my dll. Now, I am trying to deploy, and want to copy over the referenced dll's to the deployment computer. Where…
user228058
  • 465
  • 1
  • 7
  • 22
0
votes
1 answer

Build a project with relative path to dll

I have created a c# project in it I reference system.windows.interactivity.dll. What I'm wondering is how to set the project up so that when I build the *.exe I get this sort of structure: Program Folder program.exe Libraries Folder …
Hank
  • 2,456
  • 3
  • 35
  • 83
0
votes
0 answers

Reference whole framework into Roslyn

Currently, I'm building a C#-Console that allows me to enter any C# code into a CMD for instant execution. For this approach I'm using the Roslyn compiler, because it allows me to add more code into a session object on every command, so it's…
Martin Braun
  • 10,906
  • 9
  • 64
  • 105
0
votes
1 answer

WCF Data Services, WindowsAzure.Storage and Microsoft.Data.OData version nightmare

I am using Visual Studio 2015 (Pre), Framework 4.5.2 I have the folowing project structure StorageProject nuget package Microsoft.WidowsAzure.Storage is installed This Nuget package has (among others) dependencies on Microsoft.Data.OData, wich is…
Johnny5
  • 6,664
  • 3
  • 45
  • 78
0
votes
1 answer

How does visual studio know my DLL needs to be copied

Our solution has a "Lib" folder, which contains a DLL ("A.dll") stored in source control. My Project looks like the following (simplified): Website - References - * Reference to A.dll from Lib folder below * - Content - Lib - A.dll (Build Action:…
Lee
  • 1,591
  • 1
  • 14
  • 28
0
votes
2 answers

How to reference the Paint.NET assemblies directly using C#

I wanted to reference the Paint.NET assemblies directly and use a its functionality that way. i dont know how to use the .dll file PaintDotNet.Core.dll and use it functionality in C# visual studio any helps. Please want to reference to these…
Stacy Kebler
  • 180
  • 1
  • 3
  • 22
0
votes
1 answer

How to "carry" references across projects

I have 2 projects: X and Y. Project X is a class lib that references, lets say, EF 6. Project Y as a console app that references X. Why do i get a cannot load dependency exception if i do not add, lets say, EF 6 to project Y? Is there a way to…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
0
votes
0 answers

Project Reference Compilation Error

In my C# solution, there is a web service project in which adding project reference of a class library project does not work, it throws compilation error saying - The type or namespace name 'xyz' does not exist in the namespace 'abc.pqr' (are you…
CuriousBenjamin
  • 709
  • 1
  • 9
  • 26
0
votes
1 answer

VS2012 Choosing between x86, x64, AnyCPU, AnyCPU32bitpreferred and Referencing 3rd Party DLLs

I am looking for advice for the best way to set up a new VS2012 C# project. I want to target both x86 and x64 architectures. However, I have 3rd Party DLLs that I must reference. There are two versions of the same DLL provided; one compiled for…
bbs_chad
  • 75
  • 1
  • 6
0
votes
1 answer

What is the recommended TFS structure.

We are trying to move from our current source control to a TFS as a source control. Right now we have all projects as project references. Our organization is small and we have a lot of common projects that are used by various development teams and…
gurrawar
  • 363
  • 2
  • 8
  • 17
0
votes
1 answer

Removing a reference to System.Web.Mvc 2

Visual Studio 2010 Asp.Net Web Project (this is not mvc project) I have a kentico CMS web project that i have just upgraded to new version. This new version uses System.Web.Mvc 3. I need to remove System.Web.Mvc 2 reference. I am not seeing this…
learning...
  • 3,104
  • 10
  • 58
  • 96
-1
votes
1 answer

Unable to reference dll included in a Nuget Package

I'm having an weird issue where I am not able to reference a dll included inside a nuget package. Strange thing is that everyone else that uses this package is able to reference this dll and use classes from it. Is there a certain setting in my…
-1
votes
1 answer

c# Project reference

Reading MSDN's documentation, I was left uncertain. Setting: I have project A referencing some dll X, and project B project-referencing project A, and requiring dll X as well. Would I need to add a reference to dll X to both projects, or would the…
yuvalm2
  • 866
  • 2
  • 10
  • 27