Skip to content

Commit 03fd94b

Browse files
committed
net7
1 parent 632a663 commit 03fd94b

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ This includes type extension for pretty printing of Rhino objects as well as imp
1515

1616
This library allows you to compose RhinoScript functions with pipelines:
1717

18-
Get started by opening the Rhino.Scripting namespaces:
18+
Get started by opening the Rhino.Scripting namespaces.
19+
Opening Rhino.Scripting.FSharp will extend
20+
Rhino.Scripting and Rhino.Geometry types with additional static and member functions.
1921

2022
```fsharp
2123
open Rhino.Scripting
22-
open Rhino.Scripting.FSharp // opening this will extend RhinoScriptSyntax and some Rhino.Geometry types with additional static and member functions.
24+
open Rhino.Scripting.FSharp
2325
type rs = RhinoScriptSyntax
2426
```
2527

@@ -40,7 +42,7 @@ rs.ObjectName (guid, "123")
4042
```
4143

4244
The `|>!` operator is part of Rhino.Scripting.FSharp library.
43-
It passes it's input on as output. See [definition](https://github.com/goswinr/Rhino.Scripting.FSharp/blob/main/Src/Rhino.Scripting/Curried.fs#L16).
45+
It passes its input on as output. See [definition](https://github.com/goswinr/Rhino.Scripting.FSharp/blob/main/Src/Rhino.Scripting/Curried.fs#L16).
4446

4547
### Full API Documentation
4648

Rhino.Scripting.Fsharp.fsproj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>library</OutputType>
5-
<TargetFramework>net48</TargetFramework> <!-- so it can be used in latest Rhino 7 too, net48 needed since RhinoCommon.dll 7.5 -->
6-
<UseWPF>false</UseWPF>
7-
<UseWindowsForms>true</UseWindowsForms> <!--to get screen resolution, and file dialogs-->
5+
<TargetFrameworks>net48;net7.0</TargetFrameworks>
6+
87
<LangVersion>preview</LangVersion>
98
<NeutralLanguage>en</NeutralLanguage>
109
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> <!--to only have the english resources-->
1110
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1211
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> <!-- so that dependabot does not fail https://github.com/dependabot/dependabot-core/issues/10883#issuecomment-2495962805 -->
1312

14-
1513
<RootNamespace>Rhino.Scripting</RootNamespace>
1614
<AssemblyName>Rhino.Scripting.FSharp</AssemblyName>
1715
<AssemblyTitle>Rhino.Scripting.FSharp</AssemblyTitle>
@@ -23,7 +21,6 @@
2321

2422
<Authors>GoswinR</Authors>
2523
<Copyright>Goswin Rothenthal 2019</Copyright>
26-
2724
<Description>Rhino.Scripting, with extensions designed for F#</Description>
2825

2926
<Configuration>Release</Configuration>
@@ -61,11 +58,13 @@
6158

6259
<ItemGroup>
6360
<PackageReference Include="FSharp.Core" Version="6.0.7" /> <!-- so that dependabot does not fail, even though it is set to be excluded -->
64-
<PackageReference Include="RhinoCommon" Version="7.0.20314.3001" PrivateAssets="all" ExcludeAssets="runtime" />
61+
6562
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
6663
<PackageReference Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" PrivateAssets="all" />
67-
<PackageReference Include="Rhino.Scripting" Version="0.10.1" />
6864

65+
<PackageReference Include="RhinoCommon" Version="7.0.20314.3001" Condition="'$(TargetFramework)' == 'net48'" PrivateAssets="all" ExcludeAssets="runtime" /> <!--should be the same version as Rhino.Scripting and Rhino.Scripting.Extension -->
66+
<PackageReference Include="RhinoCommon" Version="8.19.25132.1001" Condition="'$(TargetFramework)' == 'net7.0'" PrivateAssets="all" ExcludeAssets="runtime" /><!--should be the same version as Rhino.Scripting and Rhino.Scripting.Extension -->
67+
<PackageReference Include="Rhino.Scripting" Version="0.11.0" />
6968
<!-- <Reference Include="Rhino.Scripting" HintPath="../Rhino.Scripting/bin/Release/net48/Rhino.Scripting.dll" /> -->
7069
</ItemGroup>
7170

0 commit comments

Comments
 (0)