jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
967 stars 245 forks source link

scintillaNet reference Missing and Load error #451

Open IshanJaiswal99 opened 5 years ago

IshanJaiswal99 commented 5 years ago

System.IO.FileLoadException: 'Could not load file or assembly 'ScintillaNET, Version=3.6.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)'

I am getting this exception in InitializeComponent();

This was working properly till today. I am not sure what has led to this, but now I am no longer able to find scintillaNet reference in my reference library as well. I tried to browse it from my "project\packages\jacobslusser.ScintillaNET.3.6.3\lib\" and add it. After Adding I am getting the above exception on InitializeComponent();

I tried to uninstall & reinstall using the NuGet Package Manager in Visual Studio 2019. Also restart my device still it is not getting solved kindly help

IshanJaiswal99 commented 5 years ago

Update: I managed to get passed the error on InitializeComponent(); There were some signing and security optioned enabled in my project properties.

But I am still not able to find ScintillaNET reference under Assembly.

tobeypeters commented 5 years ago

It won't show up in your Assemblies. You just got to click on browse and find where ScintillaNet.dll is located. I put mine in the Windows directory. But, it can be anywhere you want to put it. Click on Add and now it'll show up in your Toolbox.

Capture