Posted 13 years ago
by Tobias Lingemann
-
Software Devolpment Engineer,
Vector Informatik GmbH
Version: 4.0.0287
Hello,
I'm running into a Resources.MissingManifestResourceException when using the .Net-Addon in SyntaxEditor.
The problem is, that the error messages are not correctly embedded. A call like AssemblyInfo.Instance.Resources.GetString("SemanticParserError_NamespaceMemberDeclarationExpected") produces this exception.
I am quite confused what exactly causes the problem. I have tried several things, some worked but have side effects I would like to avoid (for example changing namespaces or assembly names).
We are building the Addon ourselves, because we need to do some minor modifications.
All the sources are packed into a .Net4 project. The source files from the .Net-Addon are all in a sub directory of the project. We have not changed the names, namespaces or file structure of any file. However our own files have a different namespace.
Our file structure looks basically like this:
trunk
...
- CompanyNamespace.Languages.CS
| - Editor
| | - Products
| | - SyntaxEditor.Addons.CSharp
| | - SyntaxEditor.Addons.DotNet
| | | ...
| | - SyntaxEditor.Addons.VB
| - MyOwnFile.cs
...
I'm running into a Resources.MissingManifestResourceException when using the .Net-Addon in SyntaxEditor.
The problem is, that the error messages are not correctly embedded. A call like AssemblyInfo.Instance.Resources.GetString("SemanticParserError_NamespaceMemberDeclarationExpected") produces this exception.
I am quite confused what exactly causes the problem. I have tried several things, some worked but have side effects I would like to avoid (for example changing namespaces or assembly names).
We are building the Addon ourselves, because we need to do some minor modifications.
All the sources are packed into a .Net4 project. The source files from the .Net-Addon are all in a sub directory of the project. We have not changed the names, namespaces or file structure of any file. However our own files have a different namespace.
Our file structure looks basically like this:
trunk
...
- CompanyNamespace.Languages.CS
| - Editor
| | - Products
| | - SyntaxEditor.Addons.CSharp
| | - SyntaxEditor.Addons.DotNet
| | | ...
| | - SyntaxEditor.Addons.VB
| - MyOwnFile.cs
...
Message=Could not find any resources appropriate for the specified culture or the neutral
culture. Make sure "ActiproSoftware.Products.SyntaxEditor.Addons.DotNet.Strings.resources"
was correctly embedded or linked into assembly "CompanyNamespace.Languages.CS" at
compile time, or that all the satellite assemblies required are loadable and fully signed.
Best regards, Tobias Lingemann.