You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Order is important. Any chance the generated file can be prepended to the source list instead of appended? I'm guessing that is the issue. I'm not sure where the code is yet.
C:\projects\froto\Compiler\Program.fs(20,5): error FS0433: A function labeled with the 'EntryPointAttribute' attribute must be the last declaration in the last file in the compilation sequence. [C:\projects\froto\Compiler\Froto.Compiler.fsproj]
I'm not sure if MSBuild has an Include alternative that prepends items instead of appending them. The fix might be to replace that line with:
<!-- prepend the source file so we don't break F# console apps that have a "special" last source file -->
<_CompileWithVersionFileInclude="$(VersionSourceFile);@(Compile)" />
<CompileRemove="@(Compile)" />
<CompileInclude="$(_CompileWithVersionFile)" />
<_CompileWithVersionFileRemove="@(_CompileWithVersionFile)" />
Order is important. Any chance the generated file can be prepended to the source list instead of appended? I'm guessing that is the issue. I'm not sure where the code is yet.
See ctaggart/froto#100
The text was updated successfully, but these errors were encountered: