Roslyn: Error de compilaci贸n modo release UWP

Created on 7 Mar 2018  路  8Comments  路  Source: dotnet/roslyn

Saludos! estoy compilando una aplicaci贸n para la Windows Store en UWP (Universal Windows Plattform) sin embargo no puedo pasar del modo "release", se me hace imposible solucionar este error, si alguien me puede guiar agradezco mucho su ayuda!!

Version Used:

Visual Studio Community 2017
Versi贸n 15.5.6
Version .NET Framework 4.7.02556

Steps to Reproduce:

  1. Seleccionar el modo realease
  2. Equipo local
  3. Iniciar

Expected Behavior:
Compilaci贸n correcta

Actual Behavior:
Microsoft.NetNative.targets(731,5): error : Error interno del compilador: The given key was not present in the dictionary.

Area-External

Most helpful comment

Translation
Regards! I am compiling an application for the Windows Store in UWP (Universal Windows Plattform) however I can not pass the "release" mode, it is impossible to solve this error, if someone can guide me I appreciate your help!

Version Used :

Visual Studio Community 2017
Version 15.5.6
Version .NET Framework 4.7.02556

Steps to Play :

Select the realease mode
Local team
Start

Expected Behavior :
Correct compilation

Current Behavior :
Microsoft.NetNative.targets (731,5): error: Internal compiler error: The given key was not present in the dictionary.

All 8 comments

Translation
Regards! I am compiling an application for the Windows Store in UWP (Universal Windows Plattform) however I can not pass the "release" mode, it is impossible to solve this error, if someone can guide me I appreciate your help!

Version Used :

Visual Studio Community 2017
Version 15.5.6
Version .NET Framework 4.7.02556

Steps to Play :

Select the realease mode
Local team
Start

Expected Behavior :
Correct compilation

Current Behavior :
Microsoft.NetNative.targets (731,5): error: Internal compiler error: The given key was not present in the dictionary.

@Omar8485 I'm trying to route this issue to the proper team. The error shows a compiler error/crash, but I'm not sure if it is the csc (managed compiler) or the native compiler tool chain.

Could you find your Microsoft.NetNative.targets file and attach it to this issue? I want to see what line 731 is about, to see which tool failed. Thanks

@jcouv Thank you for your help! I attach here the lines that you need, I was wondering if you want all file, sorry for my english, regards!
Image
image

Text
` Condition="'$(UseDotNetNativeLogger)'=='true'"
Application="$(_IlcExePath)"
Parameters="$(_IlcInvocationParameters)"
MessageLog="$(_IlcIntermediateRootPath)ilclog.csv"
UseCommandProcessor="false"

`

Based on the section of the targets file, this feels like an issue in the .NET Native toolset.
Tagging @MichalStrehovsky to comment and route. Thanks

I don't know if this helps, I found these lines in ilclog.csv file. The task that was not completed is RunILTransforms, here code.

Code
"Error",,0,0,"Error interno del compilador: The given key was not present in the dictionary." "Message",Low,"Ejecuci贸n de la tarea ""RunILTransforms"" terminada -- ERROR." "Message",Low,"Compilaci贸n del destino ""RunILTransforms"" en el archivo ""ILTransforms"" finalizada: INCORRECTA." "Message",Low,"Compilaci贸n del proyecto ""ILTransforms"" finalizada: INCORRECTA." "Message",Low,"Error de compilaci贸n."

I hope you can help me! thanks

Also tagging @sergiy-k to comment and route. Thanks

Hi @Omar8485! Since this repo is focused on Roslyn compiler, may I please ask you to send us a mail at [email protected] (ideally, with some repro steps if it is possible)? There are more people on that alias who will be happy to support you with the UWP ahead of time compiler (".NET Native").

cc @lt72

Hi @sergiy-k, no problem, I'm going to send you a mail with that requeriments. Thank you!

Was this page helpful?
0 / 5 - 0 ratings