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

Added missing framework references for WinUI #890

Merged
merged 2 commits into from Jun 25, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions scripts/Install-WindowsSDK.ps1
@@ -0,0 +1,18 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.

Write-Host "Downloading Windows SDK 10.0.14393.795..." -ForegroundColor Green
Invoke-WebRequest -Method Get -Uri https://go.microsoft.com/fwlink/p/?LinkId=838916 -OutFile sdksetup.exe -UseBasicParsing

Write-Host "Installing Windows SDK, if setup requests elevation please approve." -ForegroundColor Green
$process = Start-Process -Wait sdksetup.exe -ArgumentList "/quiet", "/norestart", "/ceip off", "/features OptionId.WindowsSoftwareDevelopmentKit" -PassThru
Remove-Item sdksetup.exe -Force

if($process.ExitCode -eq 0)
{
Write-Host "Done" -ForegroundColor Green
}
else
{
Write-Error "Failed to install Windows SDK (Exit code: $($process.ExitCode))"
}
4 changes: 3 additions & 1 deletion scripts/PortableToFullPdb.ps1
@@ -1,4 +1,6 @@
# Copyright (c) Microsoft. All rights reserved.
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.

# Portable to Full PDB conversion script for Test Platform.

[CmdletBinding()]
Expand Down
4 changes: 3 additions & 1 deletion scripts/verify-sign.ps1
@@ -1,4 +1,6 @@
# Copyright (c) Microsoft. All rights reserved.
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.

# Build script for Test Platform.

[CmdletBinding()]
Expand Down
3 changes: 3 additions & 0 deletions scripts/write-release-notes.ps1
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.

[CmdletBinding()]
param
(
Expand Down
5 changes: 5 additions & 0 deletions src/TestFramework/Extension.WinUI/Extension.WinUI.csproj
Expand Up @@ -20,6 +20,11 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.18362.16" />
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.18362.16" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(RepoRoot)src\TestFramework\MSTest.Core\MSTest.Core.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion test/E2ETests/Automation.CLI/CLITestBase.common.cs
Expand Up @@ -17,7 +17,7 @@ public partial class CLITestBase
private const string PackagesFolder = "packages";

// This value is automatically updated by "build.ps1" script.
private const string TestPlatformCLIPackage = @"Microsoft.TestPlatform\17.0.0-preview-20210520-02";
private const string TestPlatformCLIPackage = @"Microsoft.TestPlatform\17.0.0-preview-20210624-09";
private const string VstestConsoleRelativePath = @"tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe";

/// <summary>
Expand Down