Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Datacute.IncrementalGeneratorExtensions" Version="1.0.3">
<PackageReference Include="Datacute.IncrementalGeneratorExtensions" Version="1.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 0 additions & 2 deletions AdditionalTextConstantGenerator/CodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ private void RecordStringConstantNameForAdditionalText(string stringConstantName
}
}

protected override string AutoGeneratedComment => Templates.AutoGeneratedComment;

protected override void AppendDocComments()
{
if (_options.IsDesignTimeBuild) return;
Expand Down
7 changes: 0 additions & 7 deletions AdditionalTextConstantGenerator/Templates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ public AdditionalTextConstantsAttribute(string extension, string path)
}
}";

public const string AutoGeneratedComment = /* language=c# */
@"//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the Datacute.AdditionalTextConstantGenerator.
// </auto-generated>
//------------------------------------------------------------------------------";

public const string ClassDocComments = /* language=c# */
@"/// <summary>
/// This class's string constants are generated from project files meeting the criteria:
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.1] - 2025-08-03

### Changed

- Bump Datacute.IncrementalGeneratorExtensions and use its AutoGeneratedComment

## [1.0.0] - 2025-07-28

### Fixed
Expand All @@ -22,7 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- EmbeddedResourcePropertyGenerator code, converted to generate string constants for additional text files in a project

[Unreleased]: https://github.com/datacute/AdditionalTextConstantGenerator/compare/1.0.0...develop
[Unreleased]: https://github.com/datacute/AdditionalTextConstantGenerator/compare/1.0.1...develop
[1.0.1]: https://github.com/datacute/AdditionalTextConstantGenerator/releases/tag/1.0.1
[1.0.0]: https://github.com/datacute/AdditionalTextConstantGenerator/releases/tag/1.0.0
[0.0.2-alpha]: https://github.com/datacute/AdditionalTextConstantGenerator/releases/tag/0.0.2-alpha
[0.0.1-alpha]: https://github.com/datacute/AdditionalTextConstantGenerator/releases/tag/0.0.1-alpha
2 changes: 1 addition & 1 deletion version.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionPrefix>1.0.1</VersionPrefix>
</PropertyGroup>

<PropertyGroup>
Expand Down