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

10 classlib supports fullnamespace #16

Merged
merged 7 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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