You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Microsoft.AspNetCore.BuildTools.ApiCheck to builds
- aspnet/KoreBuild#143
Add Microsoft.AspNetCore.BuildTools.ApiCheck.Task project
- include task assembly in the Microsoft.AspNetMicrosoft.AspNetCore.BuildTools.ApiCheck package
- add *.props and *.targets files to hook task into `Pack` target; runs just before .nupkg is created
- reference Microsoft.AspNetMicrosoft.AspNetCore.BuildTools.ApiCheck project from the Sdk project
- requires lots of hacks; dotnet/sdk#939 workarounds fail in this scenario
- bump ApiCheck package version
Improve project-to-project reference and native assembly handling
- avoid `FileNotFoundException` in `AssemblyLoadContext.GetAssemblyName()` due to `\placeholder\` paths
- catch and ignore `BadImageFormatException` in `AssemblyLoadContext.GetAssemblyName()`
- avoid `InvalidOperationException` in `PackageGraph.RuntimeIsCompatible()` due to missing .sha512 file
Fall back to `RuntimeTargets` when `RuntimeAssemblies` yields no assemblies
Change ApiCheck.exe's options and output
- add `api-check --compact-output` option
- generally make tool's output more useful to the task
- catch and log `FileNotFoundException`; output types and stack traces of caught `Exception`s
- change ApiCheck.exe option from `--ApiListing` to `--api-listing` for consistency w/ other options
Use Microsoft.Extensions.CommandLineUtils.Sources package
- VersionTool project cannot do this because it has `public` properties of these `internal` types
Update appveyor.yml now that VS 2017 RC image is no more
nits:
- remove `PackageGraph.RuntimeIsCompatible()` `candidateRuntime` parameter
- not needed and confusingly-named; passed value included in `compatibleRuntimes`
- update solution to use current project type GUID
- ignore global.json and launchSettings.json
- make some Linq a bit more readable
- whitespace and `using` cleanup
- move all property groups above item groups in Microsoft.AspNetMicrosoft.AspNetCore.BuildTools.ApiCheck.csproj
- make a couple of constructors `private`; used only in `public static` methods
- ignore case a bit more
- remove duplicate `<PropertyGroup>` from `NugetReferenceResolver` project
- get this repo building on Linux
- don't need API checks in this repo
- centralize a few more properties in dependencies.props
notes:
- don't use `UseCommandProcessor==true`; `ToolTask` writes out .cmd file with a BOM that cmd.exe hates
0 commit comments