Skip to content

Commit ebfe035

Browse files
Renamed NuGet package
1 parent 97bf916 commit ebfe035

7 files changed

Lines changed: 49 additions & 72 deletions

File tree

AutoIndexCache.sln

Lines changed: 0 additions & 44 deletions
This file was deleted.

AutoIndexCache.slnx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path="CREATERELEASE.md" />
4+
<File Path="LICENSE.md" />
5+
<File Path="README.md" />
6+
</Folder>
7+
<Project Path="AutoIndexCache.Benchmarks/AutoIndexCache.Benchmarks.csproj" />
8+
<Project Path="AutoIndexCache.Tests/AutoIndexCache.Tests.csproj" />
9+
<Project Path="AutoIndexCache/AutoIndexCache.csproj" />
10+
</Solution>

AutoIndexCache/AutoIndexCache.csproj

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,13 @@
99
<Authors>David Liebeherr</Authors>
1010
<Company>rent-a-developer</Company>
1111
<Copyright>Copyright © rent-a-developer / David Liebeherr</Copyright>
12-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
13-
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
14-
<PackageProjectUrl>https://github.com/rent-a-developer/AutoIndexCache</PackageProjectUrl>
15-
<PackageIcon>icon.png</PackageIcon>
1612
<RepositoryUrl>https://github.com/rent-a-developer/AutoIndexCache.git</RepositoryUrl>
1713
<RepositoryType>GIT</RepositoryType>
18-
<PackageTags>cache index automatic thread-safe</PackageTags>
1914
<Description>A high-performance, thread-safe cache for .NET applications that provides automatic indexing of cached data.</Description>
20-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
2115
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2216
<IncludeSymbols>true</IncludeSymbols>
23-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
24-
<Version>1.3.0</Version>
25-
<PackageReleaseNotes>Performance optimizations.</PackageReleaseNotes>
17+
<Version>2.0.0</Version>
2618
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
27-
<PackageReadmeFile>README.md</PackageReadmeFile>
2819
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
2920
<EnableNETAnalyzers>True</EnableNETAnalyzers>
3021
<AnalysisLevel>latest-all</AnalysisLevel>
@@ -34,6 +25,16 @@
3425
<AssemblyTitle>rent-a-developer AutoIndexCache</AssemblyTitle>
3526
<AssemblyName>RentADeveloper.AutoIndexCache</AssemblyName>
3627
<DocumentationFile>RentADeveloper.AutoIndexCache.xml</DocumentationFile>
28+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
29+
<PackageId>AutoIndexCache</PackageId>
30+
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
31+
<PackageProjectUrl>https://github.com/rent-a-developer/AutoIndexCache</PackageProjectUrl>
32+
<PackageIcon>icon.png</PackageIcon>
33+
<PackageTags>cache index automatic thread-safe</PackageTags>
34+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
35+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
36+
<PackageReleaseNotes>Package has been renamed.</PackageReleaseNotes>
37+
<PackageReadmeFile>README.md</PackageReadmeFile>
3738
</PropertyGroup>
3839

3940
<ItemGroup>

CREATERELEASE.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,3 @@
55
- Open Visual Studio Developer Command Prompt
66
- Change directory to the root directory of this solution
77
- Run "dotnet pack -c Release AutoIndexCache\AutoIndexCache.csproj"
8-
9-
## Sign NuGet package
10-
11-
- Open Visual Studio Developer Command Prompt
12-
- Change directory to the root directory of this solution
13-
- Run "dotnet nuget sign AutoIndexCache\bin\Release\AutoIndexCache.1.x.x.nupkg --certificate-path Path\To\CodeSigningCertificate.pfx --timestamper http://timestamp.comodoca.com/rfc3161 --certificate-password CertificatePassword"
14-
- Enter the encryption password for the code signing certificate.
15-
16-
## Sign NuGet symbols package
17-
18-
- Open Visual Studio Developer Command Prompt
19-
- Change directory to the root directory of this solution
20-
- Run "dotnet nuget sign AutoIndexCache\bin\Release\AutoIndexCache.1.x.x.snupkg --certificate-path Path\To\CodeSigningCertificate.pfx --timestamper http://timestamp.comodoca.com/rfc3161 --certificate-password CertificatePassword"
21-
- Enter the encryption password for the code signing certificate.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![NuGet Version](https://img.shields.io/nuget/v/RentADeveloper.AutoIndexCache)](https://www.nuget.org/packages/RentADeveloper.AutoIndexCache/)
1+
[![NuGet Version](https://img.shields.io/nuget/v/AutoIndexCache)](https://www.nuget.org/packages/AutoIndexCache/)
22
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rent-a-developer_AutoIndexCache&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rent-a-developer_AutoIndexCache)
33
[![license](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE.md)
4-
![semver](https://img.shields.io/badge/semver-1.3.0-blue)
4+
![semver](https://img.shields.io/badge/semver-2.0.0-blue)
55

66
# AutoIndexCache
77
A high-performance, thread-safe cache for .NET applications that provides automatic indexing of cached data.
@@ -135,9 +135,9 @@ This library is licensed under the [MIT license](LICENSE.md).
135135
# Installation
136136
First, [install NuGet](http://docs.nuget.org/docs/start-here/installing-nuget).
137137

138-
Then install the [NuGet package](https://www.nuget.org/packages/RentADeveloper.AutoIndexCache/) from the package manager console:
138+
Then install the [NuGet package](https://www.nuget.org/packages/AutoIndexCache/) from the package manager console:
139139
```shell
140-
PM> Install-Package RentADeveloper.AutoIndexCache
140+
PM> Install-Package AutoIndexCache
141141
```
142142

143143
# Documentation

scripts/CleanBuildArtifacts.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
REM This script deletes all bin and obj folders
2+
3+
@echo off
4+
5+
set "ParentDir=%CD%\.."
6+
7+
for %%f in (bin obj) do (
8+
for /f "delims=" %%d in ('dir /ad /b /s "%ParentDir%\%%f" 2^>nul') do (
9+
echo Deleting folder: %%d
10+
rd /s /q "%%d"
11+
)
12+
)

scripts/CleanBuildArtifacts.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# This script deletes all bin and obj folders
3+
4+
ParentDir="$(dirname "$PWD")"
5+
6+
for folder in bin obj; do
7+
# Find all directories named $folder under $ParentDir
8+
find "$ParentDir" -type d -name "$folder" 2>/dev/null | while read -r dir; do
9+
echo "Deleting folder: $dir"
10+
rm -rf "$dir"
11+
done
12+
done

0 commit comments

Comments
 (0)