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

1457 Коммитов

Автор SHA1 Сообщение Дата
TDBuild 700f952f28 TDBuild - updating localized resource files. 2023-12-13 06:08:46 +00:00
Keith Mahoney 5b946ea685
Visual Studio Template Unit Test App: Fix name and id strings for experimental builds. (#4030) 2023-12-12 13:50:35 -08:00
Shashank c0dd38e0c4
initial commit (#4012)
Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2023-12-07 10:14:15 -08:00
Howard Kapustein 74a5990c9b
Workloads (#4010) 2023-12-03 23:40:44 -08:00
Howard Kapustein f0d6f3b247
DynamicDependencies: Use Win11 APIs if available (#3704)
DynamicDependencies: Use Win11 APIs if available

Leverage the Win11 Dynamic Dependency API if available, otherwise use WinAppSDK's implementation (aka polyfill). The WinAppSDK DynDep C API handles this, thus benefiting all callers of WinAppSDK's C and WinRT DynDep API (e.g. C# via projections).

This happens on Win11 >= 22H2 (aka SV2).

NOTE: This makes the DDLM irrelevant on Win11 22H2+ (>SV2). A future (separate) PR will change the intaller to not install the DDLM packages on these systems.

*NOTE:* Persisted definitions aren't imported into the OS after OSupgrade to Win11 22H2+. If you create a persisted definition (LifetimeKind=FilePath|RegistryKey) on older you'll need to re-create them after the OS upgrades.

*NOTE:* MddGetResolvedPackageFullNameForPackageDependency()'s behavior differed from GetResolvedPackageFullNameForPackageDependency(). Both return null vs package full name when the PackageDependencyId is not resolved vs resolved but the HRESULT return value differed

|PackageDependencyId|WinAppSDK                         |OS API|
|-------------------|----------------------------------|------|
|unknown            |HRESULT_FROM_WIN32(ERROR_NO_MATCH)|S_OK  |
|not resolved       |S_OK                              |S_OK  |
|resolved           |S_OK                              |S_OK  |

MddGetResolvedPackageFullNameForPackageDependency() has been changed to match the OS API. A new OS API will be needed to distinguish between a known valid PackageDependencyId that's not been resolved yet vs an invalid/unknown PackageDependencyId.

NOTE: This change is compatible with the documented behavior. It'll be noted in the release notes.

NOTE: As a byproduct of return MddGetResolvedPackageFullNameForPackageDependency() error handling the WinRT APIs `PackageDependency.GetFromId()` and `PackageDependency.GetFromIdForSystem()` no longer fail for an unknown/invalid id e.g. `PackageDependency.GetFromId("not a valid id")`. Inappropriate later use will fail e.g.

```
var pd = PackageDependency.GetFromId("not a valid id");
var context = pd.Add();
// Add() fails and throws an exception
```

NOTE: A new OS API is needed to determine if a `PackageDependencyId` is a valid (known) value. WinAppSDK will be updated to use that when available.

https://task.ms/47326537

NOTE: Did the work to support Win11 21H2 but the OS may not fully support it. Left IsSupported() unchanged (Win11 >=22H2) for now while I investigate further

P.S. Increase test timeout to 120m
2023-11-30 09:50:38 -08:00
Kyaw Thant 202c9ef35b
Increase Job Timeout to 120 for Build (#4001) 2023-11-29 19:14:49 -08:00
Kyaw Thant 41b0593406
Update Docs on Develop Branch Scenario and Configure ES to Account for New Arrangement (#3985)
* Update docs and delete main to develop pipeline

* Update Mirror
2023-11-28 16:46:38 -08:00
Shashank cbd345a0ba
Fix: Correct Binary Deployment for .NET8 Breaking Change Support #3998 2023-11-28 16:45:48 -08:00
Kyaw Thant b5c7d00076
Remove CoRefresh and Server22_DC_arm64fre (#3996)
* Remove corefresh from tests

* also remove Server22_DC_arm64fre
2023-11-28 16:26:06 -08:00
Shashank Nayak 31d4cf4493 Merged PR 9926818: .NET 8 Breaking Changes and WindowsAppSDK IntegrationCopyFilesToStagingDir.ps1
.NET8 introduced a [conditional breaking change](https://github.com/dotnet/docs/issues/35398) that influences how the runtime host looks for RID-specific assets. In NET8, support for non-portable RIDs (runtime identifiers specific to versions and distributions, such as win10-x86) is discontinued. The folder structure of the Microsoft.WindowsAppSDK NuGet is structured with assets marked using these non-portable RIDs:
![image (4).png](https://dev.azure.com/microsoft/55e8140e-57ac-4e5f-8f9c-c7c15b51929d/_apis/git/repositories/2467406e-dc4e-49eb-b903-238f0da5a43e/pullRequests/9926818/attachments/image%20%284%29.png)
The changes made to the `CopyFilesToStagingDir.ps1` script along with the project template changes should help support the .NET8 scenario. The selection of the project template's RIDs is conditional and based on the TFM chosen by the user. If NET8 is chosen, the RIDs become portable, enabling the runtime host to locate the RID-specific assets that were previously unattainable.
2023-11-28 10:37:54 -08:00
TDBuild 8487a6cb95 TDBuild - updating localized resource files. 2023-11-23 06:07:11 +00:00
TDBuild c5be20c85e TDBuild - updating localized resource files. 2023-11-22 06:02:45 +00:00
TDBuild 332543c56d TDBuild - updating localized resource files. 2023-11-21 06:08:06 +00:00
reunion-maestro-bot d4f3216675 Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-11-18 05:06:02 +00:00
Keith Mahoney cfb67f9577
Add C++/WinRT WinUI3 Unit Test Project Template (#3970) 2023-11-17 11:10:59 -08:00
alexlamtest 69daafdffb
Updated tsaoptions.json (#3962) 2023-11-17 08:13:32 -05:00
Duncan MacMichael 0e483d12c7
Update bug-report.yaml for 1.4.3 (#3969) 2023-11-17 08:11:25 -05:00
alexlamtest 1a4f2d7083
Update area path in tsaoptions.json (#3955) 2023-11-10 22:39:17 -08:00
Kyaw Thant f1d4dea2ec
Increase test timeout to 120 (#3944) 2023-11-08 16:29:35 -08:00
Keith Mahoney 701b4be6f5
Add VS Template for WinUI Unit Test Project (#3942) 2023-11-08 09:06:37 -08:00
reunion-maestro-bot 1dcf00ccab Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-11-02 23:06:22 +00:00
Kyaw Thant bbf381f434
Include release/1.5-stable in SyncMirror (#3933) 2023-11-02 15:59:32 -07:00
Kyaw Thant 7006d9857d Resolve Merge Conflict 2023-10-18 23:46:22 -07:00
reunion-maestro[bot] 879f578976
Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/WindowsAppSDKClosed build 1.0.02482.138 (#3916)
Microsoft.WindowsAppSDK.AppLicensingInternal.TransportPackage
 From Version 1.5.0-main.20230925.1 -> To Version 1.5.0-main.20231018.0

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2023-10-18 16:43:36 -07:00
Shashank 514f12a81e
Dynamic Retrieval of Microsoft.WindowsAppSDK Version for C# Single-Project Templates (#3867)
* removing BuildTools/WASDK Nuget Package from ContentNugetPackages

* removing dev16 projects

* initial commmit

* namespace change + moving installer to AsyncFunc + comment debounce + formal params

* blank spaces

* dll name change

* handling case if the packageID can't get picked up from Wizard Data

* Adding installation error logic + refactoring

* removing return from failed packageID retrieval; should try and install anyway (and fail)

* never mind

* error message semantics'

* whitespaces

* target .net6 comment

* spacing, cont'd

* spacing cont'd cont'd

* single project csproj restore, unsure of why those changes were there

* TemplateUtilities

* wapproj changes 1

* wap/csproj separate wizardextensions?

* one project at a time

* BOM

* removing all packagerefs from wapproj template, it's not needed

* bom fix

* eof

---------

Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
Co-authored-by: Bob Pulliam <bpulliam@microsoft.com>
2023-10-13 19:45:01 +00:00
reunion-maestro-bot e91645251e Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-10-11 04:07:30 +00:00
Duncan MacMichael 4d2c1c0228
Update bug-report.yaml for 1.4.2 (#3904) 2023-10-10 18:44:00 -07:00
Howard Kapustein 129c7b458d
Fixed a redundant error check in Test-PackageDependency.Tests.ps1 (#3833)
* Fixed a redundant error check in Test-PackageDependency.Tests.ps1
2023-10-04 15:44:02 -07:00
alexlamtest 6631888422
Snapshot 1: Enable strong name signing (#3875)
* Snapshot 1: Enable strong name signing

* Turn on signing

* Updated .snk file path, removed .snk file for public key
2023-10-02 17:04:53 -07:00
Mike Crider 195c0067b2
Add version info to WindowsAppRuntimeInstall.exe (#3884)
WindowsAppRuntimeInstall.exe doesn't have a version resource. That means all crash telemetry comes in for version 0.0.0.0, which prevents seeing if fixes in the latest version have improved reliability.

This fix adds a version resource using the existing AssemblyInfo.ver. This won't provide enough information to see if/which servicing release the installer is from, but it at least will show which major.minor version it is from.
2023-10-02 13:15:53 -07:00
reunion-maestro-bot 6d44172f1b Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-09-28 04:07:16 +00:00
Duncan MacMichael 85441428cc
Updating roadmap for 1.5 (#3883)
* Update bug-report.yaml for 1.4 experimental 1

* Updating roadmap for 1.5

* Fixing TBD

* Addressing feedback
2023-09-27 15:56:06 -07:00
Bob Pulliam 49997a7731
Update global.json to use latest (#3880) 2023-09-26 18:36:46 -04:00
reunion-maestro[bot] 485d1db876
[develop] Update dependencies from microsoft/ProjectReunion/WindowsAppSDKClosed (#3882)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Bob Pulliam <bpulliam@microsoft.com>
2023-09-26 12:32:24 -04:00
Howard Kapustein 51c0e770c7
More PackageManager (#3881)
* Added AddPackageSetOptions. Added tests for AddPackageSetAsync. Fixed bugs

* Fixed typos. Added missing AddPackageAsync in .idl

* Remove dead code

* Update Transport package's manifested inproc servers
2023-09-25 23:25:18 -07:00
Kyaw Thant 97537740c4
Only Publish NuGet Package to Feed in Release and Nightly Builds (#3870) 2023-09-22 13:25:34 -07:00
reunion-maestro-bot 20d6e1070b Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-09-22 04:07:00 +00:00
Duncan MacMichael 0a39388c83
Update bug-report.yaml for 1.4.1 (#3866) 2023-09-21 11:52:51 -04:00
Howard Kapustein 29660ceb7d
Add PackageManager info to Transport package (.winmd, manifested ACIDs). Sort the info (was semi-sorted) (#3861) 2023-09-19 00:32:05 -07:00
Kyaw Thant 0efd8f55e0
Improve MRTCore build reliability (#3848) 2023-09-11 11:13:15 -07:00
Howard Kapustein 874d66a256
PackageDeploymentManager/PackageRuntimeManager v0 (experimental) (#3820)
Also

* Manually update DevChcek (awaiting Maestro to automate that thing it's supposed to be doing. Oh, Will...)
* Update TAEF from 10.75.221207001 to 10.82.230714001. Update C++/WinRT from 2.0.221121.5 to 2.0.230706.1
* Something weird's failing in the ARM64 tests. Disabling ARM64 temporarily
2023-09-04 17:01:12 -07:00
reunion-maestro-bot 2e6a398724 Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-09-01 04:07:07 +00:00
Kyaw Thant c301214ae5
retryCountOnTaskFailure 10 on nuget restore (#3826) 2023-08-31 12:13:55 -07:00
Howard Kapustein cdee6f674e
Windows Dynamic Dependency API via Powershell (#3647)
Make the Windows 11 Dynamic Dependency API available to Powershell via Powershell!!!
2023-08-30 23:55:03 -07:00
Duncan MacMichael 18acdc725d
Update bug-report.yaml for 1.4 stable (#3823)
* Update bug-report.yaml for 1.4 stable

* Update bug-report.yaml to remove 1.4-preview2
2023-08-31 06:02:47 +00:00
reunion-maestro-bot e4dc36184f Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-08-31 04:07:59 +00:00
Scott Jones 043d811b23
Simply add auto initializer sources without a target, and define a user-available property to add WindowsAppSDK-VersionInfo.cs exactly once (#3819)
* Use CoreCompileDependsOn to ensure that version info is added before XamlPreCompile, not just CoreCompile

* restructured to enable apps to easily include WindowsAppSDK-VersionInfo.cs exactly once for all compilations (Xaml, etc)

* removed cruft target
2023-08-30 21:34:52 +00:00
reunion-maestro-bot f8c71291ef Merge branch 'main' of https://github.com/microsoft/WindowsAppSDK into develop 2023-08-23 04:07:36 +00:00
Kyaw Thant 0e4c78d19f
Fix version schema on WinAppSDKIntegrationBuildAndTest (#3812) 2023-08-22 14:59:12 -07:00
Duncan MacMichael e2c310d5ab
Update bug-report.yaml (#3762)
Co-authored-by: Bob Pulliam <bpulliam@microsoft.com>
2023-08-22 15:22:48 -04:00