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

I can't run 'GKImageViewerPlugin' plug-in built with make [bug] #18

Closed
ruslangaripov opened this issue May 11, 2016 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@ruslangaripov
Copy link
Collaborator

After I have built 'GKImageViewerPlugin' plug-in binaries, I couldn't use it.

GEDKeeper shows no GUI for the plug-in and the next text appears in the program's log:

[11.05.2016 9:27:32] -> GKImageViewerPlugin.Execute(): Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "GKImageViewerPlugin.IVPResource.resources" was correctly embedded or linked into assembly "GKImageViewerPlugin" at compile time, or that all the satellite assemblies required are loadable and fully signed.

After I had debugged the issue I've found out its source:
File: projects\GKImageViewerPlugin\ImageViewerWin.cs
Code:

public ImageViewerWin(IPlugin plugin)
{
    . . .
(1)    this.tbFileLoad.Image = IVPResource.iLoad;
    . . .

Line (1) causes this exception:

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "GKImageViewerPlugin.IVPResource.resources" was correctly embedded or linked into assembly "GKImageViewerPlugin" at compile time, or that all the satellite assemblies required are loadable and fully signed.

The problem is similar to one we had with GEDKeeper itself 😈

@ruslangaripov
Copy link
Collaborator Author

Please assign 'bug' label to this ticket! Thx! 🐛
😈

@Serg-Norseman Serg-Norseman added the bug Something isn't working label May 11, 2016
@Serg-Norseman
Copy link
Owner

Tonight I will examine the issue with the resources in these subprojects.

ruslangaripov added a commit to ruslangaripov/GEDKeeper that referenced this issue Nov 1, 2016
This commit force makefiles to use msbuild-like style when makefile
creates a compiled resource. The latter now has owner namespace in
filename. This fixes errors when a .NET application can't find a
resource.

See also: Serg-Norseman#18, Serg-Norseman#19, Serg-Norseman#20, Serg-Norseman#61

Signed-off-by: Ruslan Garipov <brigadir15@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants