|
696 | 696 |
|
697 | 697 | <TargetName="ReorderCompileItems" |
698 | 698 | BeforeTargets="CoreCompile" |
699 | | -Condition="'$(GenerateTargetFrameworkAttribute)' == 'true' AND('$(TargetFramework)' == 'netcore78' OR '$(TargetFramework)' == 'netcore259')"> |
| 699 | +Condition="'$(GenerateTargetFrameworkAttribute)' == 'true' AND '$(AssemblyName)' == 'FSharp.Core'"> |
700 | 700 | <ItemGroup> |
701 | 701 | <!-- Infrastructure puts AssemblyAttributes.fs at the beginning of the list and this will result and error when compiling FSharp.Core because all primitive types are not defined yet - fixup is required--> |
702 | 702 | <CompileAfterInclude="@(CompileBefore)"/> |
|