ffes / nppsnippets

Code Snippets plugin for Notepad++
https://www.fesevur.com/nppsnippets
GNU General Public License v2.0
71 stars 12 forks source link

During the opening of the resource file NppSnippets_res.rc error coming out #23

Closed andrecool-68 closed 3 years ago

andrecool-68 commented 5 years ago

I want to edit the size of the forms and I can not do it because of this error. The plugin interface translation into Russian language, the words get larger and don't fit. Please help me to find the cause of this error. Installed Visual Studio 2017

58 05-48-17-6408

andrecool-68 commented 5 years ago

I took the sources of the previous versions of the plugin and opened them in Visual Studio 2015, there is also an error opening the resource file NppSnippets_res.rc

andrecool-68 commented 5 years ago

What packages do I need to install for Visual Studio to fix this error?

ffes commented 5 years ago

That file contains version information based on the current git repo.

Your will need to build the solution first. The build process creates that file for you. Or you can start version_git.bat manually from the projects root directory.

ffes commented 5 years ago

AFK right now, but I think the resource editor doesn't like the version info block as it is. I mostly edit them manually.

But you write that you want to increase the size of the dialogs. Could you tell me the reason for this?

andrecool-68 commented 5 years ago

@ffes

But you write that you want to increase the size of the dialogs. Could you tell me the reason for this?

Words in Russian take up more space than English words

andrecool-68 commented 5 years ago

Manually start the file version_get.bat, created a new file version_git.h

#pragma once #define VERSION_GIT_STR "UNKNOWN" #define VERSION_GIT_WSTR L"UNKNOWN"

but now comes out a new error

1

ffes commented 5 years ago

I see this error as well. Not sure why it happens. Looks like an issue with the SDK at first glimpse.

But as I said, I almost always edit the resources manually. Not ideal but the resource editor makes such a mess of the file that I find myself manually copy/paste and adjusting its results

ffes commented 3 years ago

Closing this because it seems to be a Visual Studio problem that is beyond my control.