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
Copy file name to clipboardExpand all lines: FeshHosting.fsproj
+25-11Lines changed: 25 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,11 @@
9
9
<UseWindowsForms>true</UseWindowsForms><!--inherited from Avalonedit ?-->
10
10
<!-- <TargetFrameworks>net472;net8.0-windows</TargetFrameworks> somehow the resultant nuget from multiple target frameworks
11
11
does get unified to 8.0 and does not work on net48 -->
12
-
<!--so the the release-nuget.yml aktion will change this and also publish a net472 nuget separately: -->
13
-
<TargetFramework>net8.0-windows</TargetFramework>
12
+
<!--so the the release-nuget.yml aktion will change this and also publish a net472,net8,net9 nuget separately: -->
13
+
<TargetFramework>net8.0-windows</TargetFramework><!-- use the lowest F# here by default -->
14
14
15
15
<DefineConstantsCondition="'$(TargetFramework)' == 'net472'">NETFRAMEWORK</DefineConstants> <!-- so thread.Abort() can be used -->
16
+
<DefineConstantsCondition="'$(TargetFramework)' == 'net8.0-windows'">NET8</DefineConstants> <!-- so that caret in GetProjectOptionsFromScript can be skipped-->
16
17
17
18
<LangVersion>preview</LangVersion><!-- to enable indexing from end via ^ -->
<!-- build the NET core nuget for F#8 so that dependencies like System.Diagnostics.DiagnosticSource are also for net8 and load properly in Rhino and Revit:
62
+
see https://github.com/dotnet/fsharp/issues/19174
63
+
Use Include not Update for FSharp.Core because of DisableImplicitFSharpCoreReference-->
64
+
<ItemGroupCondition="'$(TargetFramework)' == 'net472'"> <!-- net472 can use the latest versions -->
<PackageReferenceInclude="Microsoft.VisualBasic"Version="10.3.0" /> <!-- to move files to the recycle bin instead of deleting them -->
65
88
<PackageReferenceInclude="System.Private.Uri"Version="4.3.2" /> <!-- warning NU1903: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 -->
<!-- build the NET core nuget for F#8 so that dependencies like System.Diagnostics.DiagnosticSource are also for Net80 and load properly in Rhino and Revit:-->
0 commit comments