Skip to content

Commit ddf1d8d

Browse files
committed
Initial project setup: csproj and versioning config
Added TinyRepository.csproj for .NET 8.0 class library with EF Core dependencies and full package metadata. Introduced version.json to manage semantic versioning and release branch configuration. Included README.md in NuGet packaging.
1 parent 8ae5efa commit ddf1d8d

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<Authors>Angelo Pirola</Authors>
8+
<Product>TinyRepository</Product>
9+
<Title>TinyRepository</Title>
10+
<!--<Title>TinyRepository - A lightweight generic repository for Entity Framework Core</Title>-->
11+
<Description>TinyRepository is a lightweight generic repository pattern implementation
12+
for Entity Framework Core, designed to simplify data access and management in .NET applications.</Description>
13+
<PackageId>TinyRepository</PackageId>
14+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
15+
<PackageIconUrl></PackageIconUrl>
16+
<PackageTags>repository pattern; entity framework core; data access; generic repository; .NET</PackageTags>
17+
<RepositoryType>git</RepositoryType>
18+
<RepositoryBranch>main</RepositoryBranch>
19+
<PackageReadmeFile>README.md</PackageReadmeFile>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.22" />
24+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.22">
25+
<PrivateAssets>all</PrivateAssets>
26+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
27+
</PackageReference>
28+
</ItemGroup>
29+
30+
<ItemGroup>
31+
<!--<None Include="..\..\identityLibrary.png">
32+
<Pack>True</Pack>
33+
<PackagePath></PackagePath>
34+
</None>-->
35+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
36+
</ItemGroup>
37+
</Project>

src/TinyRepository/version.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3+
"version": "1.0",
4+
"publicReleaseRefSpec": [
5+
"^refs/heads/main$"
6+
],
7+
"nugetPackageVersion": {
8+
"semVer": 2
9+
},
10+
"pathFilters": [ "." ]
11+
}

0 commit comments

Comments
 (0)