Skip to content

Commit 2908cbc

Browse files
committed
build: include readme in nuget packages
1 parent f64fef1 commit 2908cbc

5 files changed

Lines changed: 33 additions & 23 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
### 2025-06-10 v5.0.0
44

55
* feat: branched off and removed LINQ project, as it is unlikely to become production ready in the new future
6+
* build: simplified library target to .NET Standard 2.0 for maximum compatibility.
67
* build: remove unsupported frameworks, separately test each supported framework target
78
* test: updated functional test in NullValueTests to avoid duplicate error on create
89
* test: updated packages, updated deprecated async void methods
10+
* test: Tests target .NET Core 6.0-9.0
911

1012
### 2025-02-24 v5.0.0-Beta
1113

src/NetCoreForce.Client/NetCoreForce.Client.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@
2121
<RepositoryType>$(RepositoryType)</RepositoryType>
2222
<RepositoryUrl>$(RepositoryUrl)</RepositoryUrl>
2323
<PackageReleaseNotes>$(PackageReleaseNotes)</PackageReleaseNotes>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
2425
</PropertyGroup>
26+
27+
<ItemGroup>
28+
<None Include="README.md" Pack="true" PackagePath="\" />
29+
</ItemGroup>
30+
2531
<PropertyGroup>
2632
<!-- Documentation -->
2733
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -30,6 +36,7 @@
3036
<NoWarn>CS1591</NoWarn>
3137
<CheckEolTargetFramework>false</CheckEolTargetFramework>
3238
</PropertyGroup>
39+
3340
<PropertyGroup Condition="'$(Configuration)'=='Release'">
3441
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
3542
<PackageOutputPath>$(SolutionDir)/packages</PackageOutputPath>
@@ -59,4 +66,4 @@
5966
<ItemGroup>
6067
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
6168
</ItemGroup>
62-
</Project>
69+
</Project>

src/NetCoreForce.Client/README.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
# NetCoreForce.Client
1+
# NetCoreForce
22

3-
Current transactions supported:
4-
* Create object
5-
* Update object
6-
* Delete object
7-
* Get SOQL Query results
8-
* Get object by Id
9-
* SOSL Search
3+
## A .NET Standard and .NET Core Salesforce REST API integration library
4+
*This project is not offered, sponsored, or endorsed by Salesforce.*
105

11-
Metadata:
12-
* Org Limits
13-
* SObject Basic Information (basic object metadata)
14-
* SObject Describe (full object metadata)
15-
* Describe Global
16-
Metadata results have modeled/typed results
6+
Targets .NET Standard 2.0 - this means it will be generally compatible with .NET Framework 4.6.1+ and .NET Core 2.0+
7+
For more info on .NET Standard 2.0 compatiblity [see the Microsoft documentation here](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0)
178

18-
Supported Auth Flows
19-
* Username/Password
20-
* Web Server
21-
* User Agent
22-
* Refresh Token
9+
Full tested support is for .NET Core 6.0 - 9.0 as tooling and tests target those.

src/NetCoreForce.ModelGenerator/NetCoreForce.ModelGenerator.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.props))\build.props" />
2+
<Import
3+
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.props))\build.props" />
34
<PropertyGroup>
45
<AssemblyName>dotnet-modelgenerator</AssemblyName>
56
<Product>NetCoreForce.ModelGenerator</Product>
@@ -10,7 +11,8 @@
1011
<!--NuGet-->
1112
<Authors>$(Authors)</Authors>
1213
<Copyright>$(Copyright)</Copyright>
13-
<Description>NetCoreForce ModelGenerator tool to generate object models against a live Salesforce org.</Description>
14+
<Description>NetCoreForce ModelGenerator tool to generate object models against a live
15+
Salesforce org.</Description>
1416
<IsPackable>true</IsPackable>
1517
<PackageId>NetCoreForce.ModelGenerator</PackageId>
1618
<PackageLicenseExpression>$(PackageLicenseExpression)</PackageLicenseExpression>
@@ -23,8 +25,13 @@
2325
<PackAsTool>true</PackAsTool>
2426
<ToolCommandName>NetCoreForce.ModelGenerator</ToolCommandName>
2527
<CheckEolTargetFramework>false</CheckEolTargetFramework>
28+
<PackageReadmeFile>README.md</PackageReadmeFile>
2629
</PropertyGroup>
2730

31+
<ItemGroup>
32+
<None Include="README.md" Pack="true" PackagePath="\" />
33+
</ItemGroup>
34+
2835
<PropertyGroup Condition="'$(Configuration)'=='Release'">
2936
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
3037
<PackageOutputPath>$(SolutionDir)/packages</PackageOutputPath>

src/NetCoreForce.Models/NetCoreForce.Models.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.props))\build.props" />
2+
<Import
3+
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.props))\build.props" />
34
<PropertyGroup>
45
<AssemblyName>NetCoreForce.Models</AssemblyName>
56
<Product>NetCoreForce.Models</Product>
@@ -20,7 +21,13 @@
2021
<RepositoryType>$(RepositoryType)</RepositoryType>
2122
<RepositoryUrl>$(RepositoryUrl)</RepositoryUrl>
2223
<PackageReleaseNotes>$(PackageReleaseNotes)</PackageReleaseNotes>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
2325
</PropertyGroup>
26+
27+
<ItemGroup>
28+
<None Include="README.md" Pack="true" PackagePath="\" />
29+
</ItemGroup>
30+
2431
<PropertyGroup>
2532
<!-- Documentation -->
2633
<GenerateDocumentationFile>true</GenerateDocumentationFile>

0 commit comments

Comments
 (0)