Jan 23, 2012 at 9:10 PM
Edited Jan 23, 2012 at 9:11 PM
Well when you are adding a reference, if you add it from the ".net tab" then it adds a reference from the GAC.
That's where those assemblies come from.
If you are adding a manual reference to it then you have to use the browse tab when adding a reference, this will not add it from the GAC.
But no, I have not had any experience with using metro apps, but I don't see how this would be related because WebApi has nothing to do with the project type.
The only time the project type matters is the hosting environment for how you end up planning to actually host it, whether using MVC routing for easy startup, a service host, or console startup.
You can also set "copy local" to true. This will copy it to your bin on compile. Then you can override it if you have your own assembly and it won't pull from GAC.
I do not have a System.Net.Http in my GAC.
Did you install it into your GAC, or does System.Net.Http come with the preview for Win8 development?
I can't find anything official about it.
Since this is the MS team, maybe the assembly is the same?
Do you actually have an issue using the one from the Win8 preview?
I would suggest removing System.Net.Http, download the DLLs for WebApi, and add System.Net.Http via browse.
That's all I got :P Sorry man, GL