Skip to content

Commit 9f52494

Browse files
authored
Update ProjectOptionsTests.fs
1 parent 827df4f commit 9f52494

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/service/ProjectOptionsTests.fs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ let ``Project file parsing example 1 Default configuration relative path`` () =
8989

9090
[<Test>]
9191
let ``Project file parsing VS2013_FSharp_Portable_Library_net45``() =
92+
if not runningOnMno then // Disabled on Mono due to lack of installed PCL reference libraries - the modern way is to reference the FSHarp.Core nuget package so this is ok
93+
9294
let projectFile = __SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net45/Sample_VS2013_FSharp_Portable_Library_net45.fsproj"
9395
let options = ProjectCracker.GetProjectOptionsFromProjectFile(projectFile, [])
9496

@@ -103,6 +105,8 @@ let ``Project file parsing VS2013_FSharp_Portable_Library_net45``() =
103105

104106
[<Test>]
105107
let ``Project file parsing Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78``() =
108+
if not runningOnMno then // Disabled on Mono due to lack of installed PCL reference libraries - the modern way is to reference the FSHarp.Core nuget package so this is ok
109+
106110
let projectFile = __SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78/Sample_VS2013_FSharp_Portable_Library_net451.fsproj"
107111
Directory.SetCurrentDirectory(__SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78/")
108112
let options = ProjectCracker.GetProjectOptionsFromProjectFile(projectFile, [])
@@ -242,6 +246,8 @@ let ``Project file parsing -- multi language project``() =
242246

243247
[<Test>]
244248
let ``Project file parsing -- PCL profile7 project``() =
249+
if not runningOnMno then // Disabled on Mono due to lack of installed PCL reference libraries - the modern way is to reference the FSHarp.Core nuget package so this is ok
250+
245251

246252
let f = normalizePath (__SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net45/Sample_VS2013_FSharp_Portable_Library_net45.fsproj")
247253

@@ -290,6 +296,8 @@ let ``Project file parsing -- PCL profile7 project``() =
290296

291297
[<Test>]
292298
let ``Project file parsing -- PCL profile78 project``() =
299+
if not runningOnMno then // Disabled on Mono due to lack of installed PCL reference libraries - the modern way is to reference the FSHarp.Core nuget package so this is ok
300+
293301

294302
let f = normalizePath (__SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile78/Sample_VS2013_FSharp_Portable_Library_net451.fsproj")
295303

@@ -329,7 +337,7 @@ let ``Project file parsing -- PCL profile78 project``() =
329337

330338
[<Test>]
331339
let ``Project file parsing -- PCL profile259 project``() =
332-
340+
if not runningOnMno then // Disabled on Mono due to lack of installed PCL reference libraries - the modern way is to reference the FSHarp.Core nuget package so this is ok
333341
let f = normalizePath (__SOURCE_DIRECTORY__ + @"/../projects/Sample_VS2013_FSharp_Portable_Library_net451_adjusted_to_profile259/Sample_VS2013_FSharp_Portable_Library_net451.fsproj")
334342

335343
let options = ProjectCracker.GetProjectOptionsFromProjectFile(f)

0 commit comments

Comments
 (0)