jacobslusser / ScintillaNET

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

Failed to create component 'Scintilla' #526

Open Matto58 opened 2 years ago

Matto58 commented 2 years ago

Whenever I try to put the component "Scintilla (ScintillaNET)" into my form, it errors: PS: I had to rewrite this thing from the popup that showed

Failed to create component 'Scintilla'. The error message follows:
'Microsoft.DotNet.DesignTools.Client.DesignToolsServerException: Method not found: 'Void System.Threading.Mutex.SetAccessControl(System.Security.AccessControl.SystemSecurity)'.
    at
Microsoft.DotNet.DesignTools.Client.DesignToolsClient.<SendRequestAsync>d__49`1.MoveNext()
...

My project:

chswin commented 1 year ago

I have the same issue on .NET 7

odysseus1973 commented 1 year ago

I also have the same issue on .NET 7 in my application. When I start new blank Windows Form app all works fine. In my case adding Devexpress libraries to projects leads to this error

GroophyLifefor commented 1 year ago

I have the same issue on NET 5, NET 6, NET 7, So I down NET 4.8 for use scintilla.

odysseus1973 commented 1 year ago

Don't worry, you can use another wrapper that does not have this problem https://github.com/VPKSoft/ScintillaNET/issues/28