diff --git a/AdditionalTextConstantGenerator.sln b/AdditionalTextConstantGenerator.sln
index 53ec5b1..730538e 100644
--- a/AdditionalTextConstantGenerator.sln
+++ b/AdditionalTextConstantGenerator.sln
@@ -10,6 +10,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
LICENSE = LICENSE
README.md = README.md
global.json = global.json
+ versionsuffix.ci.props = versionsuffix.ci.props
+ versionsuffix.local.props = versionsuffix.local.props
+ versionsuffix.release.props = versionsuffix.release.props
EndProjectSection
EndProject
Global
diff --git a/AdditionalTextConstantGenerator/AdditionalTextConstantGenerator.csproj b/AdditionalTextConstantGenerator/AdditionalTextConstantGenerator.csproj
index 835e544..ca8951b 100644
--- a/AdditionalTextConstantGenerator/AdditionalTextConstantGenerator.csproj
+++ b/AdditionalTextConstantGenerator/AdditionalTextConstantGenerator.csproj
@@ -30,13 +30,18 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
+ true
+ $(DefineConstants);DATACUTE_EXCLUDE_TABINDENTINGLINEAPPENDER
+
+
diff --git a/AdditionalTextConstantGenerator/Generator.cs b/AdditionalTextConstantGenerator/Generator.cs
index 0876952..9aeced3 100644
--- a/AdditionalTextConstantGenerator/Generator.cs
+++ b/AdditionalTextConstantGenerator/Generator.cs
@@ -16,7 +16,6 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
context.RegisterPostInitializationOutput(c =>
{
- c.AddEmbeddedAttributeDefinition();
c.AddSource($"Datacute.Attributes.AdditionalTextConstantsAttribute.g.cs", Templates.AttributeClass);
});
diff --git a/AdditionalTextConstantGenerator/Templates.cs b/AdditionalTextConstantGenerator/Templates.cs
index 9652d9c..97fb810 100644
--- a/AdditionalTextConstantGenerator/Templates.cs
+++ b/AdditionalTextConstantGenerator/Templates.cs
@@ -10,7 +10,7 @@ internal static class Templates
@"
namespace Datacute.AdditionalTextConstantGenerator
{
- [global::System.AttributeUsage(global::System.AttributeTargets.Class, AllowMultiple = false), global::Microsoft.CodeAnalysis.Embedded]
+ [global::System.AttributeUsage(global::System.AttributeTargets.Class, AllowMultiple = false)]
internal sealed class AdditionalTextConstantsAttribute : global::System.Attribute
{
///
diff --git a/AdditionalTextConstantGenerator/TrackingNames.cs b/AdditionalTextConstantGenerator/TrackingNames.cs
index 7a4f0cd..d6be409 100644
--- a/AdditionalTextConstantGenerator/TrackingNames.cs
+++ b/AdditionalTextConstantGenerator/TrackingNames.cs
@@ -10,9 +10,9 @@ public enum TrackingNames
AttributeGlobsSelected = 142, // Helper: Just Path/Extension for resource matching
FileInfoAndGlobsCombined = 143, // Step 4b: FileInfo combined with ResourceGlobs
MatchingFilesFiltered = 144, // Step 4c: Files filtered by glob match
- AdditionalTextExtracted = 146, // Step 4d: EmbeddedResource created (with FileAndGlobs info)
+ AdditionalTextExtracted = 146, // Step 4d: AdditionalText Content created (with FileAndGlobs info)
AdditionalTextAndAllAttributeGlobsCombined = 147, // Step 4e: Resource/File data combined with all AttributeGlobInfo
- MatchingTextAndAttributeSelected = 148, // Step 4f: (AttributeContext, EmbeddedResource) selected
+ MatchingTextAndAttributeSelected = 148, // Step 4f: (AttributeContext, AdditionalText) selected
AdditionalTextsGroupedByAttributeContext = 150, // Step 5: Resources grouped into lookup
GenerationInputPrepared = 160, // Step 6: Final data prepared for output (AttributeContext, Resources, Options)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b1c7825..ca67b73 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.0.0] - 2025-07-28
+
+### Fixed
+- Updated `Datacute.IncrementalGeneratorExtensions` to fix broken embedded attribute usage
+
## [0.0.2-alpha] - 2025-07-27
### Fixed
@@ -17,6 +22,7 @@ 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/0.0.2-alpha...develop
+[Unreleased]: https://github.com/datacute/AdditionalTextConstantGenerator/compare/1.0.0...develop
+[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
diff --git a/global.json b/global.json
index f4fd385..c5d6164 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,6 @@
{
"sdk": {
"version": "9.0.0",
- "rollForward": "latestMajor",
- "allowPrerelease": true
+ "rollForward": "feature"
}
}
\ No newline at end of file
diff --git a/version.props b/version.props
index 3323d6d..71bc521 100644
--- a/version.props
+++ b/version.props
@@ -1,6 +1,6 @@
- 0.0.2
+ 1.0.0
diff --git a/versionsuffix.release.props b/versionsuffix.release.props
index 10906bd..759a431 100644
--- a/versionsuffix.release.props
+++ b/versionsuffix.release.props
@@ -1,5 +1,5 @@
- alpha
+
\ No newline at end of file