Questions tagged [assembly-references]

142 questions
3
votes
4 answers

Yellow Caution Icon/Glyph on Assembly Reference in Solution Explorer

I am using NuGet to manage dependencies. I created a fresh Git clone of my solution, and noticed assembly reference problems. I have Enabled Package Restore and checked settings as suggested here, but I still have these yellow caution icons on…
J86
  • 14,345
  • 47
  • 130
  • 228
3
votes
3 answers

Assembly Reference loads in Release, but not in Debug, Visual Basic 2013

I am not very experienced. Just trying to make some changes to source code that someone else wrote. I had to add a reference to a .dll to get it to work in "Release" mode. However when I try to get it to work in Debug, it does not work. …
brizz
  • 271
  • 1
  • 6
  • 17
3
votes
0 answers

extern alias with same assembly file name

I have a problem that could be viewed as an extension of this question in which the user is having problems with external aliases not working. The variation I am experiencing is that the two projects output the same file name. The first (we'll call…
gregsdennis
  • 7,218
  • 3
  • 38
  • 71
2
votes
1 answer

Unable to find assembly A_class, Version 2.0.0.0, Culture=neutral, PublicKeyToken=null

I am trying to upgrade a project from VS2005. It is a VB.NET project B that depends on a C# project that references a C++ dll, A.dll. I am getting an error saying 'Unable to find assembly A_class, Version 2.0.0.0, Culture=neutral,…
Thalia
  • 13,637
  • 22
  • 96
  • 190
2
votes
1 answer

VS2010 and Referencing Proper Assemblies (Debug/Release)?

I have an MVC3 project in VS2010 (Project A) and I want to reference an assembly in one of my other projects (Project B). Project B outputs to \bin\Debug and \bin\Release. I want to add a reference to the proper Project B assembly, based on the…
2
votes
2 answers

Reference problems in Visual Studio extension

I'm new to Visual Studio extensions and tried some samples from GitHub together with some helpful advices from here with some success. I'm trying to create a ToolWindow that processes the structure of the currently open solution, which would be…
2
votes
1 answer

What's with all the errors?

I have an WPF-MVVM solution with multiple service projects interconnected by a web of assembly references. I'm using Visual Studio 2008. My problem is that I constantly get errors telling me that methods and members do not exist in the current…
Jordan
  • 9,642
  • 10
  • 71
  • 141
2
votes
1 answer

Debugging what I think is a bogus VS2010 error (missing assembly reference)

I've done this hundreds of times before without issue, but today I've got a project that just won't cooperate in VS2010. I have a plugin and need to test it. So I wrote a test application that will host my plugin. Whenever I do this, I just add a…
Dave
  • 14,618
  • 13
  • 91
  • 145
2
votes
2 answers

ASP.Net / C# - missing an assembly reference

Hi, I am a newbie in C# and visual studio. As Figure1 shown, I am trying to use the classes from other project in similar solution. For example: I try to write "Using LibraryMS.Framework" at UserDto.cs from "LibraryMS.MasterSetup". And I get the…
Empty
  • 123
  • 3
  • 11
2
votes
0 answers

Cannot reference assembly in Monodevelop

I am using F# 4.1 with Monodevelop on Linux Mint 18 and for some reason I no longer can use the #r directive to reference a dll. No matter where I install/store the package and the permissions, I just get "... (file may be locked by F# Interactive…
Sasha Babaei
  • 455
  • 3
  • 8
2
votes
1 answer

Assembly references across projects - need for more than one Entity Framework reference?

For the sake of the question, I have a project structured as follows, where each layer maps to a project in my visual studio solution: Presentation Layer Business Logic Layer Data Layer (working with Entity Framework) I have repository classes…
Veverke
  • 9,208
  • 4
  • 51
  • 95
2
votes
1 answer

FluentAssertions reference not importing properly

If I download FluentAssertions 1.7.1 (which all of my unit tests are currently written against) then I can do a reference to the dll and the test below will work just fine. But I tried to upgrade via NuGet and using FluentAssertions versions 3.0.90…
HodlDwon
  • 1,131
  • 1
  • 13
  • 30
2
votes
0 answers

When compiling solution, previously working assembly reference / using no longer works

I added a assembly as reference to my project, I imported its namespace with a using directive, and no problem occurs; IntelliSense finds the namespace, too. When I try to compile the solution or go into debug mode, suddenly this error…
Gasta87
  • 225
  • 5
  • 16
2
votes
2 answers

Compiler cannot find method name

'm making an application for Windows 8 in C# and XAML. I've defined two classes within a namespace called AppNamespace, and one of these classes takes a three dimensional boolean array within it's constructor: public class Solver { …
GArchitech
  • 87
  • 1
  • 1
  • 6
2
votes
2 answers

CSharpProvider runtime compilation failing to find a DLL

I am compiling a DLL at runtime using CSharpCodeProvider. My code runs fine on some machines but on otherse it fails with the following error: error CS0006: Metadata file 'EntityFramework.dll' could not be found Here is a code snippet: var csFile…
1 2
3
9 10