Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Phil Nachreiner e96b94f8d7
Update Install-DotNetTool.ps1 to use repos NuGet.config (#2013)
* 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
2024-11-04 07:21:24 -05:00
Mike Battista dc1d23ef8b Updated setup instructions with winget configure. 2024-08-27 12:59:37 -07:00
Mike Battista 08d1cbd3d0 Minor casing change. 2023-12-18 10:19:46 -08:00
Mike Battista 68f08d2459 Document how to update dependencies (Windows SDK, D3D Agility SDK, ClangSharp, etc.). Fixed #1759. 2023-12-18 09:17:33 -08:00
Mike Battista 0bf37261e1 Added Typedefs section. 2023-04-28 07:56:07 -07:00
Mike Battista 45869a0cad
Retired Windows.Win32.Interop.dll and moved attribute definitions to Windows.Win32.Foundation.Metadata (#1527)
* Initial attempt at merging Interop types into the main winmd.

The winmd is generated but the attributes don't appear to be retaining the Attribute inheritance which is causing build failures in the WinmdGenerator and samples.

* Updated new files and attributes.

* Updated interop reference.

* Attributes moved to Windows.Win32.Foundation.Metadata and everything builds and compiles but attributes that expose properties like MemorySize and NativeArrayInfo have questionable definitions since the properties aren't exposed in the metadata.

* Updated debug configuration.

* Added support for properties and attributes.

* Updated the baseline.

* Added public constructors.

* Updated the diffing tool to account for the attribute namespace change and updated the baseline.
2023-04-06 15:20:14 -07:00
Mike Battista 18f30abbe5 Updated incremental build guidance. 2023-04-05 15:05:17 -07:00
Mike Battista cd3bcefcad Added notes about libMappings.rsp. 2023-03-02 15:07:37 -08:00
Mike Battista 15459447ba Added note about clearing the local NuGet cache. 2022-11-17 12:05:47 -08:00
Mike Battista 2ea2e5e9c8 Added a section on Releasing. 2022-09-21 11:40:28 -07:00
Mike Battista 408ebbb476 Minor formatting fixes. 2022-09-08 09:56:26 -07:00
Lachlan Ennis eb0f857810
Update CONTRIBUTING.md (#1200)
Add `addUsesTo` section under enums
2022-08-30 21:54:08 -07:00
Mike Battista f13319fc57 Refactored Install-AllSoftware guidance. 2022-08-26 09:45:50 -07:00
Sophia Chen d10043a190
Adding a script to help set up the environment (#1061)
* add in script that will install all software

* remove hardcode english and remove agreement acceptances

* remove comments about signing

* remove git lfs as package

* add remotesigned comment

* using subexpression operator

* add in checks for exec policy and admin

* modify the error

* edit the lines

Co-authored-by: Sophia Chen <sophia.six.chen@gmail.com>
2022-08-25 16:41:37 -07:00
Steve Otteson 0086803694
Remove need for baseline winmd (#1056) 2022-08-17 23:15:08 -07:00
Mike Battista 4cbf805e73 Fixed broken link. 2022-06-29 20:41:16 -07:00
Mike Battista 6e0f3149c0 Updated notes about PowerShell 7. 2022-06-27 16:46:46 -07:00
Andrew Arnott b286d8956c
Update repo SDK and build authoring (#942)
* 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
2022-06-01 15:16:12 -07:00
Mike Battista f86785bec7 Renamed default branch to main. 2022-05-04 08:43:03 -07:00
Mike Battista ae38e15693 Added notes about removing attributes. 2022-03-28 22:38:24 -07:00
Steve Otteson 442dd0fea3
Switch to VS 2022 (#774)
* Trying switching pipeline to vs 2022

* Update location of vcvars.bat

* Update to indicate we'e using vs2022

* Update sln for vs2022
2022-01-11 21:19:11 -08:00
Mike Battista 5e41ce41e7 Updated prerequisites. 2021-10-27 13:02:46 -07:00
Mike Battista 832ff57987 Fixed a broken link. 2021-09-29 12:22:04 -07:00
Mike Battista 7747b4e581 Documentation updates. 2021-09-29 12:06:14 -07:00
Steve Otteson b07213e28b
Incremental build system (#670)
* 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
2021-09-23 21:38:28 -07:00
Mike Battista 7acff37394 Additional notes on applying attributes. 2021-08-18 16:00:58 -07:00
Mike Battista f05279a256 Fixed #559. 2021-08-18 15:20:42 -07:00
Mike Battista c077cbb0c0 Fixed #592. 2021-08-11 12:10:32 -07:00
Mike Battista 5e25e7843e Updated Git LFS guidance. 2021-08-11 11:26:34 -07:00
Steve Otteson 3823829144 Update the contributing guide with information about git lfs 2021-07-13 13:56:57 -07:00
Mike Battista c318100e32 Added more clarity per #512. 2021-06-28 09:11:48 -07:00
Mike Battista a40be9277f Added the .NET SDK. 2021-06-15 12:41:18 -07:00
Mike Battista ccde0f2f5b Added notes on missing constants. 2021-06-11 10:06:05 -07:00
Mike Battista ff5bbe9d28 Fixed a broken link. 2021-06-10 20:57:21 -07:00
Mike Battista 38243471b9 Added a Constants section. 2021-06-10 20:54:55 -07:00
Mike Battista e123c908d2 Minor cleanup. 2021-05-23 20:32:32 -07:00
Mike Battista ed72fecf4d Refactored verrsrc.h enums. 2021-05-23 19:20:50 -07:00
Mike Battista 83e5c4ebaf Associated more remaps with headers. 2021-05-16 03:45:29 -07:00
Mike Battista d1c49de738 Added notes about maintainability. 2021-05-16 00:56:06 -07:00
Mike Battista 734b31a854 Removed unnecessary -partitionName from examples. 2021-05-15 21:35:02 -07:00
Mike Battista 6093da0656 Added "Set up your development environment". 2021-05-12 13:12:27 -07:00
Mike Battista b35ee8921f Added "Comparing against the baseline" section. 2021-05-10 19:49:24 -07:00
Mike Battista 97c70e9dc5 Added Enums section to CONTRIBUTING.md. 2021-05-10 17:42:22 -07:00
Mike Battista 304bb2379a Fixed casing. 2021-05-08 16:13:15 -07:00
Mike Battista 9010acda0e Minor updates to CONTRIBUTING.md. 2021-05-07 17:32:22 -07:00
Mike Battista 0c38a5b2c0 Added how to validate to CONTRIBUTING.md. 2021-05-07 13:34:39 -07:00
Mike Battista fdc9c17889 Updated manually defined types. 2021-05-06 22:52:11 -07:00
Mike Battista b5ddba7a39 Added a note about -Clean. 2021-04-30 14:11:10 -07:00
Steve Otteson df833c5f4d
Updating a lot of namespaces (#444)
* Attempted to move winreg.h to System.Registry. Builds but only a few APIs moved.

* Added CONTRIBUTING.md with details on namespaces.

* Added overview bullets to CONTRIBUTING.md.

* Added projections to CONTRIBUTING.md.

* Fixed relative links.

* Removed hardcoded registry remappings.

* Refactored manual Registry definitions.

* Refactored networking APIs.

* Changed RRAS to Rras.

* Updated the Namespaces section.

* Added a script to identify missing header files.

* Fixed whitespace.

* Added a ToC to the Namespaces section.

* Cleaned up old Registry mappings.

* Removed hardcoded WinSock mappings.

Validated the headers for all hardcoded mappings are already in the WinSock partition. Added transportsettingcommon.h which was missing.

* Reordered parameters.

* Removed redundant DNS mappings.

* Removed redundant WFP mappings.

* Removed redundant Windows Firewall mappings.

* Renamed the WindowsFirewall partition.

* Renamed the WindowsFilteringPlatform partition.

* Removed redundant BITS mappings.

* Removed redundant DHCP mappings.

* Removed redundant IpHelper mappings.

* Removed redundant MIB mappings.

* Removed redundant IpHelper mappings.

* Added missing headers to WindowsFilteringPlatform.

* Removed duplicate entries from header.txt.

* Fixed build break. Casing matters for --traverse.

* Reverted casing changes.

* Moved AD, LDAP, and RDC to Networking.

* Renamed AllJoyn-DeviceAndDriverInstallation.

* Renamed Direct*.

* Renamed DisplayDevices-InteractionContext.

* Renamed Intl-OtherDeviceTechnologies.

* Renamed Packaging-Xps.

* Renamed COM, COM+, IE, and OfflineFiles.

* Renamed WindowsProgramming.

* Renamed WinML. Removed redundant ML mappings.

* Add missing AllJoyn headers.

* Attempted to move winreg.h to System.Registry. Builds but only a few APIs moved.

* Added CONTRIBUTING.md with details on namespaces.

* Added overview bullets to CONTRIBUTING.md.

* Added projections to CONTRIBUTING.md.

* Fixed relative links.

* Removed hardcoded registry remappings.

* Refactored manual Registry definitions.

* Refactored networking APIs.

* Changed RRAS to Rras.

* Updated the Namespaces section.

* Added a script to identify missing header files.

* Fixed whitespace.

* Added a ToC to the Namespaces section.

* Cleaned up old Registry mappings.

* Removed hardcoded WinSock mappings.

Validated the headers for all hardcoded mappings are already in the WinSock partition. Added transportsettingcommon.h which was missing.

* Reordered parameters.

* Removed redundant DNS mappings.

* Removed redundant WFP mappings.

* Removed redundant Windows Firewall mappings.

* Renamed the WindowsFirewall partition.

* Renamed the WindowsFilteringPlatform partition.

* Removed redundant BITS mappings.

* Removed redundant DHCP mappings.

* Removed redundant IpHelper mappings.

* Removed redundant MIB mappings.

* Removed redundant IpHelper mappings.

* Added missing headers to WindowsFilteringPlatform.

* Removed duplicate entries from header.txt.

* Fixed build break. Casing matters for --traverse.

* Reverted casing changes.

* Moved AD, LDAP, and RDC to Networking.

* Renamed AllJoyn-DeviceAndDriverInstallation.

* Renamed Direct*.

* Renamed DisplayDevices-InteractionContext.

* Renamed Intl-OtherDeviceTechnologies.

* Renamed Packaging-Xps.

* Renamed COM, COM+, IE, and OfflineFiles.

* Renamed WindowsProgramming.

* Renamed WinML. Removed redundant ML mappings.

* Add missing AllJoyn headers.

* Added missing AllJoyn interop header.

* Update branch with master

* Removing stray debug code

Co-authored-by: Mike Battista <mbattist@microsoft.com>
Co-authored-by: Steve Otteson <sotteson@microsoft.com>
2021-04-27 01:15:58 -07:00