Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Microsoft.DotNet.HotReload.Utils.Generator.BuildTool MSBuild target nuget #14

Merged
merged 10 commits into from
May 5, 2021

Conversation

lambdageek
Copy link
Member

Make a nuget package that has a target that runs a copy of the delta generator right after a Build target.

Factor out the common command-line frontend into a new Frontend assembly.

lambdageek added 8 commits May 4, 2021 13:35
from dotnet/arcade
The idea is that projects will be able to include

```
<PackageReference Include="Microsoft.DotNet.HotReload.Utils.Generator.BuildTool" Version="$(MicrosoftDotNetHotReloadUtilsVersion)" />
```

And they will automatically get a task added to their build that will run the
included version of the delta generator as part of their build.

Right now the .targets file doesn't do anything except run the tool with `--help`
Seems to generate workable deltas now
@lambdageek
Copy link
Member Author

FYI: @ViktorHofer you were right, adding a targets nuget wasn't too bad. Tried it locally, seems to be working. After I merge this and publish packages, I'll update the dotnet/runtime#51144 to use it

@lambdageek lambdageek merged commit a95367a into dotnet:main May 5, 2021
@lambdageek lambdageek deleted the add-buildtool branch May 11, 2021 17:32
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.

2 participants