@@ -95,6 +95,7 @@ let ``Project file parsing VS2013_FSharp_Portable_Library_net45``() =
9595[<Test>]
9696let ``Project file parsing Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78`` () =
9797 let projectFile = __ SOURCE_ DIRECTORY__ + @" /../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78/Sample_VS2013_FSharp_Portable_Library_net451.fsproj"
98+ Directory.SetCurrentDirectory(__ SOURCE_ DIRECTORY__ + @" /../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78/" )
9899 let options = ProjectCracker.GetProjectOptionsFromProjectFile( projectFile, [])
99100
100101 checkOption options.OtherOptions " --targetprofile:netcore"
@@ -207,7 +208,7 @@ let ``Project file parsing -- Logging``() =
207208 Assert.That( log, Is.StringContaining( " Reference System.Core resolved" ))
208209 Assert.That( log, Is.StringContaining( " Using task ResolveAssemblyReference from Microsoft.Build.Tasks.ResolveAssemblyReference" ))
209210 else
210- Assert.That( log, Is.StringContaining( """ Using "ResolveAssemblyReference" task from assembly "Microsoft.Build.Tasks.v12.0 , Version=12 .0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".""" ))
211+ Assert.That( log, Is.StringContaining( """ Using "ResolveAssemblyReference" task from assembly "Microsoft.Build.Tasks.Core , Version=14 .0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".""" ))
211212
212213[<Test>]
213214let ``Project file parsing -- Full path`` () =
@@ -409,5 +410,16 @@ let ``Project file parsing -- space in file name``() =
409410 |> set
410411 |> should equal ( set [ " Test2File1.fs" ; " Test2File2.fs" ])
411412
413+ [<Test>]
414+ let ``Project file parsing -- report files`` () =
415+ if not runningOnMono then
416+ for f in Directory.EnumerateFiles( @" C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\" , " *" , SearchOption.AllDirectories) do
417+ printfn " File: %s " f
418+ for f in Directory.EnumerateFiles( @" C:\Program Files (x86)\Microsoft SDKs\F#\4.0\" , " *" , SearchOption.AllDirectories) do
419+ printfn " File: %s " f
420+
421+
412422#endif
413423
424+
425+
0 commit comments