如何删除 VB.Net 中的语言资源?

How do I remove language resource in VB.Net?

我将可本地化设置为 TRUE 并设置了不同的语言,它运行良好,直到我在 Windows XP 上测试应用程序。 这是错误报告:

ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\Documents and Settings\Administrator\LoL Watcher.application resulted in exception. Following failure messages were detected: + Culture is not supported. Parameter name: name en-HK is an invalid culture identifier.

ERROR DETAILS Following errors were detected during this operation. * [2015/1/10 02:31:03] System.Globalization.CultureNotFoundException - Culture is not supported. Parameter name: name en-HK is an invalid culture identifier. - Source: mscorlib - Stack trace: at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) at System.Deployment.Application.AssemblyMetaDataImport.ConstructAssemblyName(IntPtr asmMetaPtr, Char[] asmNameBuf, UInt32 asmNameLength, IntPtr pubKeyPtr, UInt32 pubKeyBytes, UInt32 flags) at System.Deployment.Application.AssemblyMetaDataImport.ImportIdentity() at System.Deployment.Application.AssemblyMetaDataImport.get_Name() at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromCompLibAssembly(String filePath) at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath) at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath) at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e) at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e) at System.Deployment.Application.FileDownloader.OnModified() at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options) at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

请帮助我,谢谢。

en-HK 是无效的区域性标识符。看这里:http://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx

根据那里,HK 是 zh-HK

To the answer: How do I remove language resource in VB.Net?

在资源管理器解决方案上:右键单击 > 删除