Skip to content

Commit

Permalink
A better job of building up the cswinrt types needed
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcPMS committed Feb 4, 2025
1 parent d05d73f commit 743d9a8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,23 @@
<CsWinRTComponent>false</CsWinRTComponent>
<CsWinRTIncludes>
Microsoft.Management.Configuration;
Windows.ApplicationModel;
Windows.Data;
Windows.Devices;
Windows.Data.Text.TextSegmen;

Check warning on line 76 in src/Microsoft.Management.Configuration.Processor/Microsoft.Management.Configuration.Processor.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Segmen` is not a recognized word. (unrecognized-spelling)
Windows.Devices.Geolocation;
Windows.Foundation;
Windows.Globalization;
Windows.Graphics;
Windows.Management;
Windows.Media;
Windows.Networking;
Windows.Perception;
Windows.Security;
Windows.Services;
Windows.Globalization.DayOfWee;
Windows.Networking.Connectivity;
Windows.Networking.DomainNameTyp;
Windows.Networking.EndpointPai;

Check warning on line 82 in src/Microsoft.Management.Configuration.Processor/Microsoft.Management.Configuration.Processor.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Pai` is not a recognized word. (unrecognized-spelling)
Windows.Networking.IEndpointPai;

Check warning on line 83 in src/Microsoft.Management.Configuration.Processor/Microsoft.Management.Configuration.Processor.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Pai` is not a recognized word. (unrecognized-spelling)
Windows.Networking.HostNam;
Windows.Networking.IHostNam;
Windows.Security.Cryptography.Certificates;
Windows.Storage;
Windows.System;
Windows.UI;
Windows.Web;
Windows.System.Use;
Windows.System.IUse;
</CsWinRTIncludes>
<CsWinRTExcludes>
Windows.ApplicationModel.Store.Preview;
Windows.Devices.PointOfService;
Windows.Foundation.PropertyType;
Windows.UI.Input.Preview;
Windows.UI.Xaml;
</CsWinRTExcludes>
<!-- Ensure Support for Windows 10, Version 1809 -->
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ namespace Microsoft.Management.Configuration.Processor
/// ConfigurationSetProcessorFactory implementation.
/// </summary>
#if WinGetCsWinRTEmbedded
internal sealed class PowerShellConfigurationSetProcessorFactory : IConfigurationSetProcessorFactory, IPowerShellConfigurationProcessorFactoryProperties, IPwshConfigurationSetProcessorFactoryProperties
internal
#else
public sealed class PowerShellConfigurationSetProcessorFactory : IConfigurationSetProcessorFactory, IPowerShellConfigurationProcessorFactoryProperties, IPwshConfigurationSetProcessorFactoryProperties
public
#endif
sealed class PowerShellConfigurationSetProcessorFactory : IConfigurationSetProcessorFactory, IPowerShellConfigurationProcessorFactoryProperties, IPwshConfigurationSetProcessorFactoryProperties
{
private bool isCreateProcessorInvoked = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,21 @@
<PropertyGroup Condition="'$(TargetFramework)' == '$(CoreFramework)'">
<CsWinRTIncludes>
Microsoft.Management.Deployment;
Windows.ApplicationModel;
Windows.Data;
Windows.Devices;
Windows.Data.Text.TextSegmen;

Check warning on line 125 in src/PowerShell/Microsoft.WinGet.Client.Engine/Microsoft.WinGet.Client.Engine.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Segmen` is not a recognized word. (unrecognized-spelling)
Windows.Devices.Geolocation;
Windows.Foundation;
Windows.Gaming;
Windows.Globalization;
Windows.Graphics;
Windows.Management;
Windows.Media;
Windows.Networking;
Windows.Perception;
Windows.Security;
Windows.Services;
Windows.Globalization.DayOfWee;
Windows.Networking.Connectivity;
Windows.Networking.DomainNameTyp;
Windows.Networking.EndpointPai;

Check warning on line 131 in src/PowerShell/Microsoft.WinGet.Client.Engine/Microsoft.WinGet.Client.Engine.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Pai` is not a recognized word. (unrecognized-spelling)
Windows.Networking.IEndpointPai;

Check warning on line 132 in src/PowerShell/Microsoft.WinGet.Client.Engine/Microsoft.WinGet.Client.Engine.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Pai` is not a recognized word. (unrecognized-spelling)
Windows.Networking.HostNam;
Windows.Networking.IHostNam;
Windows.Security.Cryptography.Certificates;
Windows.Storage;
Windows.System;
Windows.UI;
Windows.Web;
Windows.System.ProcessorArchitectur;

Check warning on line 137 in src/PowerShell/Microsoft.WinGet.Client.Engine/Microsoft.WinGet.Client.Engine.csproj

View workflow job for this annotation

GitHub Actions / Check Spelling

`Architectur` is not a recognized word. (unrecognized-spelling)
Windows.System.Use;
Windows.System.IUse;
</CsWinRTIncludes>
<CsWinRTExcludes>
Windows.Foundation.PropertyType;
Expand Down

0 comments on commit 743d9a8

Please sign in to comment.