Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
13 views

Error to find references in Visual Studio 2019

I noticed that every time I open a cloned project in a new environment (with Visual Studio 2019), the project cannot find the references it uses. I know that I can add the references again to solve ...
Thiago Moura's user avatar
0 votes
2 answers
60 views

Trying to import and use a method from different project in a multi-project visual studio solution

I thought this would be really easy to do using just a project reference, but I believe I am missing a step. I am very unfamiliar with working with multi-project solutions and appreciate any help! I ...
Maya's user avatar
  • 85
-1 votes
1 answer
287 views

Could not load file or assembly with identical setup of Visual Studio solution

VS 2019. The issue I’m having is properly getting a build running of the current version (2.4) of a Solution. I keep running into the error of System.IO.FileNotFoundException: 'Could not load file or ...
hoboayoyo's user avatar
0 votes
1 answer
227 views

Unable to add an EXE file as a reference to a project in Visual Studio 2022

I am trying to add an .exe file 'Hearthstonedecktracker.exe' to a plugin that I cloned into Visual Studio 2022. I can find the exe just fine but I get the following error: Please make sure that the ...
Jonny Cross's user avatar
0 votes
0 answers
49 views

reference to removed assembly persists

I have a Visual Studio solution for a Web Forms application with few projects inside it. Some of the projects are built in dll form and used in the main project. Recently I completely removed from ...
Gigi's user avatar
  • 320
1 vote
2 answers
1k views

How to remove an analyzer assembly from a project in visual studio?

I was trying to add a reference assembly to my project but instead I added it as an analyzer assembly by mistake. After deleting the folder containing that assembly, I am no longer able to build the ...
user20593243's user avatar
1 vote
0 answers
36 views

Not Able to attach Reference of ActiveX Server Files after certain period of time on particular machine

I am working on VB dotnet. In our project some of the code is written in Visual basic 6, So we used DLLs(Binaries) to use that code in our project(com objects), so we make binaries and giving ...
sheetu's user avatar
  • 11
2 votes
1 answer
186 views

What happened to the MSDN C++ Language Reference?

Around 2007 I remember installing Visual Studio (I don't remember the exact version), which was shipped on CDs in those days. There were some extra CDs in our pack, called I think "MSDN C++ ...
woodspiral's user avatar
0 votes
0 answers
126 views

My C Code exe only runs on my PC. How do I Include VCRuntime140.dll in my C code exe

I have recently been getting in C code. I would like to create a stand alone .exe that can run on a windows PC. The exe runs on my pc, of course because of the installation. However, on another PC I ...
Gareth Swemmer's user avatar
4 votes
1 answer
9k views

reference project from another solution

I'm new in c# my question is how could I reference between 2 project in different solutions ? I tried add project reference but it's just work for project that is in the same solution and I didn't ...
sara's user avatar
  • 75
6 votes
3 answers
15k views

The type name 'SerialPort' could not be found in the namespace 'System.IO.Ports'

I am using Visual Studio Community 2019 to write a new serial port downloader program. I am relatively new to C# but have had to maintain a large-ish c# application that also uses the serial port to ...
K. Jensen's user avatar
  • 111
-1 votes
1 answer
64 views

.NET Framework Force Reference to be loaded

I created a library with WPF Resources to Design my Controls. If I now reference these in a new project, I can access everything without any problems. However, when I start it, it cannot find the ...
Martin Bartolomé's user avatar
1 vote
1 answer
615 views

How to fix reference to Windows.Foundation.UniversalApiContract in VisualStudio 2019

I created a solution with several .Net and UWP projects with VisualStudio 2019 and on some of them a reference to Windows.Foundation.UniversalApiContract was added by VisualStudio on project creation. ...
hobber's user avatar
  • 21
-1 votes
1 answer
689 views

How to add references in dot net project

I have a simple project mentioned below. Can somebody tell me how can I reference my classLibrary1 in classLibrary2, I right-clicked and tried adding reference but that isn't working since I am not ...
Mint Money's user avatar
1 vote
0 answers
112 views

Add compilation symbol for project referenced in Visual Studio

I have my project containing most of my functions (MainProject). I want to have a web service referencing MainProject and use some of those functions. However I want to add conditionnal compilation in ...
user2088807's user avatar
  • 1,398

15 30 50 per page
1
2 3 4 5
24