assembly-references

extern alias with same assembly file name

元气小坏坏 提交于 2021-01-27 12:16:45
问题 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 Legacy since it's the older version) contains classes which have been binary-serialized. The second ( Current ) is the next version of my domain. I'm trying to create a conversion library ( Compatibility ) which will map Legacy to Current for use

Deployment and/or Registration Failed C#

梦想与她 提交于 2020-02-07 03:42:09
问题 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 '%csidl_program_files%\hhrcv_app\system.windows.forms.dll'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component I have done some research about this and tried to remove and add the References back. Also hard reset the Emulator but still nothing. Please help me! 回答1: Compact

Ninject assembly does not match referenced assembly

拥有回忆 提交于 2020-01-03 07:52:20
问题 Setup: ASP.NET MVC3 Ninject v2.2.1.4 Ninject v3.0.0.15 Ninject.MVC3 v3.0.0.6 Ninject.Web.Common v3.0.0.7 Using NuGet, my UnitTest project references Ninject v2.2.1.4 My Web Project references Ninject v3.0.0.15, Ninject.MVC3 and Ninject.Web.Common Problem: With win explorer open at the bin folder of my web project, I build my solution and I can see Ninject v2.2.1.4 copied into the bin directory of my web project. And then being replaced by Ninject v3.0.0.15. When i hit F5 to debug, Ninject.dll

Ninject assembly does not match referenced assembly

空扰寡人 提交于 2020-01-03 07:52:12
问题 Setup: ASP.NET MVC3 Ninject v2.2.1.4 Ninject v3.0.0.15 Ninject.MVC3 v3.0.0.6 Ninject.Web.Common v3.0.0.7 Using NuGet, my UnitTest project references Ninject v2.2.1.4 My Web Project references Ninject v3.0.0.15, Ninject.MVC3 and Ninject.Web.Common Problem: With win explorer open at the bin folder of my web project, I build my solution and I can see Ninject v2.2.1.4 copied into the bin directory of my web project. And then being replaced by Ninject v3.0.0.15. When i hit F5 to debug, Ninject.dll

Oracle.ManagedDataAccess The system cannot find the file specified

孤者浪人 提交于 2020-01-03 05:34:09
问题 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 <add assembly="Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/> it give this error Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser

Visual Studio refuses to build project due to missing assembly reference that isn't missing

假如想象 提交于 2020-01-02 00:51:44
问题 I'm building a c# windows service and has added a couple of assembly references (to other projects of my own) to my project. I get the following error when I build: "Error 25 The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?" Interestingly enough, the reference path in the csproj-file is correct, and on top of that, classes and namespaces from the referenced project, that according to Visual Studio is missing, is being

How to include reference to assembly in ASP.NET Core project

走远了吗. 提交于 2020-01-01 08:47:11
问题 I have this line string sConnectionString = ConfigurationManager.ConnectionStrings["Hangfire"].ConnectionString; And it requires to include System.Configuration In which place of the project I have to add reference to System.Configuration because I cannot find a classic place to do it under References ? 回答1: The tutorial your're following is probably using Asp.Net Core targeting the full .Net Framework (4.6) that is capable of relying on System.Configuration (that is not portable and not

How are references located in .NET?

人盡茶涼 提交于 2019-12-31 02:38:12
问题 What process does .NET use to locate a referenced assembly at runtime and is it different than the process used to locate a referenced assembly during compilation? I am specifically interested in the locations that are searched and their search order and any parameters/configuration settings that might affect the outcome. 回答1: There are three types of references that can be made in a .NET application. This answer will only cover the first two in the list below. File references. Project

How do I fix error saying “The type or namespace name X does not exist in the namespace Y”?

笑着哭i 提交于 2019-12-25 08:47:54
问题 I've gotten this error many times before, and it's a simple fix--just add the missing reference. However, I already have. In fact, after I add the reference, intellisense is able to guide me to the type I want to reference. But, when I build, I get the error. From there on out, intellisense does not work (gives me red squigglies). One odd thing that I am suspecting. The project I am trying to add the reference to is a .NET 4.0 application project (using LINQ and WPF). I am trying to add a

Type or namespace name could not be found (missing using directive or assembly reference?)

大憨熊 提交于 2019-12-25 08:08:53
问题 With this code: using System.Web.Http; class MyClass : IHttpActionResult { ... } I get the error: The type or namespace name 'IHttpActionResult' could not be found (are you missing a using directive or an assembly reference?) As shown here, the IHttpActionResult interface is defined in System.Web.Http . What is wrong? 回答1: Fixed this problem (strictly related to this one) specifying in Project > Reference Manager: Microsoft.Owin 2.0.2.0 Owin 1.0.0.0 System.Net.Http.Formatting 5.2.3.0 System