I have a Windows forms project (VS 2005, .net 2.0). The solution has references to 9 projects. Everything works and compiles fine on one of my computers. When I move it to a second computer, 8 out of the 9 project compile with no problem. When I try to compile [...] read more
I have a C# class which calls a .Net assembly built from a Matlab function. I am able to call this function from a simple C# console application with no problems. However if I try to run a unit test from NUnit I get the following exception: > ClassLibrary1.Tests.UnitTests.TestPerformOptimization: > [...] read more
I am writing a Visual Studio 2012 extension, for internal use, which requires that all assemblies have a strong name. I am dependent on RestSharp (and a few other dlls), and since it is not strongly named, I am adding a strong name to it by following this. Everything works [...] read more
I am trying to load a third party COM dll into my application. Everything builds fine but when I run the application I keep getting this message from my application: > Could not load file or assembly '"assembly", Version=1.0.0.0, Culture=neutral, > PublicKeyToken=null' or one of its dependencies. A strongly-named assembly [...] read more
Is it possible to run EF6 under the pre-release ASP.net vNext? EF7 doesn't have some features I need, but I would like to prototype my application in .NET Core. I'm getting the following error: FileLoadException: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) Unknown location FileLoadException: Could not load [...] read more
I have a scenario like this: I'm using interceptor to catch calls to a class that is inside assembly (let's call it Feature) that is referenced by main project. Assembly Feature is installed by NuGet (it's not public but our internal one) and has reference to another assembly (let's call [...] read more
My application requirement is to use Signed assembly. I signed RestSharp assembly using Visual Studio 2012 command tool. The application builds successfully, but when it runs, the following error appears: > Could not load file or assembly 'RestSharp, Version=104.4.0.0, > Culture=neutral, PublicKeyToken=null' or one of its dependencies. A > strongly-named [...] read more
I have a WPF / MVVM Light application targeting .net 4.6 and Dapper 1.50.4 I am using Visual Studio Pro 2017 to develop the application This application was working, but I got a new computer and moved the development of this application to the new computer. When I try to [...] read more
I am trying to use Entity Framework with SQL Server. There are plenty of examples that are saying that I need to add EntityFramework.SqlServer package in order to get it working. However as I understood they renamed the package to EntityFramework.MicrosoftSqlServer. In my case I cannot find any of these [...] read more
I am working on one project where I needed to create Library folder for windows7. I have gone through msdn article to create one. What I found is, the DLL is not signed version. so the project I want to run is required signed DLL. I have tried to make [...] read more
I'm getting the following error: Error 17 System.IO.FileLoadException: Could not load file or assembly 'LibGit2Sharp, Version=0.14.30212.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) File name: 'LibGit2Sharp, Version=0.14.30212.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileLoadException: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) I [...] read more
Following scenario. I have created in VS 2017 a new VSIX Project. There I have inserted a new Tool Window. Additionally I have created a class library. The resulting structure is as follows: Project Structure [https://i.stack.imgur.com/Wb4IX.png] The only thing I have change are * that I added two attributes to [...] read more
When trying to run a MVC sample provided by a Vendor for trialling a API, I get the following error: > [StructureMapConfigurationException: StructureMap configuration failures: > Error: 170 Source: Registry: StructureMap.Configuration.DSL.Registry, > StructureMap, Version=2.6.3.0, Culture=neutral, > PublicKeyToken=e60ad81abae3c223 Unable to find the exported Type's in assembly > Groupdocs.Web.UI.Comparison, Version=2.0.5205.21794, Culture=neutral, > [...] read more
I have an Asp.Net Core project where I'm using RavenDB document database. Everything was working fine until I added Metrics.NET (https://github.com/etishor/Metrics.NET) to the project. Since then the following issue is happening when loading the project: Exception has been thrown by the target of an invocation. The type initializer for 'Raven.Abstractions.Util.MetricsTicker' [...] read more
I have small WPF tool with simple XAML form (see below) which uses no 3rd-party libraries or controls. It is running without issues on 50 machines from Windows XP to Windows 8.1 in .net 3.5 When I launch it on Windows Server 2012, it runs well (writes files, displays MessageBoxes) [...] read more
I'm working on a little project in VS2015 for the company I work for, and as a company policy, all assemblies we produce must be signed. I found a little odd behavior when I added a dependency to a nuget package that contained an unsigned assembly. When building the project [...] read more
I have a an problem with my .NET 5.0 Web API project in which I 'm using Entity Framework 6.1.3. in this project, I need to use some .Dll references of some old projects used Entity framework 6.0.0. I have got the exception "Could not load file or assembly 'EntityFramework.SqlServer, [...] read more
Our company has an ASP.NET ecommerce site based on AspDotNetStorefront which has been in production for about six months. We are trying to profile it with dotTrace on my development machine. dotTrace causes .NET to throw an error when loading the default page. The error is: > Server Error in [...] read more
I am doing a WPF .net framework appplication.When i run this code,Exception thrown. here i am calling UIOrderclass xaml file in AddUiorder. UIorderClass.cs namespace UIorder:UserControl { public partial class UIorderClass { public UIorderClass() { InitializeComponent(); } //some logic part here } } UIorderClass.xaml <UserControl x:Class="UIorder.UIorderClass" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" <Grid> [...] read more
I have a ServiceStack Console project using the latest Nuget Packages, When instantiating the AppHost object in my code, I get the following exception: > Could not load file or assembly 'MongoDB.Driver, Version=2.10.3.0, > Culture=neutral, PublicKeyToken=null' or one of its dependencies. A > strongly-named assembly is required. (Exception from HRESULT: [...] read more
I have the following requirements for a .NET library that shall be shipped via NuGet: * shall be compatible for .NET Framework and .NET Core applications * shall be signed/strong-named to allow usage in applications that are signed/strong-named on their own The approach I took for meeting these requirements was [...] read more
I've added the PDFClown nuget package to a .net core project and ran into the following error at runtime: > Could not load file or assembly 'PDFClown, Version=0.1.2.0, Culture=neutral, > PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is > required. (Exception from HRESULT: 0x80131044) I'll also note that [...] read more
I have the following dependency tree * MyFramework * DataAccess * Processor * Processor.Tests Each assembly references on all of the ones above it. So Processor.Tests references Processor, DataAccess, and MyFramework. With the exception of ProcessorTests reference to Processor all references are through a private Nuget server. There is an [...] read more
I want to use Kentor.AuthServices to authenticate in my web app using Okta. I followed the article "How to use KentorIT AuthServices with Okta". Because the application would throw an error: > The signing algorithm http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 is > weaker than the minimum accepted http://www.w3.org/2000/09/xmldsig#rsa-sha1. That's why I added in global.asax [...] read more
I am trying to register a type using Unity : Container.RegisterType<ICommonInterfaceType, MyTypedClass>("Name001"); Here MyTypedClass is inside an assembly which signed with a snk. So when I try to resolved, getting this error: > Additional information: Could not load file or assembly 'NM.Common.Interface, > Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its [...] read more
I'm getting this error when I try to run my add-in for Microsoft Word. > Could not load file or assembly 'Word, Version=1.0.0.1, Culture=neutral, > PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is > required. (Exception from HRESULT: 0x80131044) The assembly Word.dll is built from another solution and [...] read more
We are developing an application using ASP.NET 5 MVC 6 RC1. We have signed our project assembly with snk key file. We are using Kendo.Mvc nuget package version 2015.3.1120.0 which doesn't have strong name signed (http://www.nuget.org/packages/Kendo.Mvc/) including latest release of package. Now result of this we are facing runtime exception [...] read more
When i call an endpoint on my web api project, i get this error - Could not load file or assembly 'System.Linq.Dynamic, Version=1.0.5840.25917, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) i cannot seem to sign this assembly- System.Linq.Dynamic.dll with a strong [...] read more
We have integrated 2 VS2010 VC++ project into Visual Studio 2017 solution along with other C# projects. These deliverables when built on Win 7 OS it is working fine. The same when built on Win 10 is causing a problem "Could not load file or assembly 'xxx, Version=1.0.5.1, Culture=neutral, PublicKeyToken=null' [...] read more
Scenario We have been use ImageProcessor nuget package for 4 years. We have not changed its version so it is still 2.5.2. Problem After last build we have noticed that when we want to add picture to our system (ImageProcessor is used there to resize pictures) we recieved runtime error: [...] read more
I am trying to execute code with WebDriver but getting this exception, I do have WebDriver reference, Any thoughts what might be causing this exception > "Error: TAEF: [HRESULT: 0x80131604] A failure occurred while preparing to run > tests in class ''. (Failed to create an instance of ''. (Failed [...] read more
I wanted to add these assemblies MongoDB.Bson.dll, MongoDB.Driver and MongoDB.Driver.Core into GAC using gacutil.exe but got the following error Failure adding the assembly to the cache: Attempt to install an assembly without a strong name So, I installed MongoDB driver in my c# project using NuGet package manager, when I [...] read more
PROBLEM: I am trying to help a co-worker who wants to reference Thinktecture.IdentityModel.Client.Net45.dll from a VB.NET DLL –- call it MyVBNet.dll -- that is strongly-named. When we run an executable that references MyVBNet.dll, MyVBNet.dll’s attempt to instantiate a Thinktecture object results in the following exception: FileLoadException was unhandled by user [...] read more
I am using RestSharp for a Dynamics plugin, this requires the project to be a DLL. I get this error message when running the plugin: > An unexpected error occurred from ISV code. (ErrorType = ClientError) > Unexpected exception from plug-in (Execute): pluginname.PluginEntryPoint: > System.IO.FileLoadException: Could not load file or [...] read more
I am migrating our project from .Net 2 to .Net 4.7.1 but I am facing the general problem that is: Could not load file or assembly 'Managers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) I have tried to make assembly [...] read more
I got Unknown build error quoted below: > Severity Code Description Project File Line Suppression State Error Unknown > build error, 'Could not load file or assembly 'Amisys.Data, Version=5.1.1.3, > Culture=neutral, PublicKeyToken=null' or one of its dependencies. A > strongly-named assembly is required. (Exception from HRESULT: 0x80131044) Line > 8 [...] read more
I had a problem running my C# application throwing the following error when trying to use a certain reference as follows: > Could not load file or assembly 'My3rdPartyAssembly, Version=1.0.0.0, > Culture=neutral, PublicKeyToken=null' or one of its dependencies. A > strongly-named assembly is required. (Exception from HRESULT: 0x80131044)" Then I [...] read more
The Version 2 checkout PayPalCheckoutSdk depends on BraintreeHttp-Dotnet.dll. The PayPalCheckoutSdk is strongly signed for use in .Net 4.6.1 however the BraintreeHttp-Dotnet.dll is not strongly signed. This makes the PayPalHttpClient throw an exception when accessed: "Could not load file or assembly 'BraintreeHttp-Dotnet, Version=0.1.5.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A [...] read more
I am creating the object for class ApplicationBrowser which is present in one solution where I am passing one path as a string and it creates an instance of chrome driver. Chromedriver is the API present in the . When I do this I'm experiencing the following exception: Could not [...] read more
I have simple .csproj which is signed with a key. When I installed package form nudget packet manager I got exception that: Cannot load file 'XXXX' or one of it's dependencies. Package with strong name is required (HRESULT: 0x80131044) When I disabled signing my own .dll everything works. I am [...] read more
This is a bit of a strange one. I'm building a module for an existing C# ASP.NET web app that will generate thumbnails from a video file; I've been trying different options to see what works best. I started with Emgu.CV 3.4.1.2976, installed from NuGet. Everything worked fine, and I [...] read more
I'm working on a project that I inherited from someone else who is no longer available to assist. During execution of the application I get the following error ************** Exception Text ************** System.IO.FileLoadException: Could not load file or assembly 'Jasper.SharedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named [...] read more
I successfully installed 'LiveCharts.Wpf' & 'LiveCharts' packages from NuGet, I use them in my code but when I want to build the project I get this error: > Unknown build error, 'A strongly-named assembly is required. (Exception from > HRESULT: 0x80131044) Note that those packages have a strong name. You [...] read more
We ported our base libraries to netstandard2.0 and consume them in an wpf net461 application. While debugging in visual studio everthing works fine. But when using the release version installed via setup we get an fileloadexception. FileLoadException: 'Could not load file or assembly 'netstandard, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of [...] read more
I'm new to live charts. When i'm trying to build a simple WPF application using visual studio 2017 i'm getting the following error: Error Unknown build error, 'A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) Line 11 Position 67.' EDIT: The code is: <lvc:CartesianChart Series="{Binding SeriesCollection}" /> According to [...] read more
I am building an Edi translation and import program using EdiFabric. I love the simplicity of EdiFabric, but my unit tests are blowing up with an error message that says: > System.IO.FileLoadException: Could not load file or assembly > 'EdiFabric.Framework, Version=6.7.8.0, Culture=neutral, PublicKeyToken=null' > or one of its dependencies. A [...] read more
I am signing both pcl and uwp and getting error: System.IO.FileLoadException: Could not load file or assembly 'Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) Indeed the assembly Xamarin.Forms.Xaml is not signed (Strong name = false) read more
Dim conn As MySqlConnection = New MySqlConnection(ServerString) Dim cmd As MySqlCommand = New MySqlCommand cmd.Connection = conn conn.Open() Dim mb As MySqlBackup = New MySqlBackup(cmd) mb.ExportToFile("C:\backup.sql") conn.Close() I keep getting this error: An unhandled exception of type 'System.IO.FileLoadException' occurred in System.Windows.Forms.dll Additional information: Could not load file or assembly 'MySqlBackup, [...] read more
I strongly-named all the tree packages (DiffieHellman.dll, Org.Mentalis.Security.dll, Tamir.SharpSSH.dll), and I already invoked the packages to my application which has to be strongly-named. But there is an exception which I cannot fix. I wrote another demo with no strongly-name packages which works OK, though. Connect Exception: Tamir.SharpSsh.jsch.JSchException: Session.connect: System.IO.FileLoadException: Could [...] read more
I am trying to call Microsoft Project Server ProjectServerServices.dll from Microsoft SharePoint Custom Application page. I want to use PSI to access PWA information. This is my sample code: using System; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.SharePoint; using Microsoft.SharePoint.WebControls; using PSLibrary = Microsoft.Office.Project.Server.Library; using SvcProject; using SvcQueueSystem; namespace [...] read more
Using WPF.MDI dll from codeplex in my wpf project I am getting this error when I run the project: Could not load file or assembly 'WPF.MDI, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)":"WPF.MDI, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null I discovered it happens [...] read more
I implemented an application which uses the Nuget package MouseKeyboardActivityMonitor. Everything was working fine so far. I now wanted to build a Setup Project to deploy the application on other computers. Therefore I had to sign my project. Since then I cannot built the project anymore as it says (Translation [...] read more
I have a WPF Custom control project and a VSIX project in my solution. THe WPF holds the UI windows and controls that are required both by the VSIX and another WPF app that can be used separately from the VS extension. I have added the project as a dependency [...] read more
It appears Parse.dll and Parse.NetFx45.dll from the .net 4.5 package do not have a strong name. I have also tried signing them with my .snk, but I still have this exception when launching my app: Could not load file or assembly 'Parse, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. [...] read more
I have an old application originally build against .NET 2.0 that used Office 97 Interop and it worked. When it was upgraded to .NET 4.0 the application crashed when it tried to load the Excel Interop with error: System.IO.FileLoadException: Could not load file or assembly 'Interop.Office, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' or [...] read more
We've got the WCF project targeting .Net 4.0 under VS 2010 Win7 x64, please note that it is a signed assembly. The Box.V2 SDK has been installed through NuGet and the version we are using is 1.0.5. The bad things started to happen once we tried to build the solution, [...] read more
In my application after giving the assemblies strong key names including the third parties DLLs with VS 2012 Command Prompt I get the assembly loading error. Could not load file or assembly ', Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) [...] read more
Our asp.net web servers are giving occasional binding problems which result in a page not being displayed to the end user. Pressing refresh usually works. If you look in the event log you get the following entry: Exception information: Exception type: FileLoadException Exception message: A strongly-named assembly is required. (Exception [...] read more
Not sure if anyone has much experience working with SalesLogix, but I've been working with this 3rd-party utility in attempts to deploy a VFS without the need for Application Architect. I wasn't able to find any documentation for it and it seems that it's missing a bunch of files it [...] read more
I need to register some assemblies into my Inno Setup script and found this code: Source: "Files\MyAssembly.dll"; DestDir: "{app}"; StrongAssemblyName: "MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=48d60606109a2257, ProcessorArchitecture=MSIL"; Flags: "gacinstall sharedfile uninsnosharedfileprompt" the problem is my dll is not signed and I'm not found the option for C++/CLI dll in VS2008 to sign [...] read more
I have a assembly with C# code. And the version of this assembly is 1.0.0.0. This Assembly's information is serialized when i serialize the data of this assembly into binary. And then i update this assembly version into 4.0.0.0, ** > and i remove the signature **. When i de-serialize [...] read more
I’m not sure if i’m doing this the right way so i’m reaching out for a little help...there are some new features in the trunk that I want to take advantage of in my current s#arp project. I’ve downloaded the project from the trunk and run the go.bat file which [...] read more