Questions tagged [project-reference]
161 questions
1
vote
1 answer
Cannot access referenced project constants
I'm having an issue using a module across multiple project in the same solution (a regular project and a test project for unit tests). I'm trying to follow the example code from http://msdn.microsoft.com/en-us/library/ms182532(v=vs.110).aspx (but…

Capellan
- 717
- 6
- 15
1
vote
1 answer
incorrect project reference GUIDs
I have projects in Visual Studio solution that have project references that include the wrong GUID for the referenced project. (don't know why, some of them may be recreated etc.)
The solution is loading a even build correctly, but I'm not sure what…

Chatumbabub
- 1,557
- 2
- 18
- 30
1
vote
1 answer
Project still tries to load symbols from removed reference? (Ninject.NameScope extension)
I've got a weird issue that seems to be slowing down my project. I installed the Ninject NamedScope extension into my project, but later found out I didn't need it and removed it. However, when I run the project at the bottom of visual studio it…

SventoryMang
- 10,275
- 15
- 70
- 113
1
vote
1 answer
Unit Tests in VS2008 force rebuild of all dependencies
Why, when I go through my unit tests in VS2008 - either using run or debug - does VS insist on rebuilding all the dependencies of the test project i.e. the projects that I'm testing in the unit tests?
Sometimes they haven't changed - I've just…

Isaac Abraham
- 3,422
- 2
- 23
- 26
1
vote
1 answer
Drag and drop project to references folder
(Visual Studio 2012)
Is there any way to create a solution reference by simple dragging the solution item (project) inside the other's project references folder? Like this?
http://i.snag.gy/p692V.jpg
Some kind of plugin or add in or something?

AgentFire
- 8,944
- 8
- 43
- 90
1
vote
1 answer
How to migrate assemblies from .Net 3.5 to .Net 4.0?
I download a project from github:
https://github.com/HEskandari/FarsiLibrary/zipball/master
I open this with visual studio 2010, This Solution contain a project with name "FarsiLibrary.WPF.VisualStudio.Design", this project contain references to…

Reza ArabQaeni
- 4,848
- 27
- 46
1
vote
1 answer
Do all the projects that reference each other need to be in same target framework?
I have a windows-form application which consists of three sub projects.
Project A - Classes
Project B - Classes
Project C – view (win forms)
When I try to add reference to of project B to project C it adds the reference fine. But when I build the…

huMpty duMpty
- 14,346
- 14
- 60
- 99
0
votes
1 answer
VS2010 Build of .NET v3.5 projects fail due to a potential .NET v4.0 reference
Attempting to build a Visual Studio 2010 solution with 132 projects which do not use any file references (only project references). When I build the entire solution, I get many build errors like this:
The type or namespace name 'xxxx' does not exist…

Kash
- 8,799
- 4
- 29
- 48
0
votes
1 answer
How to use two different package versions in one solutions with project dependencies
I've created a solution with three projects inside.
One of the projects is named Controller and uses Appium.WebDriver, which requires Selenium version 3.141.
The second project is named Runner and uses Selenium version 4.11 while also having a…

sl0910
- 11
- 2
0
votes
0 answers
Not able to access Project to Project Reference in c# (path issue of dll)
I have Project M (Main Project), S(shared project), and two class Libraries A and B. All projects have a new Build Configuration Test. S has project references of class libraries A and B. In S project Solution, these class libraries (A and B) are…
0
votes
1 answer
WinForm application and MS Office references
In our WinForms project, we need to give a facility to import data from Excel sheets.
There are ways to refer MS Office files (here Office 2003) in your project references.
Each time there is slight difference in build environment the project…

NileshChauhan
- 5,469
- 2
- 29
- 43
0
votes
1 answer
Visual Studio 2022 Resharper can not resolve symbol
I use Visual Studio Enterprise 2022 LTSC 17.2 with ReSharper 2023.1. I work with several projects in one solution and many of them are referenced (we use custom build tool). Visual studio detects them well but ReSharper says that it can not resolve…

Trooper
- 1
0
votes
0 answers
How to reference a specific version of a nuget package from another package when both are in the same solution?
I have a solution like that:
Package1
Package2
Both are Nuget packages, Package2 is referencing Package1 as a project reference. Now if I publish Package2 from what I understand this reference will get converted to Package1 Nuget (which I want),…

Ilya Chernomordik
- 27,817
- 27
- 121
- 207
0
votes
1 answer
Unable to Get Real Type from Global Declaration in TypeScript Project References
I have created a demo repository to illustrate my issue. The repository contains two projects: electron and src, and I am using TypeScript project references.
I have defined the type API_TYPE in the src/global.d.ts file by importing it from the…

threetree
- 63
- 9
0
votes
0 answers
XUnit project can't reference project referenced by the project it's testing
I'm creating a project I've named Amino which builds on the Monogame/XNA C# game framework.
I've also created an XUnit test for Amino, called Amino.UnitTest.
In the unit test, I'm able to interact with classes from Amino, but not classes from XNA.…

Thomas Slade
- 129
- 9