* Bump 5.0 SDK and runtimes to 6.0
* Make it very clear that Powershell 7 is required
The new `#Requires` line makes the DoAll script fail fast with a helpful error:
> .\DoAll.ps1 : The script 'DoAll.ps1' cannot be run because it contained a "#requires" statement for Windows PowerShell 7.0. The version of Windows PowerShell that is required by the script does not match the currently running version of Windows PowerShell 5.1.22000.653.
Before this, the user may get some weird error about `Select-String -Raw` not working.
* Fix BuildSdk.proj default build
It doesn't like to be *built*. It only likes to be packed.
* Improve discovery of VS installations
* Install the .NET 5 runtime for ClangSharpPInvokeGenerator
* Initial check
* Get rid of .zip
* Fix x64 path bug in pipeline
* Dump obj to debug pipeline issue
* Get rid of duplicate files
* Fix missing partitions due to gitignore
* Additional updates for scripts
* Improve use of WinSDK assets by external projects
* Force the targets to skip scraping if we pass in a flag
* Remove creation of log dir
* Need to update .gitignore for generation project rename
* More upates
* Merge with main, update scripts with better error handling, don't clobber checked in global.json for tests
* Remove unnecessary line from script
* Bad variable in script
* Add MetadataTasks.dll to Microsoft.Windows.WinmdGenerator package
Fixes#644
This probably regressed in #630
* Bring back `Project/@Sdk` attribute
* * Additional fixes to metadata sdk
* Change the samples to use built nuget packages
* Change the DoAll.ps1 script to build the packages and the samples
* Move metadata SDK samples into their own directory so that their nuget.config doesn't mess with product builds
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
* Don't launch debugger during build unless an environment variable is set
* Add .editorconfig and apply to msbuild files
* Delete obsolete sample pack script
* Suppress some pack warnings
* Build the metadata package to the same path as docs by default
* Lots of build authoring cleanup
* Consolidate nuget.config files wherever possible.
* Consolidate msbuild sdk versions into a global.json file.
* Consolidate definitions of OutputPath in msbuild projects.
* Remove/fix msbuild properties that were inconsistently or redundantly applied in project files.
* Move Project Sdk attributes from Sdk.props to each project that imported it.
* Remove a bunch of 1-project solution files in favor of a new BuildTools.sln that contains them all.
* Target net5.0 instead of netcoreapp3.1
* Add task to print out .NET version info
* Disable signing consistently
* Set up VS env vars
* Fix bad paths for winmd
* Converting to use Nerdbank.GitVersioning
Thanks to @AArnott for this cool project that automatically increments our build numbers for us.
Co-authored-by: Steve Otteson <sotteson@microsoft.com>