Questions tagged [assembly-references]
142 questions
0
votes
2 answers
loads of "The type or namespace name 'NamespaceExample' could not be found" errors on different machines
My collaborator and I have been having this problem incessantly as we try to update the project and share it back and fourth on GitHub. And yes, I've Googled and searched the forums for a couple days. Nothing...
Basically, we get a laundry list of…

Methodician
- 2,396
- 5
- 30
- 49
0
votes
1 answer
Resolve project assembly references from nuget packages?
I accidentally deleted all the project references after rebuilding a project.
The nuget package manager restored the packages folder, but all the packages' assemblies are not referred to from the project (Project->References).
How do I add all…

Shimmy Weitzhandler
- 101,809
- 122
- 424
- 632
0
votes
2 answers
No extension method for a method I already have explicitly defined
I'm trying to write a function that simply draws a circle on a map. I'm basically following code given here. Here's my actual code:
using attempt2.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using…

PrinceRhaegar
- 31
- 5
0
votes
0 answers
Why Keywords are producing errors though respective assemblies are included already in Visual Studio
I am preparing Windows Store App with C# & xaml led by online examples.
Many times when I try to use a keyword like:
"File" in
System.IO.File.WriteAllLines()
or
"Frame" in
this.Frame.Navigate(typeof(MyPage));
I took care of adding appropriate…

Htaank
- 21
- 3
0
votes
1 answer
Visual Studio requires remove/add of a reference to a newly re-built dll
Background:
I have two applications each in Visual Studio 2010 (separate solutions, directories, etc.).
Application A has two projects which produce .dlls that are both referenced by a project in Application B
Problem:
Whenever I rebuild Application…

jostell13
- 53
- 6
0
votes
0 answers
Visual Studio designer not recognising assembly reference
I am using Visual Studio 2010 and building a WPF application.
Some times, the designer view doesn't load and gives error regarding assembly references.
But, all the assembly references are in there respective path and the application compiles…

user3122687
- 1
- 2
0
votes
1 answer
The type or namespace name does not exist in the namespace
I have the following problem with a referenced assembly from a Web application:
Web application assembly/namespace:
Company.Application.Web
Referenced assembly:
Company.Application.Infrastructure including namespaces
…

user3433304
- 11
- 1
0
votes
2 answers
Oracle.ManagedDataAccess The system cannot find the file specified
In my website project built on .net 3.5, when I add reference to the Oracle.ManagedDataAccess.dll by adding this in the web.config
it…

Shomaail
- 493
- 9
- 30
0
votes
1 answer
Winforms-Designer is not working with references to libraries located in local network
i am using Visual Studio 2012 and in my c#-project i have some references to DLLs located on another machine in the local network. At the beginning everything worked fine and it still compiles without any problem.
But now the Forms-Designer does…

Michael
- 310
- 2
- 7
0
votes
1 answer
Assembly reference error
I am referencing the Renci SSH library in my project and I am trying to execute the code. I get an error saying:
Could not load file or assembly 'Renci.SshNet, Version=2013.4.7.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies.…

Vijay
- 167
- 6
0
votes
1 answer
Why is the compiler saying I need to add a reference to version 2 of System, when it is already there?
I am porting a Windows CE / CF solution (an exe and a class library/DLL) from Visual Studio 2003 / .NET 1.1 to Visual Studio 2008 / .NET 3.5
The final line of code here:
private bool ConnectToServer( ref Util.thisEnv tEnv )
{
bool bRet =…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
2 answers
System references not showing up?
So I have a solution with two projects inside. One project was running CF 3.5 while another was running CF 2.0. I tried many different ways to update the 2.0 through the program without success including removing the 3.5 project from the solution. I…

Tyler Buchanan
- 311
- 1
- 4
- 18
0
votes
1 answer
Missing references in tortus SVN
I am checking out code from an SVN server, and when I do, all of the references are some how not picking up in the code. The references are still there in the references folder, but they aren't being picked up by the rest of the code in the using…

Sold_On_MVVM_Prism
- 13
- 3
0
votes
1 answer
Deployment and/or Registration Failed C#
I have a Device-application (Compact Framework) in C#. When I Debug my solution I get this error:
Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file …

Werner van den Heever
- 745
- 6
- 17
- 40
0
votes
1 answer
visualsvn assembly reference
I'm using visualsvn with Visual Studio 2012 to share a webforms project between myself and two partners. When one of us makes a project and somebody else tries to open it, we get many assembly reference errors:
This makes me think that when the…

Brad Tenenholtz
- 13
- 1
- 7