fix(7350): Fixed the document required NuGet packages for generated code#38
Draft
OMpawar-21 wants to merge 2 commits into
Draft
fix(7350): Fixed the document required NuGet packages for generated code#38OMpawar-21 wants to merge 2 commits into
OMpawar-21 wants to merge 2 commits into
Conversation
Add <auto-generated> comment header to all generated .cs files listing the four required NuGet packages (contentstack.csharp, contentstack.utils, Newtonsoft.Json, Markdig). Add a "Required NuGet Packages" section to README.md with copy-paste install commands and a package-to-namespace reference table.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The generator emits
usingdirectives for external packages(
contentstack.csharp,contentstack.utils,Newtonsoft.Json,Markdig)but never told consumers to install them, causing build failures with no
actionable guidance.
Changes
copy-paste
dotnet add packagecommands and a package-to-namespacereference table.
<auto-generated>comment block atthe top of every generated
.csfile listing the required packages.Also fixed
using Markdig;ordering inCreateStringHelperClasssothe comment always appears as the first line.
Impact
No functional or breaking changes. Documentation and generated file
headers only.