Questions tagged [assembly-references]

142 questions
0
votes
1 answer

Azure storage Dll error while importing and exporting

I have use this(https://www.nuget.org/packages/WindowsAzure.Storage/) nuget package dll into my unity folder for accessing the my azure table and the data. But unfortunately this is is causing the issue like not load dll. The page it was mentioned…
0
votes
0 answers

How do I help my console application find all the referenced assemblies?

tl;dr: My .NET Core 3.1 console application crashes with a FileNotFoundException because a (referenced?) assembly is present in version A, but required in version B. What to do? I am trying to get a console application to run that is now built for…
0
votes
1 answer

The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

I am using Visual Studio 2019 and have a console application running some selenium tests with target framework .NET core 3.1. I recently added code to use Windows forms to upload a file in my…
Manu
  • 1
  • 2
0
votes
0 answers

Missing references while calling another application method using reflection

I am trying to call a method in winForms application from a command line application using reflection. This method launches the application with loaded configuration. Assembly exeApp = Assebmly.LoadFile(exeAppPath); Type classType =…
TK_Dev
  • 11
  • 1
0
votes
0 answers

nuget and transitive dependencies on different versions of .net framework dlls

Here's a situation I've found myself in quite a bit lately. Do this: In VS 2019 16.4.5, create a new C# console application targetting .net 4.7.1 Add a reference to System.IO.Compression Add this line to Main() (it will crash if you actually try to…
dlf
  • 9,045
  • 4
  • 32
  • 58
0
votes
0 answers

Why can't I reference to PaginatedList.cs in index.cshtml.cs?

A friend and I are following this tutorial but changing things to match our project: https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/sort-filter-page?view=aspnetcore-3.0 We have checked everything multiple times and are getting the…
CodingStudent
  • 179
  • 1
  • 2
  • 12
0
votes
1 answer

Interop is missing from my Reference Manager

I've copied a Visual Studio project from a Windows 10 computer to my Windows 7 machine. The sulution cannot be compiled because of an invalid assembly reference. On the original machine, the reference manager looks like this: while on my machine…
mma
  • 381
  • 2
  • 15
0
votes
1 answer

Bitmap declaration error in VS19 after copying code (c#)

I made a program that generated images, then I copied the code to a new project, but the Bitmap declaration show's this error message: Severity Code Description Project File Line Suppression State Error CS1069 The type name 'Bitmap'…
0
votes
0 answers

C# Reference issue

I have started a new project which contains as dependencies some other dlls (a sort of personal framework). The project is an Xamarin Forms project. When I start to build the main project all works fine. If I try to build the Android or iOS project…
Hikari
  • 589
  • 7
  • 29
0
votes
2 answers

Missing a using directive or an assembly reference error

Looks like I am missing a using directive or an assembly reference. I made a CSHTML page to show a bill to user. this is made as an empty page using TBL_Bill table. but I encounter an error while trying to read data from other tables such as…
Arya
  • 91
  • 1
  • 11
0
votes
2 answers

Using a string array to get information from a list of multiboxes

So I have an array that has the first portion of comboboxes on an order form. the comboboxes hold data (x1, x2, x3, x4), and are named ketchupCount, mustardCount, etc... What I am trying to do is use the array normalCondoments array + Count to…
0
votes
1 answer

Blazor namespace Interop does not extist in the namespace

Where do I find the assembly reference and how can I add it? Error Description: CS0234 The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.AspNetCore.Blazor.Browser' (are you missing an assembly reference?) CS0103 The…
C-Jay
  • 621
  • 1
  • 11
  • 22
0
votes
0 answers

What does "Version" mean when viewing reference properties in Visual Studio?

I am currently battling "DLL hell" in Visual Studio 2017. For unknown reasons, I suddenly got a problem with System.ValueTuple, where the error I get is the classic problem that have been asked many times before: Could not load file or assembly…
Ted
  • 19,727
  • 35
  • 96
  • 154
0
votes
1 answer

Assembly redirect being ignored in machine.config. In web.config works

I have two versions of a dll. I am seeing a unexpected behaviour. When I add the assembly redirect to web.config it works , but when it is added at machine.config I get some errors inside my app caused by the loading of old version of the library. I…
0
votes
1 answer

I need help identifying a programming technique so that I can research and fix it

The Code: ParentControl.ascx <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ParentControl.ascx.cs" Inherits="ParentControl" %> <%@ Register Src="~/ChildControl.ascx" TagPrefix="Prefix" TagName="ChildControlTag"…
Mir
  • 2,429
  • 1
  • 29
  • 34