xamarin-macios/tests/fsharp
Rolf Bjarne Kvinge bb2041e5ce
[tests] Don't try to compile the Main function in F# extensions. (#3683)
The F# compiler complains that:

    /Users/xamarinqa/vsts/_work/52/s/tests/fsharp/Main.fs(13,9): error FS0433: A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence.

Main.fs is the last file in the project file, but the MSBuild tasks adds
another one at the end:

    obj/iPhone/Debug64-today-extension/Xamarin.iOS,Version=v1.0.AssemblyAttribute.fs

because we're building a library (in which case the MSBuild tasks assume that
there won't be any Main functions in the project, and as such it's safe to
append files to compile).

Work around this by excluding the Main function from F# extensions, it's not
needed anyway.
2018-03-07 22:13:13 +01:00
..
AppDelegate.fs [tests] Import 2016-05-26 15:06:52 +02:00
Entitlements.plist [tests] Import 2016-05-26 15:06:52 +02:00
FSharpTests.fs [test][fsharp] Add F# test for bug 52866 (#1892) 2017-03-22 07:47:57 -05:00
Info.plist [tests] Remove Classic test projects, and make the Unified test projects the master projects. (#858) 2016-09-21 22:55:10 +02:00
Main.fs [tests] Don't try to compile the Main function in F# extensions. (#3683) 2018-03-07 22:13:13 +01:00
fsharp.fsproj [tests] Enable LLVM for all Release|Device configurations. (#3376) 2018-02-01 17:59:40 +01:00