project.resources could not be found

Hey there, i recently got the following error: Could not load file or assembly 'X.resources, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null'. Das System kann die angegebene Datei nicht finden.' In this case X is the Project name. Does anybody know how to fix this? I get the same error with some Syncfusion packages. If i skip all the errors the application works but if i avoid debugging it is crashing instantly. If you need any further information in order to help me im happy to provide it. These are the syncfusion errors: 1. Could not load file or assembly 'Syncfusion.Tools.Windows.resources, Version=24.2.6.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'. Das System kann die angegebene Datei nicht finden.' 2 .Could not load file or assembly 'Syncfusion.SfDataGrid.WinForms.resources, Version=24.2.6.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'. Das System kann die angegebene Datei nicht finden.'

3. Could not load file or assembly 'Syncfusion.SfInput.WinForms.resources, Version=24.2.6.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'. Das System kann die angegebene Datei nicht finden.'


1 Reply

CM Chidanand Murugaiah Syncfusion Team February 19, 2024 01:00 PM UTC

Hi Benjamin Feldhaus,


We are unable to reproduce the reported issue from our end. Please refer to the sample for your reference. Please ensure that all referenced Syncfusion assemblies are the same. Please check the app.config and package.config files to see if any other versions of Syncfusion are referenced.

If the exception occurs after enabling the "Managed Debugging Assistant" in Exception settings, we suggest you add a "Syncfusion.Tools.Windows.resx""Syncfusion.SfDataGrid.Windows.resx" file to the project to avoid the exception. Please refer the below UG documentation for creating resx file.

UG Documentation Link - https://help.syncfusion.com/windowsforms/localization#creating-resx-files

We hope this helps. Please let us know, if need any further assistance.


Regards,

Chidanand M.


Loader.
Up arrow icon