1
0
mirror of synced 2025-12-25 11:00:14 -05:00
Files
core/release-notes/RunApiDiff.md
Carlos Sánchez López b548bbcc74 API diff between .NET 8.0 Preview 3 and .NET 8 Preview 4 (#8469)
* Fix scripts

* Microsoft.AspNetCore.App

* Microsoft.NETCore.App

* Microsoft.WindowsDesktop.App

* Add base README

* Microsoft.AspNetCore.App: Fix missing attributes.

* Microsoft.NETCore.App: Fix missing attributes.

* Microsoft.WindowsDesktop.App: Fix missing attributes.

* Apply suggestions from code review

Co-authored-by: Brennan <brecon@microsoft.com>

---------

Co-authored-by: Brennan <brecon@microsoft.com>
2023-06-14 20:54:45 -06:00

1.0 KiB

RunApiDiff Script

The RunApiDiff.ps1 script can automatically generate an API comparison report for two specified .NET previews, in the format expected for publishing in the dotnet/core repo.

Instructions

  1. Clone the dotnet/arcade repo. Let's assume you clone it into D:\arcade.
  2. Clone the dotnet/core repo. Let's assume you clone it into D:\core.
  3. Create a temporary directory. Let's assume you create it in D:\tmp.
  4. Run the command. Execution example:
.\RunApiDiff.ps1 `
   -PreviousDotNetVersion 8.0 `
   -PreviousPreviewOrRC preview `
   -PreviousPreviewNumberVersion 2 `
   -CurrentDotNetVersion 8.0 `
   -CurrentPreviewOrRC preview `
   -CurrentPreviewNumberVersion 3 `
   -CoreRepo D:\core\ `
   -ArcadeRepo D:\arcade\ `
   -TmpFolder D:\tmp\

Examples of what this script generates: