Skip to content

How does a local build of this repo get picked and used over the default RTM build? #27207

Answered by dougbu
IanKemp asked this question in Q&A
Discussion options

You must be logged in to vote

@IanKemp the following should work

  1. If necessary, increase $(AspNetCorePatchVersion) in eng/Versions.props to something higher than what's available on NuGet.org e.g. 10 for 3.1.x at the moment
  2. .\build.cmd -pack or ./build.sh -pack in the dotnet/aspnetcore repo
    • May need -all if C++ (ANCM) or Java packages are important in your scenario
  3. . .\activate.ps1 or . ./activate.sh in the dotnet/aspnetcore repo
    • This does interesting things such as pick up the targeting pack and shared framework layouts the build creates under the .dotnet/ folder
  4. Add the $(RepoRoot)artifacts/packages/$(Configuration)/Shipping folder from the dotnet/aspnetcore as a feed in the NuGet.config file for your project …

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@IanKemp
Comment options

Answer selected by dougbu
Comment options

You must be logged in to vote
1 reply
@IanKemp
Comment options

Comment options

You must be logged in to vote
1 reply
@IanKemp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants