This repository was archived by the owner on Dec 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ to immediately see the effects of your changes on the generated code.
171171You can also package up your code generator as a NuGet package for others to install
172172and use. Your NuGet package should include a dependency on the ` CodeGeneration.Roslyn.BuildTime `
173173that matches the version of ` CodeGeneration.Roslyn ` that you used to produce your generator.
174- For example, if you used version 0.2.10 of this project, your .nuspec file would include this tag:
174+ For example, if you used version 0.4.6 of this project, your .nuspec file would include this tag:
175175
176176``` xml
177- <dependency id =" CodeGeneration.Roslyn.BuildTime" version =" 0.2.10 " />
177+ <dependency id =" CodeGeneration.Roslyn.BuildTime" version =" 0.4.6 " />
178178```
179179
180180In addition to this dependency, your NuGet package should include a ` build ` folder with an
@@ -203,7 +203,7 @@ so that the MSBuild Task can invoke the `dotnet codegen` command line tool:
203203``` xml
204204<ItemGroup >
205205 <PackageReference Include =" YourCodeGenPackage" Version =" 1.2.3" PrivateAssets =" all" />
206- <DotNetCliToolReference Include =" dotnet-codegen" Version =" 0.2.10 " />
206+ <DotNetCliToolReference Include =" dotnet-codegen" Version =" 0.4.6 " />
207207</ItemGroup >
208208```
209209
You can’t perform that action at this time.
0 commit comments