AArnott / CodeGeneration.Roslyn

Assists in performing Roslyn-based code generation during a build.
Microsoft Public License
408 stars 60 forks source link

[WIP] Refactor: Tool now self-contained, BuildTime merged into it #198

Closed amis92 closed 4 years ago

amis92 commented 4 years ago

This is a major refactor.

It's triggered by a disaster of what 0.7.5-alpha turned out to be.

Major features:

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.

amis92 commented 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 ?

amis92 commented 4 years ago

I've updated the wiki for the newest changes: https://github.com/AArnott/CodeGeneration.Roslyn/wiki/Migrations

amis92 commented 4 years ago

@AArnott macos env in AzurePipelines times out since some time.

Edit: image https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops

AArnott commented 4 years ago

@amis92 I see you already fixed the macOS problem. :)