|
2 | 2 | <Project Sdk="Microsoft.NET.Sdk"> |
3 | 3 | <PropertyGroup> |
4 | 4 | <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 | + |
8 | 7 | <LangVersion>preview</LangVersion> |
9 | 8 | <NeutralLanguage>en</NeutralLanguage> |
10 | 9 | <SatelliteResourceLanguages>en</SatelliteResourceLanguages> <!--to only have the english resources--> |
11 | 10 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
12 | 11 | <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> <!-- so that dependabot does not fail https://github.com/dependabot/dependabot-core/issues/10883#issuecomment-2495962805 --> |
13 | 12 |
|
14 | | - |
15 | 13 | <RootNamespace>Rhino.Scripting</RootNamespace> |
16 | 14 | <AssemblyName>Rhino.Scripting.FSharp</AssemblyName> |
17 | 15 | <AssemblyTitle>Rhino.Scripting.FSharp</AssemblyTitle> |
|
23 | 21 |
|
24 | 22 | <Authors>GoswinR</Authors> |
25 | 23 | <Copyright>Goswin Rothenthal 2019</Copyright> |
26 | | - |
27 | 24 | <Description>Rhino.Scripting, with extensions designed for F#</Description> |
28 | 25 |
|
29 | 26 | <Configuration>Release</Configuration> |
|
61 | 58 |
|
62 | 59 | <ItemGroup> |
63 | 60 | <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 | + |
65 | 62 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" /> |
66 | 63 | <PackageReference Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" PrivateAssets="all" /> |
67 | | - <PackageReference Include="Rhino.Scripting" Version="0.10.1" /> |
68 | 64 |
|
| 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" /> |
69 | 68 | <!-- <Reference Include="Rhino.Scripting" HintPath="../Rhino.Scripting/bin/Release/net48/Rhino.Scripting.dll" /> --> |
70 | 69 | </ItemGroup> |
71 | 70 |
|
|
0 commit comments