bb2041e5ce
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. |
||
---|---|---|
.. | ||
AppDelegate.fs | ||
Entitlements.plist | ||
FSharpTests.fs | ||
Info.plist | ||
Main.fs | ||
fsharp.fsproj |