@@ -380,8 +380,9 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
380380 <SilverlightVersion >$(TargetFrameworkVersion)</SilverlightVersion >
381381 <TargetFrameworkOutputDirectory >$(TargetFramework)</TargetFrameworkOutputDirectory >
382382<!-- It would be better to use MSBuild resolution here, but the TargetFrameworkIdentifier etc. aren't set up quite correctly as yet-->
383- <OtherFlags >$(OtherFlags) --simpleresolution -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags >
384- </PropertyGroup >
383+ <AssemblySearchPaths >$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone</AssemblySearchPaths >
384+ <OtherFlags >$(OtherFlags) --simpleresolution -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags >
385+ </PropertyGroup >
385386
386387<!-- Target CompactFramework 2.0-->
387388 <PropertyGroup Condition =" '$(TargetFramework)'=='net20-cf'" >