Skip to content

Commit 5788f35

Browse files
committed
Removed unused taef reference from UITests
1 parent c608b45 commit 5788f35

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

CommunityToolkit.WinUI.SampleApp/CommunityToolkit.WinUI.SampleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</ItemGroup>
4646
<ItemGroup>
4747
<!-- Temporary fix for https://github.com/microsoft/microsoft-ui-xaml/issues/4414 -->
48-
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.19041.15" />
48+
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.19041.16" />
4949
</ItemGroup>
5050
<ItemGroup>
5151
<Content Include="landingPageLinks.json" />

UITests/UITests.App/App.xaml.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
9999

100100
// Ensure the current window is active
101101
App.CurrentWindow.Activate();
102-
103-
// If there are multiple arguments we assume we're being launched as a TAEF AppX test, so start up the TAEF dispatcher.
104-
if (Environment.GetCommandLineArgs().Length > 1)
105-
{
106-
global::Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(string.Join(' ', Environment.GetCommandLineArgs().Skip(1)));
107-
}
108102
}
109103

110104
/// <summary>

UITests/UITests.App/UITests.App.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
<Version>3.0.0-zmain.210407.3-CI</Version>
3838
</PackageReference>
3939
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.2.0" />
40-
<PackageReference Include="TAEF.Redist.Wlk" Version="10.57.200928001" GeneratePathProperty="true">
41-
<ExcludeAssets>all</ExcludeAssets>
42-
</PackageReference>
4340
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
4441
<PackageReference Include="Grpc" Version="2.36.4" />
4542
<PackageReference Include="Google.Protobuf" Version="3.15.7" />
@@ -108,9 +105,5 @@
108105
<Name>CommunityToolkit.Common</Name>
109106
</ProjectReference>
110107
</ItemGroup>
111-
<ItemGroup>
112-
<ReferenceCopyLocalPaths Include="$(Pkgtaef_redist_wlk)\build\Binaries\$(Platform)\*.*" Exclude="$(Pkgtaef_redist_wlk)\build\Binaries\$(Platform)\Wex.Logger.Interop.dll" />
113-
<Reference Include="$(Pkgtaef_redist_wlk)\lib\netstandard1.1\*.*" />
114-
</ItemGroup>
115108
<Import Project="..\UITests.Tests.Shared\UITests.Tests.Shared.projitems" Label="Shared" />
116109
</Project>

UITests/UITests.Tests.TAEF/UITests.Tests.TAEF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</ItemGroup>
4141

4242
<ItemGroup>
43-
<PackageReference Include="Microsoft.Windows.SDK.NET.Ref" Version="10.0.19041.15" GeneratePathProperty="true">
43+
<PackageReference Include="Microsoft.Windows.SDK.NET.Ref" Version="10.0.19041.16" GeneratePathProperty="true">
4444
<NoWarn>
4545
NU1701; <!-- Package 'x' was restored using 'y' instead of the project target framework 'z'. This package may not be fully compatible with your project. -->
4646
</NoWarn>

build/build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void RetrieveVersion()
108108
void UpdateToolsPath(MSBuildSettings buildSettings)
109109
{
110110
// Workaround for https://github.com/cake-build/cake/issues/2128
111-
var vsInstallation = VSWhereLatest(new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild", IncludePrerelease = true });
111+
var vsInstallation = VSWhereLatest(new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild", IncludePrerelease = false });
112112

113113
if (vsInstallation != null)
114114
{
@@ -261,7 +261,7 @@ Task("Test")
261261
Information("\nRunning Unit Tests");
262262
var vswhere = VSWhereLatest(new VSWhereLatestSettings
263263
{
264-
IncludePrerelease = true
264+
IncludePrerelease = false
265265
});
266266

267267
var testSettings = new VSTestSettings

0 commit comments

Comments
 (0)