Teach DevCheck to verify dependencies
To use:
* DevCheck -CheckDependencies (or -All or no parameters) to verify dependencies
* DevCheck -SyncDependencies to verify and potentially update dependencies (if necessary)
* DevCheck -CheckVisualStudio now also verifies all required components are installed per docs\Coding-Guidelines\VisualStudio2022.vsconfig
Also enabled StrictMode 3.0 for better error detection.
Sample runs:
[C:\source\repos\windowsappsdk]DevCheck.cmd -CheckVisualStudio
Checking developer environment...
Windows App SDK location...C:\source\repos\windowsappsdk
VisualStudio 2022...C:\Program Files\Microsoft Visual Studio\2022\Enterprise
...Scanning 69 components in C:\source\repos\windowsappsdk\docs\Coding-Guidelines\VisualStudio2022.vsconfig.....................................................................OK
Coding time!
and
[C:\source\repos\windowsappsdk]DevCheck.cmd
Checking developer environment...
Windows App SDK location...C:\source\repos\windowsappsdk
VisualStudio 2022...C:\Program Files\Microsoft Visual Studio\2022\Enterprise
...Scanning 69 components in C:\source\repos\windowsappsdk\docs\Coding-Guidelines\VisualStudio2022.vsconfig.....................................................................OK
Test certificate for C:\source\repos\windowsappsdk\.user\winappsdk.certificate.test.thumbprint...OK
Test certificate AF8A2139E3942FE1D3DA65009D68C2A97EB41739...OK
TAEF service...Running
Reading C:\source\repos\windowsappsdk\eng\Version.Details.xml...
14 dependencies detected
Reading C:\source\repos\windowsappsdk\eng\Version.Dependencies.props...
Verify C:\source\repos\windowsappsdk\eng\Version.Dependencies.props...OK
Scanning packages.config...
Scanned 23 packages.config
Scanned 40 *.vcxproj
Coding time!
TODO (in a future PR)
* Verify references in *proj use only packages in Version.*.xml
* Verify references in *proj use only package versions matching Version.*.xml
* Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/ProjectReunionInternal build Maestro-UpdateEngCommon_2212.09001 (#3240)
Microsoft.WinAppSDK.EngCommon
From Version 1.2.220923.2 -> To Version 1.3.221209100
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Various BuildTransportPackage.ps1 Refactors and Fixes (#3221)
* Update DynamicDependencies\Test_Win* dependencies to prevent out-of-order builds (#3195)
* Remove UTF8 BOM
* Fix test\DynamicDependency\Test_Win* to include a dependency on Framework.Widgets so the build ensures proper build order
Co-authored-by: reunion-maestro[bot] <81196566+reunion-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Howard Kapustein <howardk@microsoft.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.2.220923.2 -> To Version 1.3.221209100
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221108.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.2.3-CI-25241.1001.221107-1000.1
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221109.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.2.3-CI-25241.1002.221108-1000.1
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221109.2
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.2.3-CI-25242.1000.221109-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221110.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25243.1000.221110-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221111.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25244.1000.221111-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221114.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25246.1000.221114-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221115.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25246.1001.221115-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221116.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25247.1000.221116-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221117.2
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25248.1000.221117-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221118.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25249.1000.221118-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221121.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25252.1000.221121-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221129.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25255.1001.221128-1100.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221201.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25255.1002.221129-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221201.4
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25256.1000.221130-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221201.5
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25257.1000.221201-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221203.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25260.1000.221203-1000.0
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20221205.1
Microsoft.FrameworkUdk
From Version 1.2.3-CI-25233.1000.221026-1354.0 -> To Version 1.3.0-CI-25260.1001.221205-1000.0
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Kyaw Thant <48363984+kythant@users.noreply.github.com>
* Move csproj to CentralPackageVersions
* Move more csproj to CentralPackageVersions
* Replace version 1.1.1 of SourceLink.Common, SourceLink.GitHub, Build.Tasks.GitHub with variable in Versions.props
* Add vars to Versions.props
* Replace CppWinRT version 2.0.220929.3 with $(CppWinRTVersion) from Versions.props
* Replace CppWinRT version 2.0.220531.1 with $(CppWinRTVersion) from Versions.props
* Replace Taef version 10.58.210222006-develop with variable from Versions.props
* Replace Wil version 1.0.220914.1 with variable from Versions.props
* remove xml line, use variables from versions.props
* Move Cpp.Default.props to top so that version.props is brought in before import statements
* Use nuget Central Package Management
* add one that I missed - moving cpp.default to the top to populate variables before imports
* Disable problem csproj files (time boxing effect)
Microsoft.WindowsAppSDK.AppLicensingInternal.TransportPackage
From Version 1.2.0-main.20220920.1 -> To Version 1.2.0-main.20221021.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.2.220923.1 -> To Version 1.2.220923.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.1.0-20220307.0-CI -> To Version 1.2.220923.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WindowsAppSDK.AppLicensingInternal.TransportPackage
From Version 1.2.0-main.20220810.1 -> To Version 1.2.0-main.20220920.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
CsWinRT.Dependency.WindowsSdkPackage , CsWinRT.Dependency.DotNetCoreRuntime , CsWinRT.Dependency.DotNetCoreSdk , Microsoft.Windows.CsWinRT
From Version 23 -> To Version 24
Microsoft.WinAppSDK.EngCommon
From Version 1.1.0-20220304.0-CI -> To Version 1.1.0-20220307.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.1.0-20220210.0-CI -> To Version 1.1.0-20220225.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.1.0-20220125.0-CI -> To Version 1.1.0-20220210.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Update installer to support both publishing IDs used in App SDK. (#1759)
* draft changes
* fixing typo
Co-authored-by: Ben Kuhn <benkuhn@ntdev.microsoft.com>
* Added MSIX license support (#1783)
* Update installer to support installing licenses. Structure in place, need to coordinate with build pipeline to implement InstallLicenses (instead of printf)
* Simplified help
* Added missing Copyright. Add valid license for inner-loop testing. Added --dry-run and other command line parameters (to expedite testing as well as product benefit). Wired up install flow. Next is testing the actual get-license-from-stream-and-install
* It works! Verified with stub NOP implementation here for dev inner-loop and full pipeline bits. Improved error reporting.
* Add license support to Deployment API and a new InstallLicenses API (#1790)
* Updated DeploymentManager to install license files if necessary
* Add stubs for the InstallLicenseFile() methods
* Change installer to install licenses BEFORE packages, for higher reliability
* Copy the license header to the source tree to use whehn building via the pipeline]
* Add Licensing API and export from Bootstrap'r
* Added some pseudocode in MsixInstallLicenses(). Real implementation coming RSN
* yml changes to pickup licensing package when needed.
* moving restore to the top of the pipeline.
* moving back, wrong stage
* Fixed license filename
* add nuget authenticate call
* differnt connection
* adding nuget config for build
* avoid using licensing support in github / PR builds, which don't have access to the resources
* update script to capture package version / name.
* one missed check
* Incorported feedback
* udpdating nuget.config name to avoid conflicts.
Co-authored-by: Ben Kuhn <benkuhn@ntdev.microsoft.com>
* Incorporated feedback
Co-authored-by: Ben Kuhn <bjk4929@yahoo.com>
Co-authored-by: Ben Kuhn <benkuhn@ntdev.microsoft.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.0.0-20220114.0-CI -> To Version 1.1.0-20220125.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.0.0-20220110.0-CI -> To Version 1.0.0-20220114.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.0.0-20211213.0-CI -> To Version 1.0.0-20220110.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Microsoft.WinAppSDK.EngCommon
From Version 1.0.0-20211207.1-CI -> To Version 1.0.0-20211213.0-CI
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>