* Updates to point Dotnet update at NuGet.config
* Add NuGetConfigFile to MetadataTasks ScrapeHeaders
* switch to URL vs. nuget.config file copy
* make sure to delete the generated nuget.config file
* Update contribute guide with information on how to override the NuGetPackageSource for ClangSharp
* Revert change
This function returns multiple values via multiple mutable pointer
arguments, besides the annotated `frameStats` parameter not being the
last parameter.
Revert it because it has no effect on `windows-rs` and could even
break in the future, because it's not intended to be used this way.
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
Upstream SAL typo'd this in `_Out_writes_opt_` as `targetCount` instead
of `targetIdCount`.
Note that `actualTargetIdCount` will be set to describe how many target
ids are available or were actually written, whereas `targetIdCount` is
just a maximum number of available items to query in `targetIds`.
In #1453 `ClearRenderTargetView()`'s `pRect` slice was requested to
be marked as optional, but its `ClearDepthStencilView()` sibling was
completely glossed over. Mark it `Optional` as well as a `NULL` pointer
is expected to clear the entire resource view. A non-`NULL` pointer
with a length of `0` might not clear anything at all.
`dcomp.h` and `Presentation.h` are missing some `_COM_Outptr_`
annotations, turning these functions in `windows-rs` to take a
meaningless `*mut *mut c_void`. With this annotation the functions
return a generic `T: Interface` _and_ automatically pass its `&T::IID`
to the `riid` parameter resulting in a much more ergonomic API.
Also annotate some return-only functions with `RetVal` to make it easier
to retrieve these objects.
* Add OneBranch test template
* Added job matrix to Onebranch pipeline
* Moved .pipelines folder to AzurePipelinesTemplates
* Removing template to debug
* Fixing indentation
* Added build_winmd stage to win32metadata-onebranch
* Remove build_winmd job dependency since it is now a stage dependency
* Change how arch variable is referenced
* Use checkout template instead of old checkout method
* Update from BatchScript task to CmdLine taks
* checkout recursive submodules
* Don't move repo after cloning
* Add repo directory to script paths
* Add win32docs onebranch yaml script
* Trying a windows agent pool for win32docs
* testing if forward slashes are interferring with ADO task
* Debug printing for scraping cs files
* rebasing to main
* Fix backslashes to forward slashes
* Using a linux agent to match existing pipeline
* Use custom linux agent
* Update working directory for dotnet build
* Change working directory for linux agent
* Add scrapeconstants flag to x86 build
* Add print debugging for DiaSdk
* Add more print debugging to see what is happening in diasdk
* Use built-in dotnet pack ADO task
* change parameter for dotnet pack command
* Set working directory for dotnet pack
* Change how VS cmd is initialized
* Move VsDevCmd to powershell and test in subsequent task
* Try VsDevCmd in same task
* Install build tools for DoPackages.ps1
* Remove extra steps in DoPackages.ps1
* Install tools for other tasks as well
* Add required compiler and linker flags for compliance
* Testing pipeline trigger
* Re-enable signing, copy output to artifact staging directory
* Move from ESRP signing to OneBranch signing
* Add OfficialBuild flag to template
* Move win32docs over to OneBranch signing
* Add more files and consolidate onebranch signing for win32metadata
* delimiter for files to sign
* Move docs back to onebranch agent
* Move docs back to onebranch agent, fix docs targets file
* Specify solution file in apidocs folder
* More signing tweaks
* Fix build and pack scripts for docs
* Add signing for apidocs dll
* Remove cp_code from signing tasks
* Add nobuild to pack operation so we don't overwrite the signed binaries
* Specify binaries to sign
* Add --no-build to packages.proj pack operation
* Add debug printing and disable building project references
* Restore before packing in DoPackages.ps1
* Sign binaries that were hiding in obj and getting restored over top of other signed binaries
* More signing tweaks
* Skip install tools, which were regenerating dlls
* Force install tools in DoPackages
* Install tools on subsequent tasks
* Reduce signing to only necessary files
* Fix signing path
* Add unsigned dlls to onebranch codesign exceptions
* Removed old commented out tasks
* Revert Dia nuspec, which was an unintended change
* Add longpath option to checkout step
* Revert "Add longpath option to checkout step"
This reverts commit 063dfba113.
* Enable git long file paths via script
* Try setting global longpath instead of system
* Change repo directory name to work around git longpath issue
* Add repodirectory parameter to BuildWinMD checkout task
* Shorten win32docs repo directory name
* Try to extract version information out of nbgv since it can not set the pipeline name
* Change nbgv working directory to win32metadata repo
* Fix pwsh input syntax
* Set pipeline name to build number, added more debug printing
* Set pipeline build number
* Change working directory for pipeline name task
* Remove debug printing
* Save source commit for use by release pipeline
* Fix path for saving source commit
* Move source commit hash to end of job
* elevate commitId variable to a pipeline variable
* Fix formatting for commit id
* Change how nuget packages are copied to apidocs artifact staging directory
* Specify source folder for apidoc file published files
* Empty commit to test pipeline trigger