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

1457 Коммитов

Автор SHA1 Сообщение Дата
Kyaw Thant ed41fda54f
Fix Prefast C6101 on MRTCore Solution (#4376) 2024-04-30 12:12:16 -07:00
Scott Jones 9e9119a01a
Fix regression in RuntimeIdentifiers defaulting logic (#4379)
* Fix regression in RuntimeIdentifiers defaulting logic

Prior to .NET8 support, there was a condition for assigning RuntimeIdentifiers, if it was empty (i.e., making it a default).  This restores that check, fixing build breaks like:
error NETSDK1082: There was no runtime pack for Microsoft.WindowsDesktop.App.WPF available for the specified RuntimeIdentifier 'win10-arm'.

* include win10-arm64
2024-04-30 18:53:34 +00:00
Bob Pulliam 44e761a48a
add win10-arm64; remove win10-arm (#4375) 2024-04-29 14:37:30 -04:00
Shashank e4ffb28a1d
Completing addition of Nuget Installation Wizard to all .vstemplate files (#4370)
* adding Wizard to all C++ Item Templates that require it, and C# Class Library which needed it

* removing package references in C++ altogether

---------

Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-04-29 00:41:49 -04:00
Bob Pulliam 38c8a2deda
Remove win-arm from RuntimeIdentifiers (#4371) 2024-04-26 15:04:49 -04:00
Kyaw Thant b8fcfab663
Resolve C26495 Prefast Issues on MRTCore (#4362) 2024-04-25 11:08:27 -07:00
Kyaw Thant 1ed3fb1b00
Resolve C26495 Prefast Issues on Foundation (#4363) 2024-04-25 00:39:58 -07:00
Shashank 7d27cb4ead
Unified NuGet Package Installation for C++/C# Project Templates (#4366)
IWizard logic for NuGet package installation is in one shared file across both C++/C#. Save function exists, better async to install packages, C++ RuntimeComponent and C++/C# Unit Tests use Wizard now


Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-04-24 23:20:40 +00:00
reunion-maestro[bot] 4c5acb1bd1
Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/WindowsAppSDKClosed build 20240417.1 (#4353)
[main] Update dependencies from microsoft/ProjectReunion/WindowsAppSDKClosed
2024-04-23 19:52:51 +00:00
reunion-maestro[bot] ad48986e95
Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/WindowsAppSDKAggregator build Maestro-UpdateEngCommon_2404.18001 (#4355)
Microsoft.WinAppSDK.EngCommon
 From Version 1.6.240416 -> To Version 1.6.240418

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-04-18 16:58:28 -07:00
reunion-maestro[bot] c72050932b
[main] Update dependencies from microsoft/LiftedIXP/DCPP (#4346)
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240416.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26100.1001.240412-0823.1 -> To Version 1.6.0-CI-26100.1001.240412-0823.2

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240416.2

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26100.1001.240412-0823.1 -> To Version 1.6.0-CI-26100.1001.240412-0823.3

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-04-18 16:57:23 -07:00
Shashank 2a140c019e
NuGet Installation Optimization for C++ Project Templates (#4347)
Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-04-17 02:38:46 +00:00
reunion-maestro[bot] 52bd53f0ce
[main] Update dependencies from microsoft/ProjectReunion/WindowsAppSDKAggregator (#4342)
* Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/WindowsAppSDKAggregator build Maestro-UpdateEngCommon_2404.15001

Microsoft.WinAppSDK.EngCommon
 From Version 1.6.240410 -> To Version 1.6.240415

* Update dependencies from https://dev.azure.com/microsoft/ProjectReunion/_git/WindowsAppSDKAggregator build Maestro-UpdateEngCommon_2404.16001

Microsoft.WinAppSDK.EngCommon
 From Version 1.6.240410 -> To Version 1.6.240416

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-04-16 14:39:38 -07:00
Bob Pulliam 54bce58104
add condition to prevent disk scanning (#4344) 2024-04-16 10:05:41 -07:00
Pratik Anand 789ad81e67
Better logging support, replaces LOG_HR_MSG with DebugLog (#4271)
This PR replaces and refactors ways to do logging in WinAppSDK codebase.
Currently, LOG_HR_MSG from wil library is used for logging purposes too even though its usage is for error-reporting.

In current scenario, we want to print logging information to Debug Console (using OutputDebugString). This PR introduces a new logging function to do the same : DebugLog in Logging.h.
With this change, any place which is using LOG_HR_MSG for just diagnostic logging, I will replace it with this function call and also remove any macros associated with it.

Another change is refactoring of Mddbootstrap.cpp's FindDDLMViaAppExtension() to be cleaner.

At 2-3 places, I have left custom winappruntime provided error code intact because it is throwing them. A user code could be setup to catch them and hence, to save on backward compatibility, I am keeping them intact. 

---------

Co-authored-by: Pratik Anand <praanan@microsoft.com>
2024-04-16 09:42:58 -07:00
reunion-maestro[bot] 85958f0b73
[main] Update dependencies from microsoft/LiftedIXP/DCPP (#4260)
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240308.4

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26072.1000.240301-1341.0 -> To Version 1.6.0-CI-26079.1000.240308-1645.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240316.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26072.1000.240301-1341.0 -> To Version 1.6.0-CI-26085.1000.240316-1111.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240325.2

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26072.1000.240301-1341.0 -> To Version 1.6.0-CI-26090.1000.240325-1038.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240402.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26072.1000.240301-1341.0 -> To Version 1.6.0-CI-26100.1000.240402-0651.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240415.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26072.1000.240301-1341.0 -> To Version 1.6.0-CI-26100.1001.240412-0823.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-04-16 08:40:50 -04:00
Shashank ea58820039
Enhance NuGet Package Installation for C++ and C# Projects (#4339)
* initial commit

* Revert MainWindow.hmMainWindow.xaml, and MainWindow.cpp to their state in main branch

* Revert MainWindow files in SingleProject Cpp to their state in the main branch

* adding ThreadHelper.ThrowIfNotOnUIThread in Wizard

* removing nuget package list in favour of vstemplate params, fixing wapproj to add wizard ref + removing hardcoded versions in it

* fix

* adding another wizardtemplate ref to extension class

* working wapproj logic

* adding multipackage support to C++, changing its implementation to Cpp analogue

* fixing bug

---------

Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-04-15 13:15:30 -04:00
alexlamtest 317f33ef36
49601674: Fixed a cut-and-paste error (#4334) 2024-04-12 05:20:22 +00:00
alexlamtest 51a42be6f8
49601674: [Compliance] address pre-existing PREfast errors and enable break-on-error setting for PREfast (#4328)
* 49601674: address PREfast errors and enable break-on-error setting

* 49601674: incorporated review feedback
2024-04-11 22:54:18 +00:00
Kyaw Thant 7469e4d32d
Public Symbols Publishing New WorkFlow (#4311)
* Publish Internally Only

* add parameter

* call
2024-04-10 15:22:24 -07:00
alexlamtest 68e2b54206
49601674: [Compliance] Enabled automated APIScan and PREfast scanning (#4326) 2024-04-10 21:55:36 +00:00
Shashank 74dd1b14f8
Optimization of NuGet Package Installation in WindowsAppSDK (#4322)
* initial commit

* Revert MainWindow.hmMainWindow.xaml, and MainWindow.cpp to their state in main branch

* Revert MainWindow files in SingleProject Cpp to their state in the main branch

* adding ThreadHelper.ThrowIfNotOnUIThread in Wizard

* copyright

* BOM

---------

Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-04-10 15:40:10 -04:00
reunion-maestro[bot] 7a10899ed8
[main] Update dependencies from microsoft/ProjectReunion/WindowsAppSDKAggregator (#4262)
[main] Update dependencies from microsoft/ProjectReunion/WindowsAppSDKAggregator
2024-04-10 19:03:43 +00:00
Duncan MacMichael 3b6ff2daca
Update bug-report.yaml for 1.5.2 (#4321) 2024-04-09 18:35:53 -07:00
Kyaw Thant 5fae38f9c6
Remove ProjectReunionInternal Service Connection in NuGetAuthenticate task 2024-04-09 10:26:56 -07:00
Duncan MacMichael b0619b9045
Removing references to old product board site and redirecting to roadmap (#4298)
* Removing references to old product board site and redirecting to roadmap doc within the repo
2024-03-28 21:23:07 -07:00
Jevan Saks 94c1ae31ae
Fix incremental build issue in WindowsAppSDK-Nuget-Native.C.props (#4296) 2024-03-28 17:04:19 -07:00
Kyaw Thant a025f233b5
Revert "Update PR Template MD to warn about PullRequests on Forks (#4294)" (#4297)
This reverts commit 0b3c0da393.
2024-03-28 10:42:06 -07:00
Kyaw Thant 0b3c0da393
Update PR Template MD to warn about PullRequests on Forks (#4294) 2024-03-27 16:47:38 -07:00
Shashank 697b7ff821
initial commit (#4283)
Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-03-25 18:10:08 +00:00
Duncan MacMichael 60b8015abb
Update bug-report.yaml for 1.5.1 (#4265) 2024-03-12 17:36:32 -07:00
Howard Kapustein bd4fad4812
PackageDeploymentManager.IsReadyOrNewerAvailable() API spec (#4231)
* Add Is*ReadyOrNewerAvailable() and EnsureReadyOptions.RegisterNewerIfAvailable

* Updated TOC

* Incorporated feedback
2024-03-11 16:31:09 +00:00
alexlamtest 72bc09c47f
45977412: LKG package info comes from a global source under eng\common instead of the local WindowsAppSDK-Versions.yml (#4257) 2024-03-08 03:21:21 +00:00
reunion-maestro[bot] fb04621029
[main] Update dependencies from microsoft/LiftedIXP/DCPP (#4186)
* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240210.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26050.1000.240201-1035.1 -> To Version 1.6.0-CI-26057.1000.240209-1939.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240215.2

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26050.1000.240201-1035.1 -> To Version 1.6.0-CI-26057.1000.240209-1939.2

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240220.6

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26050.1000.240201-1035.1 -> To Version 1.6.0-CI-26063.1000.240220-0956.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240227.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26050.1000.240201-1035.1 -> To Version 1.6.0-CI-26068.1002.240226-1807.0

* Update dependencies from https://dev.azure.com/microsoft/LiftedIXP/_git/DCPP build 20240301.1

Microsoft.FrameworkUdk
 From Version 1.6.0-CI-26050.1000.240201-1035.1 -> To Version 1.6.0-CI-26072.1000.240301-1341.0

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-03-05 12:20:46 -05:00
microsoft-github-policy-service[bot] 708ae38d56
Onboarding to GitOps.ResourceManagement (#3678)
* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement

* Deleting fabricbot.json

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2024-03-05 12:14:06 -05:00
Duncan MacMichael 82bd8e12e4
Update bug-report.yaml for 1.5.0 (#4238) 2024-02-29 16:11:10 -08:00
Bob Pulliam d9132921da
Remove unneeded references to VisualStudio.CoreUtility (#4236) 2024-02-28 12:56:43 -05:00
alexlamtest e0af07e9cf
49021373: added PreferredToolArchitecture=x64 (#4229) 2024-02-26 10:46:00 -08:00
Shashank d9b806fe66
initial commit (#4225)
Co-authored-by: Shashank Nayak <shasnayak@microsoft.com>
2024-02-23 18:11:09 -08:00
Pratik Anand 32ff3b99fa
Add custom titlebar to default Cs and Cpp WinUI template (#4035)
This change adds custom titlebnar to Cs and Cpp template. As a result, any hello world WinUI app created via the template has custom titlebar already applied to it. This provides a better experience for developers as default option takes care of styling of the window. It works better with overall theming.

This is a better experience right out of the box. Similar default is followed by MAUI and Template Studio projects.
2024-02-21 17:43:44 -08:00
Howard Kapustein 9664ff3740
Remove Kozani. Change of direction making the code obsolete and if oneday it's needed it's just a get revert away (#4219) 2024-02-20 19:23:56 -08:00
Scott Jones 370476e849
missing space for null terminator on baseDir (#4209)
* missing space for null terminator on baseDir

* PR feedback
2024-02-16 19:36:08 +00:00
Duncan MacMichael 06fed1e024
Update bug-report.yaml for 1.4.5 (#4196) 2024-02-14 02:08:27 +00:00
alexlamtest 8a3a661bb0
45977412: [Compliance] Enable compiler version override on the 2 main .sln files being built on this repo (#4178)
* 45977412: Enable compiler version override on the 2 main .sln files being built

* 45977412: Appended mrt to slnDirectory path
2024-02-13 10:46:26 -08:00
Kyaw Thant 4272f90d2f
Don't Publish PDBs on Non-OneBranch builds (#4192) 2024-02-13 10:04:30 -08:00
Kyaw Thant 3d00005ae1
Fix Publish symbols to Public Servers not using a PAT (#4185)
* Use PAT

* Use - group: PublicSymbols-Secrets

* Add to public pipleine
2024-02-12 09:17:24 -08:00
Howard Kapustein b82d1edbb9
Fixed Microsoft.Windows.Management.Deployment.Projection.csproj
Microsoft.Windows.Management.Deployment.Projection.csproj had a 2nd <CSRWinRTIncludes> to resolve the DynDep type dependency when that property is a singular 'namespace of the project's output' so the projection had DynDep types and not PkgMgmt. Changed it to a <ProjectReference Include=...\DynDep.csproj> and happiness.

Verified projection assembly content via ILSpy.

KUDOS to Steve Otteson for the magic incantation!
2024-02-09 08:29:20 +00:00
Keith Mahoney c9cab17bce
C# Unit Test Project: Set PublishTrimmed =false even in Release mode. (#4175)
The unit tests do not work with PublishTrimmed=true. So building the unit test project in Release configuration will result in the tests no working.

The fix is to set PublishTrimmed=false unconditionally instead of basing it on the Configuration.
2024-02-08 17:22:37 -08:00
Duncan MacMichael 766517b44a
Update bug-report.yaml for 1.5-preview1 (#4172) 2024-02-08 07:43:02 -05:00
Shashank 5f215017c7
initial commit (#4166) 2024-02-06 18:58:54 +00:00