Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


get error while open project

Hata olu?tu.

Message: 'NcBoreHole.Main' tür ba?lat?c?s? özel durum döndürdü.
Source: NcBoreHole
StackTrace: konum: NcBoreHole.Main.SetLicense(String txt1, String txt2)
konum: Netpro_Mine.Netcad_Register.Init(Int32 Handle, String LisansKey)
Target: Void SetLicense(System.String, System.String)

Inner Exception: Message: Belirtilen kültür veya nötr kültür için uygun kaynak bulunamad?. Derleme an?nda "NcBoreHole.MultiLang.resources" ö?esinin "NcBoreHole" derlemesine do?ru kat??t?r?ld???ndan veya ba?land???ndan ya da gereken tüm uydu derlemelerinin yüklendi?inden ve tam olarak imzaland???ndan emin olun.
Source: mscorlib
StackTrace: konum: System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
konum: System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
konum: System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
konum: System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
konum: System.Resources.ResourceManager.GetString(String name)
konum: ?.?.?(Int32 StringID)
konum: ?.?.?(Int32 StringID, String Text)
konum: NcBoreHole.Main..cctor()
Target: System.Resources.ResourceSet InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)

I give more detail. I prepare setup project, setup in my computer. than I checked resource dlls There are all dll files. while The application is open, I give error about resource manager.
Germany

Hi,

I'm on vacation at the moment and will be back home in one week. I will take a look at this error then.

At present, I can't make any sense out of it.

Phil


Germany

Hi,

the Turkish message didn't mean much to me. smile

I think that the English message would have been:

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

Your project should contain the file MultiLang.resx. If you look at the properties for this file, it should have the property "Build Action" = "Embedded Resource". That should ensure that the neutral resources are compiled into the main project.

To load resources in other languages, the satellite DLLs must be copied to the target system and placed in language specific subdirectories under the application's directory. You should use exactly the same subdirectories which Visual Studio creates below the Bin directory, e.g. en for English, de for german, etc.

Phil