Skip to content

Commit

Permalink
Merge pull request #186 from bartelink/exclude-assets
Browse files Browse the repository at this point in the history
Add ExcludeAssets for FSharp.Core
  • Loading branch information
SchlenkR authored Mar 5, 2024
2 parents bc5e3c2 + b22c24d commit a8d5269
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
5 changes: 1 addition & 4 deletions src/FsHttp.FSharpData/FsHttp.FSharpData.fsproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Configurations>Debug;Release</Configurations>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup>
<Description>FSharp.Data (JSON) integration package for FsHttp</Description>
<PackageId>FsHttp.FSharpData</PackageId>
</PropertyGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/FsHttp.NewtonsoftJson/FsHttp.NewtonsoftJson.fsproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Configurations>Debug;Release</Configurations>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup>
<Description>JSON.Net (Newtonsoft.Json) integration package for FsHttp</Description>
Expand Down
7 changes: 2 additions & 5 deletions src/FsHttp/FsHttp.fsproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Configurations>Debug;Release</Configurations>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<LangVersion>8</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FsHttp.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<Description>A .Net HTTP client library for F#, C#, and friends</Description>
<PackageId>FsHttp</PackageId>
</PropertyGroup>
Expand Down Expand Up @@ -49,6 +46,6 @@
Removal triggers issues in dotnet publish, e.g. for Lambda projects
Also avoids Rider search finding stuff in FSharp.Core.xml
-->
<PackageReference Include="FSharp.Core" Version="5.0.2" />
<PackageReference Include="FSharp.Core" Version="5.0.2" ExcludeAssets="contentfiles" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Tests/Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit a8d5269

Please sign in to comment.