Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scintilla.Net 5.3.1.3 don't work when Devexpress libraries added to project #28

Closed
odysseus1973 opened this issue Dec 13, 2022 · 3 comments · Fixed by #29
Closed

Scintilla.Net 5.3.1.3 don't work when Devexpress libraries added to project #28

odysseus1973 opened this issue Dec 13, 2022 · 3 comments · Fixed by #29
Assignees

Comments

@odysseus1973
Copy link

odysseus1973 commented Dec 13, 2022

Hi!

Github issue from original branch

jacobslusser/ScintillaNET#526

Step-by-step reproduction

  • Create blank WinForms app (Net 7)
  • Install Scintilla.Net 5.3.1.3 nuget package
  • Put Scintilla.Net control on form from toolbox
  • All works fine
  • Add Devexpress libraries to project (via open DevExpress Project Settings and click Add Libraries)
  • Try to open Form In Design mode
  • Scintilla control disappear.
  • Try to put Scintilla control on form again - we get the following error
Request failures: DesignerHosts/CreateComponent.
                       Microsoft.DotNet.DesignTools.Client.DesignToolsServerException: Method not found: 'Void System.Security.AccessControl.MutexAccessRule..ctor(System.Security.Principal.IdentityReference, System.Security.AccessControl.MutexRights, System.Security.AccessControl.AccessControlType)'.

                       For information on how to troubleshoot the designer refer to the guide at https://aka.ms/winforms/designer/troubleshooting.
  • Remove Devexpress package from project - all works fine now

Detailed description of problem from Devexpress

https://supportcenter.devexpress.com/ticket/details/t1133409/scintilla-net-5-3-1-3-don-t-work-when-devexpress-libraries-added-to-project

I understand that you do not use commercial libraries, but please see what you can do

Thanks!

@VPKSoft
Copy link
Contributor

VPKSoft commented Dec 13, 2022

Hi,
I can use the DevExpress evaluation to debug the issue - when I have the time. I'm not sure if the Mutex creation is even required in the constructor of the control. It seems to relate to file use synchronization among processes, StackOverflow when extracting the Scintilla native DLL if one doesn't exist already.

@odysseus1973
Copy link
Author

Thank you. If you have time, add support for net 6 and net 7, please

@VPKSoft
Copy link
Contributor

VPKSoft commented Dec 18, 2022

Hi. the control should now work with the DevExpress library in design mode. The package was already targeting .NET 6

If you have time, add support for net 6 and net 7, please

.NET 7 TFM was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants