Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

UnresolvableTypeReference Unresolvable type reference 'System.Threading.Tasks.Task' in 'Assembly(Name=System.Runtime,.... #9

Open
rajeshagadi-xx opened this issue Jan 22, 2018 · 1 comment

Comments

@rajeshagadi-xx
Copy link

HOL 2>Exercise 5>Step 10
Unable to successful build the UWP App with below error.

C:\Users<username>.nuget\packages\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : MCG0024: MCG0024:UnresolvableTypeReference Unresolvable type reference 'System.Threading.Tasks.Task' in 'Assembly(Name=System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)' found. Please check the references in your build system. A reference is either missing or an assembly is missing an expected type.

@OnCodesmith
Copy link
Collaborator

I can be certain, without running the solution in my environment, but first, be certain the project truly doesn't compile and run, as UWP apps are prone to bogus error output at times, and I believe this is actually bogus. If this is truly the case, I would suggest closing the VS IDE, and deleting the OBJ and BIN folders in your project directory, then doing a full solution Clean and Rebuild.

Let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants