Questions tagged [assembly-references]

142 questions
1
vote
1 answer

How to resolve ArgumentNullException caused by adding to .nuproj project file?

According to the NuProj documentation, NuGet supports adding references to framework assemblies as well. You can specify those via the FrameworkReference item:
1
vote
1 answer

How to define a static wpf ressource from c# project settings (properties) defined in another project

The following piece of code located in App.xaml defines a static application-wide resource, which I sucessfully binded to a listbox control.
1
vote
1 answer

Assembly Not Being Recognized

I built a VB Windows Forms application a while back using VS05 (or VS08? Not exactly sure) that I've recently converted to use VS10. I reference a .dll called ExcelPackage (another article, usage) so that I can create/manipulate Excel docs…
Jason
  • 51,583
  • 38
  • 133
  • 185
1
vote
1 answer

File upload issue MVC - assembly reference

I'm trying to put together a page whereby a user can upload a file, and it goes to a database. I'm following a tutorial, and my controller method so far looks like this: public ActionResult Index() { ViewData["Message"] = "File Upload"; …
109221793
  • 16,477
  • 38
  • 108
  • 160
1
vote
1 answer

Binding redirect at compile time for strong named assembly

We have a question about assembly binding redirection at compile time: Team V (the Veterans) is developing Product P1 P1 is continuously developed by Team V in two branches (branch 1.6.x and 1.7.x), so the version from Product P1 is incrementing…
1
vote
0 answers

Conditional assembly reference via NuGet

I have a Visual Studio solution (TFS Aggregator) with a complex set of assembly references and I am looking to solve it using NuGet. The reference depends on target Configuration, not on .Net platform. Problem definition The Solution has a number of…
1
vote
1 answer

VB.NET determine project's imported namespaces at runtime

In VB.NET (or C#), how can I determine at runtime which namespaces are imported in the Project properties? I'll be using this for dynamic compilation, I'd like the dynamic code to automatically have the same Imports as its parent project. I've seen…
user6112872
1
vote
0 answers

Add a reference to assembly

I am developing a Cross Platform app with Xamarin.Forms PCL and I want to add Xlabs to my project. I have read how to implement it here. I found the following problem. When I try to add this code to "App.cs" in my WinPhone 8.1 project: var app =…
1
vote
0 answers

Find missing assemblies in visual studio 2013

I downloaded a VS2013 project from a Git repo. The repo does not include the assembly references inside it. However, I have the SDK that contains all of the references I need for the project. The problem is that the path for the references is empty.…
1
vote
1 answer

Could not load file or assembly or one of its dependencies. The system cannot find the file specified. (No GAC allowed)

I have the "Main" program which loads my own "plugin.dll" file dynamically using reflection. The "plugin.dll" file references to the third party "device.dll" by using visual studio references. As long as the "device.dll" and "plugin.dll" are in the…
Almis
  • 171
  • 1
  • 2
  • 11
1
vote
0 answers

C++/CLI configuration specific references (debug/release)

It's almost a duplicate of Does Visual Studio 2008 support configuration (debug/release build) specific references?. I would like to use the answer of this post. The only problem is, I can't, because my .vcproj files look very differenty:
Tobias Knauss
  • 3,361
  • 1
  • 21
  • 45
1
vote
1 answer

Xamarin Studios Can't find References for System.Collections?

I'm trying to add a Systems.Collections reference in my .cs code in Xamarin Studios, however I failed to find this in the list of references in Xamarin Studios under > References > Edit References. The listed packages in Xamarin are all in .NET 4.5
jerryh91
  • 1,777
  • 10
  • 46
  • 77
1
vote
2 answers

TFS Build custom activity requiring more assemblies than needed

I've just written the first version of a workflow activity that will run Resharper's Code Issues on the projects and parse the output to display the issues as build warnings and errors. At first, I was going to just call Resharper's command line and…
1
vote
0 answers

References Path in VS Package Unit Test in VS 2012 - VSSDK 11.0 paths to VS 2013 - VSSDK 13.0

I have Windows 8.1 x64, VS 2008, VS 2010, VS 2012 x86, VS 2013 x86, Visual Studio SDKs (2010, 2012, 2013). I have Visual Studio Extensibility projects: VS Package project, VS Package Integration Tests project an VS Package Unit Tests project. Target…
1
vote
0 answers

error CS0234: assembly or namespace not found while publishing

i faced a strange issue today, please see the error below: error CS0234: The type or namespace name does not exist in the namespace Many developers were facing this issue on compile time mode, while compiling the code i was not getting this error…
UMAR-MOBITSOLUTIONS
  • 77,236
  • 95
  • 209
  • 278