Linked Questions
70 questions linked to/from Could not load file or assembly or one of its dependencies
0 votes
0 answers
144 views
Could not load the dll
I am getting the below Exception but the project has built successfully; but, during Execution, it is not able to pick the required DLL. could not load a file or assembly "name_cli.dll" or ...
1 vote
1 answer
128 views
Could not load type 'System.ComponentModel.DataAnnotations.Schema.IndexAttribute' from assembly 'EntityFramework, Version=6.0.0.0
I'm experiencing an issue when I try to debug my ASP.NET MVC project in .NET 4.8 using IIS Express. [TypeLoadException: Could not load type 'System.ComponentModel.DataAnnotations.Schema.IndexAttribute'...
0 votes
0 answers
106 views
Could not load wrong version of SQL Server assembly
I get the following error: 'Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies ' And I have a ...
0 votes
1 answer
108 views
PowerShell script is throwing an error Type Initiliazer
I am having one C# code which is working fine. I made PS script of same functionality which is not working. $config = New-Object MyClass Error it is throwing is Type initializer for MyClass2 threw ...
0 votes
0 answers
92 views
Error with System.Data.SqlClient in a C# compiled DLL
I have this problem: I take a C# DLL project from a PC of a collaborator that has been fired. I have resolved all orphan dependencies. I compile the DLL, load it into the CAD program but, when i ran ...
0 votes
0 answers
58 views
Difference in VS project reference
I am trying to add a specific version of DocumentFormat.OpenXml -> 2.5.5631.0 using Reference Manager. However, after browsing to the DLL and adding it, the project file is showing another version!?...
1 vote
1 answer
53 views
ASP.Net sub application throwing entityframework error.
I have a ASP.Net MVC sub-application that uses EntityFramework 6.2.0 and .Net Framework 4.6.1 This web app runs as a sub app to an older ASP.Net MVC site that uses EF5. When I try to run the sub-app ...
0 votes
0 answers
44 views
Error message: "Could not load file or assembly or one of its dependencies" [duplicate]
Full error messsage: Could not load file or assembly 'LimitlessSoft.Buffer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (...
0 votes
0 answers
45 views
Visual Studio versioning is different that what was installed
I am working on a project in C# and multiple times I have installed nuget packages and put the latest version but then I get errors that it can't find a completely different version number. Here is ...
1 vote
0 answers
26 views
Could not load file or assembly '"Rancho's POS System"' or one of its dependencies
does anyone know the cause and how to solve it? I have big problems in this because the system I'm doing won't run properly because I can't make any debug in this