|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project Sdk="Microsoft.NET.Sdk">
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFramework>net7.0</TargetFramework> |
| 4 | + <TargetFramework>net6.0</TargetFramework> |
5 | 5 | <OutputType>Library</OutputType>
|
6 |
| - <!-- We want to selectively exclude FSharp.Core below, so we need to disable the implicit reference --> |
| 6 | + </PropertyGroup> |
| 7 | + |
| 8 | + <PropertyGroup Label="BuildOptions"> |
7 | 9 | <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
| 10 | + <DebugType>portable</DebugType> |
8 | 11 | <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
9 |
| - <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 12 | + <GenerateDependencyFile>false</GenerateDependencyFile> |
| 13 | + <GenerateDocumentationFile>false</GenerateDocumentationFile> |
| 14 | + <PublishDir>$(SolutionDir)/Release/FSharp</PublishDir> |
| 15 | + <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> |
10 | 16 | </PropertyGroup>
|
| 17 | + |
11 | 18 | <ItemGroup>
|
12 |
| - <!-- We ship FSharp.Core as part of common module fsharpcore, reference in the .psd1--> |
13 |
| - <PackageReference Include="fsharp.core" Version="7.0.0" ExcludeAssets="All" /> |
14 |
| - <PackageReference Include="fsharp.compiler.service" Version="42.7.101"/> |
15 |
| - <PackageReference Include="System.Runtime.Remoting" Version="7.0.0"/> |
| 19 | + <PackageReference Include="fsharp.compiler.service" Version="43.8.100" /> |
| 20 | + <!-- We ship FSharp.Core as part of common module FSharp.Core, which will be imported as a module dependency --> |
| 21 | + <PackageReference Include="fsharp.core" Version="8.0.100" /> |
| 22 | + |
16 | 23 | </ItemGroup>
|
17 | 24 | <ItemGroup>
|
18 | 25 | <Compile Include="Library.fs" />
|
19 | 26 | <Content Include="FSharp.psd1" CopyToPublishDirectory="Always" />
|
20 | 27 | </ItemGroup>
|
21 | 28 | <ItemGroup>
|
22 | 29 | <!-- These are provided by Powershell 7 and dont need to be included in the package -->
|
23 |
| - <PackageReference Include="System.Management.Automation" Version="7.3.0" PrivateAssets="All" /> |
24 |
| - <PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" ExcludeAssets="all" /> |
25 |
| - <PackageReference Include="System.Drawing.Common" Version="7.0.0" ExcludeAssets="all" /> |
26 |
| - <PackageReference Include="System.Resources.Extensions" Version="7.0.0" ExcludeAssets="all" /> |
27 |
| - <PackageReference Include="System.Security.Cryptography.Pkcs" Version="7.0.0" ExcludeAssets="all" /> |
28 |
| - <PackageReference Include="System.Security.Cryptography.ProtectedData" Version="7.0.0" ExcludeAssets="all" /> |
29 |
| - <PackageReference Include="System.Security.Cryptography.Xml" Version="7.0.0" ExcludeAssets="all" /> |
30 |
| - <PackageReference Include="System.Security.Permissions" Version="7.0.0" ExcludeAssets="all" /> |
31 |
| - <PackageReference Include="System.Windows.Extensions" Version="7.0.0" ExcludeAssets="all" /> |
32 |
| - <PackageReference Include="Microsoft.Win32.SystemEvents" Version="7.0.0" ExcludeAssets="all" /> |
33 |
| - <PackageReference Include="System.Diagnostics.EventLog" Version="7.0.0" ExcludeAssets="all" /> |
34 |
| - <PackageReference Include="System.CodeDom" Version="7.0.0" ExcludeAssets="all" /> |
| 30 | + <PackageReference Include="System.Management.Automation" Version="7.2.0" PrivateAssets="All" /> |
| 31 | + <PackageReference Include="System.Collections.Immutable" Version="8.0.0" PrivateAssets="All" /> |
| 32 | + <PackageReference Include="System.Reflection.Metadata" Version="8.0.0" PrivateAssets="All" /> |
| 33 | + <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.0" PrivateAssets="All" /> |
35 | 34 | </ItemGroup>
|
36 | 35 | </Project>
|
0 commit comments