diff --git a/test-msbuild/TestMultipleLibraryInSameDir/Helper.fs b/test-msbuild/TestMultipleLibraryInSameDir/Helper.fs new file mode 100644 index 0000000..a29f6ac --- /dev/null +++ b/test-msbuild/TestMultipleLibraryInSameDir/Helper.fs @@ -0,0 +1,12 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace TestLibrary + +open Lib + +type Helper() = + + static member GetMessage () = Lib.message () + + static member SayHi () = Lib.sayHi () diff --git a/test-msbuild/TestMultipleLibraryInSameDir/Helper2.fs b/test-msbuild/TestMultipleLibraryInSameDir/Helper2.fs new file mode 100644 index 0000000..6d374f7 --- /dev/null +++ b/test-msbuild/TestMultipleLibraryInSameDir/Helper2.fs @@ -0,0 +1,12 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +module Lib + +open System + +let message () = + "This string came from the test library!" + +let sayHi () = + Console.WriteLine("Hello there!") diff --git a/test-msbuild/TestMultipleLibraryInSameDir/Test1Library.fsproj b/test-msbuild/TestMultipleLibraryInSameDir/Test1Library.fsproj new file mode 100644 index 0000000..86f57cf --- /dev/null +++ b/test-msbuild/TestMultipleLibraryInSameDir/Test1Library.fsproj @@ -0,0 +1,46 @@ + + + + + + + netstandard1.6 + + + + 1.0.0-preview3 + Enrico Sada + + + + + + + + + + + 1.6.0 + + + $(MicrosoftFSharpCorenetcoreVersion) + + + $(MicrosoftNETSdkVersion) + All + + + $(FSharpNETSdkVersion) + All + + + + + + 1.0.0-preview2-020000 + + + + + + diff --git a/test-msbuild/TestMultipleLibraryInSameDir/Test2Library.fsproj b/test-msbuild/TestMultipleLibraryInSameDir/Test2Library.fsproj new file mode 100644 index 0000000..86f57cf --- /dev/null +++ b/test-msbuild/TestMultipleLibraryInSameDir/Test2Library.fsproj @@ -0,0 +1,46 @@ + + + + + + + netstandard1.6 + + + + 1.0.0-preview3 + Enrico Sada + + + + + + + + + + + 1.6.0 + + + $(MicrosoftFSharpCorenetcoreVersion) + + + $(MicrosoftNETSdkVersion) + All + + + $(FSharpNETSdkVersion) + All + + + + + + 1.0.0-preview2-020000 + + + + + + diff --git a/test-msbuild/run-tests.targets b/test-msbuild/run-tests.targets index 21b010a..c7c93b1 100644 --- a/test-msbuild/run-tests.targets +++ b/test-msbuild/run-tests.targets @@ -84,6 +84,36 @@ + + + $(MSBuildThisFileDirectory) + $(MSBuildThisFileDirectory)TestLibrary + "$(ProjectDirectory)\TestLibrary.fsproj" + + + + + + + + + + + + $(MSBuildThisFileDirectory)TestMultipleLibraryInSameDir + Test1Library.fsproj + Test2Library.fsproj + + + + + + + + + + + $(MSBuildThisFileDirectory)TestLibraryCrossGen @@ -170,12 +200,18 @@ + + + + + +