Questions tagged [project-reference]
161 questions
0
votes
1 answer
How to solve this error: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version 2.0.50727.0'
This question to which I already found the answer is posted here in case of someone else encounters it. I decided to post the Q&A here so that SO has something about this error, since I don't know if it's been here before.
This occured after an…

Will Marcouiller
- 23,773
- 22
- 96
- 162
0
votes
1 answer
Project References in Visual Studio suddenly not working on a workstation
I've got a solution with several references, but some of them stopped working when I opened Visual Studio today. The build error I get is:
Reference required to assembly 'ReferenceName, Version=X.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXX,…

user3080777
- 3
- 1
- 6
0
votes
1 answer
Reference Chains causing duplicate references/ambiguous calls
I have a solution with an MVC UI which references DevExpress libraries.
I have a separate dll that I've referenced as a helper, which was build using DevExpress libraries, thus:
MyFramework -> DevEx libs
Build to dll(s)
MyWebUI -> DevEx…

jleach
- 7,410
- 3
- 33
- 60
0
votes
0 answers
How to use C# dll in F# project? Getting yellow triangle with an exclamation mark
I need to maintain a F# project. Right now I need to import a C# dll and make use a function in there.
What I have done is that in the F# solution, I have added the C# project, then in the F# project, I have added this new C# project as a reference.…

Ji_in_coding
- 1,691
- 1
- 14
- 17
0
votes
3 answers
nuget reference from other solution
I have 2 solutions:
Solution1
Project1.1: references nuget package NU1
Solution2
Project2.1: references Solution1 / Project1.1
When I build Solution2 it fails because nuget pulls the NU1 package to the packages of Solution2, and when…

Reinhard Mayr
- 59
- 10
0
votes
1 answer
add reference to use interface in Visual Studio
I wanted to add reference to Visual Studio project.
I made dnc framework in project json.
It writes that Interface is available in that framework, But error is occurring.
How can I solve this to use this interface.
public abstract class…

user3123521
- 79
- 1
- 1
- 8
0
votes
0 answers
Link with another project's .obj files for GoogleTest using project references
The problem is specific to VS2010.
I couldn't reproduce it in a simple case to give an MCVE (see below).
There is some old, legacy project. It has (among others) 3 C++ projects:
GoogleTestingFramework - a .lib project that delivers features…

Sokeks
- 47
- 8
0
votes
1 answer
Reference conflict with System.Net.FtpClient
I have an old C# .NET 2.0 application, and I need to add a FTP client (cannot make due with the simple FtpWebRequest alas) and have tried to include the System.Net.FtpClient from https://netftp.codeplex.com/
This code autocompletes just fine when I…

runholen
- 850
- 11
- 24
0
votes
1 answer
Conditionally Copy Dependencies MSBuild
We have our solution set up so that Project A References Project B, Project B references Project C, and Project C has a .NET wrapper that references native DLLs.
A -> B -> C -> Native DLLs via .NET Wrapper
The reason for the convolution is we are…

Clark
- 478
- 6
- 14
0
votes
1 answer
Visual Studio Project dependencies in svn
I imported an existing project in our solution. Afterwards I changed the references from an "external dll" to a project reference. (Delete Reference / Add Reference).
I built the project and everything worked. Later that day a co worker updated the…

wydy
- 71
- 12
0
votes
1 answer
Reference from assembly to DLL in Visual Studio solution
Say, that we have .NET application App along with additional assembly ClassLibrary, which, in turn, uses native DLL called Library. All these are in single solution, so I may set up the dependencies etc.
The catch is, that I want the Library to be…

Spook
- 25,318
- 18
- 90
- 167
0
votes
1 answer
Cannot add library in VC++ 2008: My System is Different
Hopefully someone can tell me what's going on here. I'm trying to link to gdiplus.lib and I tried to go to "Properties - Linker - Input - Additional Dependencies" to add the library but I do NOT have that section. I'm using Visual C++ 2008. …

jstm88
- 3,335
- 4
- 38
- 55
0
votes
4 answers
Visual Studio 2008 - Project without DLL
I need to add a reference to a project to do some reflection. But it seems that this project doesn't have a .DLL file (even after building it).
Can this happen?

Amokrane Chentir
- 29,907
- 37
- 114
- 158
0
votes
1 answer
Program1.run(Program2); HowTo: Program2.finish()?Program1.continue():Program1.wait();
I have two Java programs. The "first"/"Main" one implements a search algorithm and the "other"/"second" one uses Repast simulation framework for running a Multi-agent simulation. In the "first" Java program I have the following code block:
Class…

Evan
- 207
- 2
- 3
- 12
0
votes
2 answers
How to show a VB.NET form based on a referenced C# assembly event firing?
My first time asking a question here so apologies upfront if I'm not doing this right. I could not find anything with the search.
I inherited a VB.NET legacy Windows Application project. Any and all new additions as far as possible I would like to…

user3510816
- 3
- 1