Update expect.txt keywords and csproj package references

Updated `expect.txt` to modify or replace specific keywords for
consistency. Added `System.CodeDom` and `System.Diagnostics.
EventLog` package references to `PowerDisplay.Lib.UnitTests.csproj`
with `ExcludeAssets` set to `runtime` to prevent conflicts with
.NET SDK-provided DLLs.
This commit is contained in:
Yu Leng
2025-12-02 14:51:05 +08:00
parent 4fae32cffe
commit a5ea44921c
2 changed files with 10 additions and 8 deletions

View File

@@ -225,7 +225,6 @@ CLASSNOTAVAILABLE
clickable
clickonce
CLIENTEDGE
Clientedge
clientid
clientside
CLIPBOARDUPDATE
@@ -253,7 +252,6 @@ Codespaces
Coen
cognitiveservices
COINIT
Coinit
colid
colorconv
colorformat
@@ -408,7 +406,6 @@ DISABLENOSCROLL
diskmgmt
DISPLAYCHANGE
DISPLAYCONFIG
Displayconfig
DISPLAYFLAGS
DISPLAYFREQUENCY
displayname
@@ -419,7 +416,6 @@ divyan
Dlg
DLGFRAME
DLGMODALFRAME
Dlgmodalframe
dlib
dllhost
dllmain
@@ -500,7 +496,6 @@ ENTRYW
ENU
environmentvariables
EOAC
Eoac
EPO
epu
EProvider
@@ -1913,7 +1908,6 @@ UOffset
UOI
UPDATENOW
UPDATEREGISTRY
Updateregistry
updown
UPGRADINGPRODUCTCODE
upscaling
@@ -2031,7 +2025,6 @@ winappsdk
windir
WINDOWCREATED
WINDOWEDGE
Windowedge
WINDOWINFO
WINDOWNAME
WINDOWPLACEMENT
@@ -2056,7 +2049,6 @@ winlogon
winmd
winml
WINNT
Winnt
winres
winrt
winsdk

View File

@@ -17,6 +17,16 @@
<ItemGroup>
<PackageReference Include="MSTest" />
<PackageReference Include="Moq" />
<PackageReference Include="System.CodeDom">
<!-- This package is a transitive dependency, but we need to set it here so we can exclude the assets,
so it doesn't conflict with the dll coming from .NET SDK. -->
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="System.Diagnostics.EventLog">
<!-- This package is a transitive dependency, but we need to set it here so we can exclude the assets,
so it doesn't conflict with the dll coming from .NET SDK. -->
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>