Permalink
Browse files

Fix reference assemblies path for wp7 target

  • Loading branch information...
1 parent f6b0418 commit 66a86ca1417d0fb7c62c9c5c369677d3312f6254 @ovatsus ovatsus committed Feb 18, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/FSharpSource.targets
View
@@ -380,8 +380,9 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
<TargetFrameworkOutputDirectory>$(TargetFramework)</TargetFrameworkOutputDirectory>
<!-- It would be better to use MSBuild resolution here, but the TargetFrameworkIdentifier etc. aren't set up quite correctly as yet -->
- <OtherFlags>$(OtherFlags) --simpleresolution -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags>
- </PropertyGroup>
+ <AssemblySearchPaths>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone</AssemblySearchPaths>
+ <OtherFlags>$(OtherFlags) --simpleresolution -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags>
+</PropertyGroup>
<!-- Target CompactFramework 2.0 -->
<PropertyGroup Condition="'$(TargetFramework)'=='net20-cf'">

0 comments on commit 66a86ca

Please sign in to comment.