Skip to content

Instantly share code, notes, and snippets.

@baronfel
Created July 23, 2019 20:58
Show Gist options
  • Save baronfel/80f49ecb93ebacb84ca840fca7a12fc2 to your computer and use it in GitHub Desktop.
Save baronfel/80f49ecb93ebacb84ca840fca7a12fc2 to your computer and use it in GitHub Desktop.
worked example of .net core 3 preview 7 local tool manifest
{
"isRoot" :true,
"tools": {
"paket": {
"version": "5.215.0",
"commands": [
"paket"
]
}
}
}
@baronfel
Copy link
Author

add this file to the root of your repo. now from that repo root (as long as .net core 3 preview 7 is the active .net sdk) you can do dotnet tool restore to restore the tools and dotnet paket to invoke the local tool.

@baronfel
Copy link
Author

I bet the restore targets doesn't know how to handle this though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment