Closed amis92 closed 4 years ago
@AArnott as seen in https://github.com/AArnott/CodeGeneration.Roslyn/runs/534972275#step:9:12
Nerdbank.GitVersioning v3.1 introduces ExcludeFromCodeCoverage on ThisAssembly, and the attribute is not available in net20 target from Attributes pkg.
I had to downgrade. I know net20 is not supported, but maybe you could consider doing an exception for it like you did for netstandard1.x in https://github.com/dotnet/Nerdbank.GitVersioning/pull/453 ?
I've updated the wiki for the newest changes: https://github.com/AArnott/CodeGeneration.Roslyn/wiki/Migrations
@AArnott macos env in AzurePipelines times out since some time.
Edit: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
@amis92 I see you already fixed the macOS problem. :)
This is a major refactor.
It's triggered by a disaster of what 0.7.5-alpha turned out to be.
Major features:
dotnet-codegen
package is nowCodeGeneration.Roslyn.Tool
, as per project name. This was done to prevent confusion with previous CLI tool, which it now is not at all, in terms of either DotNetCliToolReference-style tools and global/local .NET CLI tools.Tool
is now aDevelopmentDependency=true
normal Dependency package (as in, suitable forPackageReference
usage. Via various properties, it's setup so that it contains a framework-dependent executable (.dll) with all dependencies included. Usingbuild/CG.R.Tool.props
file, the path to the executable is set in referencing projects.BuildTime
package's props/targets were merged into theTool
package because a separate package is no longer necessary, and as such necessary consumer dependencies are trimmed down to justCodeGeneration.Roslyn.Tool
package and a generator plugin of choice.TODO:
To use Sdk package as an Sdk element, the Sdk will need to be published to nuget.org, because MSBuildSdkResolver doesn't work well with local feeds.