Can´t compile in Release

Topics: Windows 10 UWP
Jul 15, 2015 at 1:55 PM
One more problem, I get this error when trying to compile in release mode

Internal compiler error: MCG : error MCG0024: UnresolvableAssemblyReference : Unresolvable assembly reference 'Assembly(Name=Microsoft.Media.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c9240785c8c0b56a, ContentType=WindowsRuntime)' found. Check the references in your build system. A reference is either missing or an assembly is missing an expected type.

Internal Compiler Error. Please contact Microsoft

ILC has encountered an error. Refer to the .NET Native compatibility documentation at http://go.microsoft.com/fwlink/?LinkID=392869 for assistance. If the error wasn't due to documented differences, please contact Microsoft.

Cannot resolve Assembly or Windows Metadata file 'Microsoft.Media.Analytics.winmd'
Coordinator
Jul 20, 2015 at 2:49 PM
Sorry but, I can't reproduce this. Can you attach a small repro?
Jul 20, 2015 at 3:45 PM
Seems like the Analytics Plugin was not correctly added to the project, I removed it, clean the solution and add it again and it worked.

Thank you
Coordinator
Jul 20, 2015 at 6:13 PM
Sure thing!