Hello,
I use a dll in which I share the content with 2 project, a project revit and a project exe. This allows me to use the data without starting Revit.
Here are my 3 projects:
MySharedProject.dll
- Strings.resx
- Strings.fr-FR.resx
MyRevitProject.dll
- Strings.resx
- Strings.fr-FR.resx
MyExeProject.exe
- Strings.resx
- Strings.fr-FR.resx
MyRevitProject.dll and MyExeProject.exe use MySharedProject.dll.
MySharedProject does not contain any reference to Revit.
Revit not load the resources fr-FR de MySharedProject. Revit uses the default resources (english). I am obliged to use the function at startup of revit: System.Reflection.Assembly.LoadFile(path)
path : "C:\Users\USER A\AppData\Roaming\Autodesk\Revit\Addins\2018\fr-FR\MySharedProject.resources.dll" for resources load.
Yet it uses the resources fr-FR of MyRevitProject.dll
Do you have another tip?