Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from kurmann/10-classlib-supports-fullnamespace
Browse files Browse the repository at this point in the history
10 classlib supports fullnamespace
  • Loading branch information
kurmann authored Apr 8, 2024
2 parents 987df6b + 2187f35 commit b6a2971
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ Das Projekt steht unter der [Apache 2.0 Lizenz](LICENSE).

- Neues Template um ein ganzes GitHub-Repository zu erstellen mit .NET-Projekten, Gitignore, Nuget-Packaging-Workflows

### Version 0.3.3 - 2024-04-08

#### Hinzugefügt

- Klassenbibliothekts-Template unterstützt die Angabe von Namespaces

### Version 0.3.2 - 2024-04-08

#### Hinzugefügt
Expand Down
2 changes: 1 addition & 1 deletion Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
sollten stattdessen durch den CI/CD-Prozess gesteuert werden.
Die Release Notes für jede Version sollten separat gepflegt und vor dem Merge in den 'main'-Branch aktualisiert werden. -->
<PackageVersion>0.3.2</PackageVersion>
<PackageVersion>0.3.3</PackageVersion>

<!-- Die Release Notes sollten mindestens vor jeder Minor-Version in der README.md-Datei aktualisiert werden. -->
<PackageReleaseNotes>Siehe README.md für Details.</PackageReleaseNotes>
Expand Down
10 changes: 9 additions & 1 deletion templates/nuget-classlib/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,13 @@
}
]
}
]
],
"symbols": {
"namespace": {
"type": "parameter",
"description": "The root namespace for the project e.g 'Kurmann.Videoschnitt'",
"defaultValue": "Kurmann",
"replaces": "NamespacePlaceholder"
}
}
}
2 changes: 1 addition & 1 deletion templates/nuget-classlib/ClassLibrary/SampleClass.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Kurmann.ClassLibrary;
namespace NamespacePlaceholder.ClassLibrary;

public class SampleClass
{
Expand Down
2 changes: 1 addition & 1 deletion templates/nuget-classlib/Tests/SampleClassTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Kurmann.ClassLibrary.Tests;
namespace NamespacePlaceholder.ClassLibrary.Tests;

[TestClass]
public class SampleClassTest
Expand Down

0 comments on commit b6a2971

Please sign in to comment.