locked
VS2015 building release UWM application and Internal Compiler Error RRS feed

  • Question

  • Hello,

    I am trying to build the release version of my simple app that has references to some cli dlls.  Here's the tail end of the build output:

    1> Task "ILTransformTask"

    1> Running 'Mcg' transform, heap at 57 mb.

    1> Computing application closure and generating interop code

    1> List of .lib files:

    1> mincore.lib

    1> List of .lib search paths:

    1> C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\um\x86

    1> Loading exports from libs...

    1> 4193 exports read from 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\um\x86\mincore.lib'.

    1> Loading 82 modules...

    1> Discovering types...

    1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(791,7): error : Internal compiler error: Index was out of range. Must be non-negative and less than the size of the collection.__Parameter name: index

    1> Done executing task "ILTransformTask" -- FAILED.

    1> Done building target "RunILTransforms" in project "Unnamed_1" -- FAILED.

    1> Done building project "Unnamed_1" -- FAILED.

    1> Build FAILED.

    1>

    1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\Microsoft.NetNative.targets(441,5): error MSB3073: The command ""C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\ilc.exe" @"obj\x86\Release\ilc.LibreOfficeUM.rsp" "/logger:CsvLogger;2828;2832"" exited with code 1201.

    1>Done executing task "LoggerBasedExecTask" -- FAILED.

    1>Done building target "BuildNativePackage" in project "LibreOfficeUM.csproj" -- FAILED.

    1>Target "LogIlcBehavioralDifference" in file "C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\Microsoft.NetNative.targets" from project "C:\dev\libre-office\LibreOfficeUM\LibreOfficeUM\LibreOfficeUM.csproj" (target "BuildNativePackage" depends on it):

    1>Task "IlcErrorTask" skipped, due to false condition; ('$(_IlcExitCode)' != '' and '$(_IlcExitCode)' >= '$(_IlcMinBehavioralExitCode)') was evaluated as ('1201' != '' and '1201' >= '1400').

    1>Done building target "LogIlcBehavioralDifference" in project "LibreOfficeUM.csproj".

    1>Target "_CheckForCompileOutputs" skipped. Previously built successfully.

    1>Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Auto' == 'On' or (''!='' and 'Auto' == 'Auto')).

    1>Target "_CleanGetCurrentAndPriorFileWrites" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\dev\libre-office\LibreOfficeUM\LibreOfficeUM\LibreOfficeUM.csproj" (target "_CleanRecordFileWrites" depends on it):

    1>Task "ReadLinesFromFile"

    1>Done executing task "ReadLinesFromFile".

    1>Task "ConvertToAbsolutePath"

    1>Done executing task "ConvertToAbsolutePath".

    1>Task "FindUnderPath"

    1> Comparison path is "C:\dev\libre-office\LibreOfficeUM\LibreOfficeUM".

    1>Done executing task "FindUnderPath".

    1>Task "FindUnderPath"

    1> Comparison path is "bin\x86\Release\".

    1>Done executing task "FindUnderPath".

    1>Task "FindUnderPath"

    1> Comparison path is "obj\x86\Release\".

    1>Done executing task "FindUnderPath".

    1>Task "RemoveDuplicates"

    1>Done executing task "RemoveDuplicates".

    1>Done building target "_CleanGetCurrentAndPriorFileWrites" in project "LibreOfficeUM.csproj".

    1>Target "_CleanRecordFileWrites" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\dev\libre-office\LibreOfficeUM\LibreOfficeUM\LibreOfficeUM.csproj" (target "CoreBuild" depends on it):

    1>Task "RemoveDuplicates"

    1>Done executing task "RemoveDuplicates".

    1>Task "MakeDir"

    1>Done executing task "MakeDir".

    1>Task "WriteLinesToFile"

    1>Done executing task "WriteLinesToFile".

    1>Done building target "_CleanRecordFileWrites" in project "LibreOfficeUM.csproj".

    1>

    1>Build FAILED.

    1>

    1>Time Elapsed 00:01:24.33

    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    Wednesday, September 16, 2015 5:30 PM