Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set WindowsSdkPackageVersion to older value #4860

Merged
merged 4 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/AppInstallerCLIE2ETests/AppInstallerCLIE2ETests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<OutputType>Library</OutputType>
<DocumentationFile>$(OutDir)\AppInstallerCLIE2ETests.xml</DocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!--
Forcing this version to continue using an older CsWinRT release while issues are resolved.
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
-->
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
<SelfContained>true</SelfContained>
<RuntimeIdentifiers>win10-x64;win10-x86;win10-arm;win10-arm64</RuntimeIdentifiers>
<!--
Forcing this version to continue using an older CsWinRT release while issues are resolved.
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
-->
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(Platform)' == 'x64' ">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="DiagnosticInformation.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.Processor.Helpers
/// <summary>
/// Implements IDiagnosticInformation.
/// </summary>
internal sealed class DiagnosticInformation : IDiagnosticInformation
internal sealed partial class DiagnosticInformation : IDiagnosticInformation
{
/// <inheritdoc/>
public DiagnosticLevel Level { get; internal set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<NoWarn>1591,8785</NoWarn>
<Configurations>Debug;Release;ReleaseStatic</Configurations>
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
<!--
Forcing this version to continue using an older CsWinRT release while issues are resolved.
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
-->
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.Management.Configuration.Processor.Set
/// <summary>
/// Configuration set processor.
/// </summary>
internal sealed class ConfigurationSetProcessor : IConfigurationSetProcessor
internal sealed partial class ConfigurationSetProcessor : IConfigurationSetProcessor
{
private readonly ConfigurationSet? configurationSet;
private List<ConfigurationUnit> limitUnitList = new List<ConfigurationUnit>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ApplySettingsResult.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -11,7 +11,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Implements IApplySettingsResult.
/// </summary>
internal sealed class ApplySettingsResult : IApplySettingsResult
internal sealed partial class ApplySettingsResult : IApplySettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="ApplySettingsResult"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Provides access to a specific configuration unit within the runtime.
/// </summary>
internal sealed class ConfigurationUnitProcessor : IConfigurationUnitProcessor
internal sealed partial class ConfigurationUnitProcessor : IConfigurationUnitProcessor
{
private readonly IProcessorEnvironment processorEnvironment;
private readonly ConfigurationUnitAndResource unitResource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ConfigurationUnitProcessorDetails.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -18,7 +18,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Provides information for a specific configuration unit within the runtime.
/// </summary>
internal sealed class ConfigurationUnitProcessorDetails : IConfigurationUnitProcessorDetails
internal sealed partial class ConfigurationUnitProcessorDetails : IConfigurationUnitProcessorDetails
{
private static readonly IEnumerable<string> PublicRepositories = new string[]
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ConfigurationUnitResultInformation.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Implements IConfigurationUnitResultInformation.
/// </summary>
internal sealed class ConfigurationUnitResultInformation : IConfigurationUnitResultInformation
internal sealed partial class ConfigurationUnitResultInformation : IConfigurationUnitResultInformation
{
/// <inheritdoc/>
public string? Description { get; internal set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ConfigurationUnitSettingDetails.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -13,7 +13,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Provides information for a specific configuration unit setting.
/// </summary>
internal sealed class ConfigurationUnitSettingDetails : IConfigurationUnitSettingDetails
internal sealed partial class ConfigurationUnitSettingDetails : IConfigurationUnitSettingDetails
{
/// <summary>
/// Initializes a new instance of the <see cref="ConfigurationUnitSettingDetails"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="GetAllSettingsResult.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -13,7 +13,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Implements IGetAllSettingsResult.
/// </summary>
internal class GetAllSettingsResult : IGetAllSettingsResult
internal partial class GetAllSettingsResult : IGetAllSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="GetAllSettingsResult"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="GetSettingsResult.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Implements IGetSettingsResult.
/// </summary>
internal sealed class GetSettingsResult : IGetSettingsResult
internal sealed partial class GetSettingsResult : IGetSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="GetSettingsResult"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestSettingsResult.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -11,7 +11,7 @@ namespace Microsoft.Management.Configuration.Processor.Unit
/// <summary>
/// Implements ITestSettingsResult.
/// </summary>
internal sealed class TestSettingsResult : ITestSettingsResult
internal sealed partial class TestSettingsResult : ITestSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="TestSettingsResult"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<Nullable>enable</Nullable>
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
<Configurations>Debug;Release;ReleaseStatic</Configurations>
<!--
Forcing this version to continue using an older CsWinRT release while issues are resolved.
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
-->
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ApplyGroupMemberSettingsResultInstance.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -9,7 +9,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// Implements IApplyGroupMemberSettingsResult.
/// </summary>
internal sealed class ApplyGroupMemberSettingsResultInstance : IApplyGroupMemberSettingsResult
internal sealed partial class ApplyGroupMemberSettingsResultInstance : IApplyGroupMemberSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="ApplyGroupMemberSettingsResultInstance"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ApplyGroupSettingsResultInstance.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -11,7 +11,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// Implements IApplyGroupSettingsResult.
/// </summary>
internal sealed class ApplyGroupSettingsResultInstance : IApplyGroupSettingsResult
internal sealed partial class ApplyGroupSettingsResultInstance : IApplyGroupSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="ApplyGroupSettingsResultInstance"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="ApplySettingsResultInstance.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -11,7 +11,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// Implements IApplySettingsResult.
/// </summary>
internal sealed class ApplySettingsResultInstance : IApplySettingsResult
internal sealed partial class ApplySettingsResultInstance : IApplySettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="ApplySettingsResultInstance"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="GetAllSettingsResultInstance.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -13,7 +13,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// Implements IGetAllSettingsResult.
/// </summary>
internal sealed class GetAllSettingsResultInstance : IGetAllSettingsResult
internal sealed partial class GetAllSettingsResultInstance : IGetAllSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="GetAllSettingsResultInstance"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="GetSettingsResultInstance.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// Implements IGetSettingsResult.
/// </summary>
internal sealed class GetSettingsResultInstance : IGetSettingsResult
internal sealed partial class GetSettingsResultInstance : IGetSettingsResult
{
/// <summary>
/// Initializes a new instance of the <see cref="GetSettingsResultInstance"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationProcessorFactory.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationSetProcessorFactory.
/// </summary>
internal class TestConfigurationProcessorFactory : IConfigurationSetProcessorFactory
internal partial class TestConfigurationProcessorFactory : IConfigurationSetProcessorFactory
{
/// <summary>
/// Delegate type for CreateSetProcessor.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationSetGroupProcessor.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -18,7 +18,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationGroupProcessor.
/// </summary>
internal class TestConfigurationSetGroupProcessor : TestConfigurationSetProcessor, IConfigurationGroupProcessor
internal partial class TestConfigurationSetGroupProcessor : TestConfigurationSetProcessor, IConfigurationGroupProcessor
{
/// <summary>
/// The event that is waited on before actually processing the async operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationSetProcessor.
/// </summary>
internal class TestConfigurationSetProcessor : IConfigurationSetProcessor
internal partial class TestConfigurationSetProcessor : IConfigurationSetProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="TestConfigurationSetProcessor"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationUnitGroupProcessor.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -18,7 +18,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationGroupProcessor.
/// </summary>
internal class TestConfigurationUnitGroupProcessor : TestConfigurationUnitProcessor, IConfigurationGroupProcessor
internal partial class TestConfigurationUnitGroupProcessor : TestConfigurationUnitProcessor, IConfigurationGroupProcessor
{
/// <summary>
/// The Setting key that will be used to set the TestResult of the unit.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationUnitProcessor.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -11,7 +11,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationProcessorFactory.
/// </summary>
internal class TestConfigurationUnitProcessor : IConfigurationUnitProcessor
internal partial class TestConfigurationUnitProcessor : IConfigurationUnitProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="TestConfigurationUnitProcessor"/> class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationUnitProcessorDetails.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -13,7 +13,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationProcessorFactory.
/// </summary>
internal class TestConfigurationUnitProcessorDetails : IConfigurationUnitProcessorDetails
internal partial class TestConfigurationUnitProcessorDetails : IConfigurationUnitProcessorDetails
{
private ConfigurationUnit unit;
private ConfigurationUnitDetailFlags detailFlags;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// <copyright file="TestConfigurationUnitResultInformation.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
Expand All @@ -12,7 +12,7 @@ namespace Microsoft.Management.Configuration.UnitTests.Helpers
/// <summary>
/// A test implementation of IConfigurationSetProcessorFactory.
/// </summary>
internal class TestConfigurationUnitResultInformation : IConfigurationUnitResultInformation
internal partial class TestConfigurationUnitResultInformation : IConfigurationUnitResultInformation
{
/// <summary>
/// Gets or sets the description.
Expand Down
Loading
Loading