Hi there, folks!
You see, I have just installed Visual Studio 2017 (spanish version) three days ago, and I downloaded Monogame 3.6 with the proper templates. Whenever I create a sample project like “Game2” and then I try to publish it on a “publish” folder, it creates a setup.exe file, a manifest, and an “Application Files” folder. So far, so good; however, when I try to run the setup file, an error message appears that says: “Cannot continue. The application is improperly formatted.”
After clicking on details, a .txt file pops up with the following text:
INFORMACIÓN DE VERSIÓN DE LA PLATAFORMA Windows : 10.0.14393.0 (Win32NT) Common Language Runtime : 4.0.30319.42000 System.Deployment.dll : 4.6.1586.0 built by: NETFXREL2 clr.dll : 4.6.1586.0 built by: NETFXREL2 dfdll.dll : 4.6.1586.0 built by: NETFXREL2 dfshim.dll : 10.0.14393.0 (rs1_release.160715-1616)ORÍGENES
Dirección URL de la implementación : file:///C:/Users/ferna/Desktop/publish/test2/Game2.applicationIDENTIDADES
Identidad de la implementación : Game2.application, Version=1.0.0.1, Culture=neutral, PublicKeyToken=0d5157a7789b8d37, processorArchitecture=x86RESUMEN 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\ferna\Desktop\publish\test2\Game2.application dio como resultado una excepción. Se detectaron los siguientes mensajes de error:
+ Excepción de lectura del manifiesto desde file:///C:/Users/ferna/Desktop/publish/test2/Application%20Files/Game2_1_0_0_1/Game2.exe.manifest: puede que el manifiesto no sea válido o el archivo no se abra.
+ El análisis y la creación de DOM del manifiesto ha dado como resultado un error. Se han detectado los siguientes errores de análisis:
-HRESULT: 0x8007001f
Línea de inicio: 0
Columna de inicio: 0
Archivo host:
+ Uno de los dispositivos conectados al sistema no funciona. (Excepción de HRESULT: 0x8007001F)RESUMEN DE ERRORES DE TRANSACCIÓN DEL ALMACÉN DE COMPONENTES
No se detectó ningún error de transacción.ADVERTENCIAS
No se generó ninguna advertencia durante esta operación.ESTADO DE PROGRESO DE LA OPERACIÓN
* [15/03/2017 12:28:01 a. m.] : Se ha iniciado la activación de C:\Users\ferna\Desktop\publish\test2\Game2.application.
* [15/03/2017 12:28:03 a. m.] : El procesamiento del manifiesto de la implementación finalizó correctamente.
* [15/03/2017 12:28:03 a. m.] : Se ha iniciado la instalación de la aplicación.DETALLES DEL ERROR
Se detectaron los siguientes errores durante esta operación.
* [15/03/2017 12:28:03 a. m.] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Excepción de lectura del manifiesto desde file:///C:/Users/ferna/Desktop/publish/test2/Application%20Files/Game2_1_0_0_1/Game2.exe.manifest: puede que el manifiesto no sea válido o el archivo no se abra.
- Origen: System.Deployment
- Seguimiento de la pila:
en System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
en System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
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)
en System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
— Excepción interna —
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- El análisis y la creación de DOM del manifiesto ha dado como resultado un error. Se han detectado los siguientes errores de análisis:
-HRESULT: 0x8007001f
Línea de inicio: 0
Columna de inicio: 0
Archivo host:
- Origen: System.Deployment
- Seguimiento de la pila:
en System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
en System.Deployment.Application.Manifest.AssemblyManifest…ctor(FileStream fileStream)
en System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
— Excepción interna —
System.Runtime.InteropServices.COMException
- Uno de los dispositivos conectados al sistema no funciona. (Excepción de HRESULT: 0x8007001F)
- Origen: System.Deployment
- Seguimiento de la pila:
en System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
en System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)DETALLES DE TRANSACCIÓN DEL ALMACÉN DE COMPONENTES
No hay información disponible sobre la transacción.
If any of you can read spanish and offer some help, I would be very grateful.