Skip to content

#4729 Update to correctly generate codegen nuget packages#4730

Merged
rockfordlhotka merged 4 commits into
mainfrom
dev/analyzer-packaging
Oct 13, 2025
Merged

#4729 Update to correctly generate codegen nuget packages#4730
rockfordlhotka merged 4 commits into
mainfrom
dev/analyzer-packaging

Conversation

@rockfordlhotka

Copy link
Copy Markdown
Member

No description provided.

@StefanOssendorf

Copy link
Copy Markdown
Contributor

I'll try these changes tomorrow or the day after locally.

@rockfordlhotka rockfordlhotka linked an issue Oct 6, 2025 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project files for CSLA code generators to properly generate NuGet packages with correct packaging configurations. The changes ensure that the generators can be consumed as development dependencies with proper isolation of their dependencies.

  • Added NuGet-specific packaging properties (IsPackable, DevelopmentDependency, SuppressDependenciesWhenPacking)
  • Enhanced dependency management for the AutoImplementProperties generator to include required runtime dependencies
  • Cleaned up formatting by removing unnecessary blank lines

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Csla.Generator.AutoSerialization.CSharp.csproj Added NuGet packaging properties and removed extra blank lines
Csla.Generator.AutoImplementProperties.CSharp.csproj Added NuGet packaging properties, enhanced Microsoft.Bcl.HashCode dependency handling, and removed extra blank lines

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@rockfordlhotka rockfordlhotka merged commit 0384c5a into main Oct 13, 2025
2 checks passed
@rockfordlhotka rockfordlhotka deleted the dev/analyzer-packaging branch October 13, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code generator nuget packages don't properly add to project

3 participants