Cultural reference C # is not supported

2

I've been having problems wanting to install the published program, being that compiling and running directly from Visual Studio 2015 works fine

here is the error that I generated when installing the published program

INFORMACIÓN DE VERSIÓN DE LA PLATAFORMA
    Windows             : 6.3.9600.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.42000
    System.Deployment.dll       : 4.7.2558.0 built by: NET471REL1
    clr.dll             : 4.7.3130.0 built by: NET472REL1LAST_B
    dfdll.dll           : 4.7.2558.0 built by: NET471REL1
    dfshim.dll          : 6.3.9600.16384 (winblue_rtm.130821-1623)

ORÍGENES
    Dirección URL de la implementación          : file:///C:/Users/Modulo%202%20C2/Desktop/Nodo2%20NEW%20server%20c2/Prestamundo1.application
    Dirección URL de la aplicación          : file:///C:/Users/Modulo%202%20C2/Desktop/Nodo2%20NEW%20server%20c2/Application%20Files/Prestamundo1_1_0_0_101/Prestamundo1.exe.manifest

IDENTIDADES
    Identidad de la implementación      : Prestamundo1.application, Version=1.0.0.101, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil
    Identidad de la aplicación      : Prestamundo1.exe, Version=1.0.0.101, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32

RESUMEN DE LA APLICACIÓN
    * Aplicación instalable.

RESUMEN DEL ERROR
    Abajo se muestra un resumen de los errores; los detalles de estos errores se incluyen en el registro.
    * La activación de C:\Users\Modulo 2 C2\Desktop\Nodo2 NEW server c2\Prestamundo1.application dio como resultado una excepción. Se detectaron los siguientes mensajes de error:
        + No se admite la referencia cultural.
Nombre del parámetro: name
aa-ER es un identificador de referencia cultural no válido.

RESUMEN DE ERRORES DE TRANSACCIÓN DEL ALMACÉN DE COMPONENTES
    No se detectó ningún error de transacción.

ADVERTENCIAS
    * El manifiesto para esta aplicación no tiene signatura. Se ignorará la validación de signatura.
    * El manifiesto para esta aplicación no tiene signatura. Se ignorará la validación de signatura.

ESTADO DE PROGRESO DE LA OPERACIÓN
    * [22/07/2018 01:45:36 p. m.] : Se ha iniciado la activación de C:\Users\Modulo 2 C2\Desktop\Nodo2 NEW server c2\Prestamundo1.application.
    * [22/07/2018 01:45:38 p. m.] : El procesamiento del manifiesto de la implementación finalizó correctamente.
    * [22/07/2018 01:45:38 p. m.] : Se ha iniciado la instalación de la aplicación.
    * [22/07/2018 01:45:38 p. m.] : Ha finalizado correctamente el procesamiento del manifiesto de la aplicación.
    * [22/07/2018 01:45:39 p. m.] : Se ha encontrado una versión del runtime compatible 4.0.30319.
    * [22/07/2018 01:45:39 p. m.] : Ha finalizado la solicitud de confianza y detección de plataforma.

DETALLES DEL ERROR
    Se detectaron los siguientes errores durante esta operación.
    * [22/07/2018 01:45:40 p. m.] System.Globalization.CultureNotFoundException
        - No se admite la referencia cultural.
Nombre del parámetro: name
aa-ER es un identificador de referencia cultural no válido.
        - Origen: mscorlib
        - Seguimiento de la pila:
            en System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
            en System.Deployment.Application.AssemblyMetaDataImport.ConstructAssemblyName(IntPtr asmMetaPtr, Char[] asmNameBuf, UInt32 asmNameLength, IntPtr pubKeyPtr, UInt32 pubKeyBytes, UInt32 flags)
            en System.Deployment.Application.AssemblyMetaDataImport.ImportIdentity()
            en System.Deployment.Application.AssemblyMetaDataImport.get_Name()
            en System.Deployment.Application.Manifest.AssemblyManifest.LoadFromCompLibAssembly(String filePath)
            en System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
            en System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
            en System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
            en System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
            en System.Deployment.Application.FileDownloader.OnModified()
            en System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
            en System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
            en System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
            en System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
            en System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
            en System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
            en System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
            en System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
            en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
            en System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            en System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

DETALLES DE TRANSACCIÓN DEL ALMACÉN DE COMPONENTES
    No hay información disponible sobre la transacción.
    
asked by Misael Sánchez 23.07.2018 в 04:46
source

1 answer

1

aa-ER is only supported from Windows 10, so that exception is thrown when trying to install a solution that refers to that culture in a previous operating system.

The solution is to eliminate all reference to problematic culture, usually it is a resource file with incompatible location. In this case, find and delete files that have the extension .aa-ER.resx

    
answered by 23.07.2018 / 17:35
source