dotnet-installer/test/SdkTests/SdkTests.csproj

281 lines
13 KiB
XML
Raw Normal View History

<Project>
2019-04-15 18:24:42 +00:00
<PropertyGroup>
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
<OutputType>Library</OutputType>
<GenerateDependencyFile>false</GenerateDependencyFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ResolvePackageDependenciesForBuild>false</ResolvePackageDependenciesForBuild>
<NonShipping>true</NonShipping>
<NoStdLib>true</NoStdLib>
<ProducesNoOutput>true</ProducesNoOutput>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<LanguageTargets>$(MSBuildToolsPath)\Microsoft.CSharp.targets</LanguageTargets>
<IsPackable>false</IsPackable>
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<TargetFramework>$(CoreSdkTargetFramework)</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<RedistLayoutPath>$(ArtifactsBinDir)redist\$(Configuration)\dotnet\</RedistLayoutPath>
<DotnetToTestPath>$(ArtifactsBinDir)redist\$(Configuration)\dotnet-with-previous-runtimes\</DotnetToTestPath>
<TestExecutionDirectory>$([MSBuild]::NormalizePath($(ArtifactsTmpDir), 'dotnetSdkTests'))</TestExecutionDirectory>
<DOTNET_CLI_HOME>$(ArtifactsTmpDir)DOTNET_CLI_HOME\</DOTNET_CLI_HOME>
2019-04-15 18:24:42 +00:00
</PropertyGroup>
<ItemGroup>
<SdkTest Include="Build" />
<SdkTest Include="Clean" />
<SdkTest Include="Pack" />
<SdkTest Include="Rebuild" />
<SdkTest Include="Restore" />
<SdkTest Include="ToolPack" />
</ItemGroup>
[master] Update dependencies from dotnet/toolset (#6266) * Update dependencies from https://github.com/dotnet/runtime build 20200128.2 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20078.2 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20078.2 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20078.2 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20078.2 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20078.2 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20078.2 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200130.4 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20080.4 Dependency coherency updates - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20080.4 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200130.6 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20080.6 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20080.6 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/runtime build 20200130.10 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20080.10 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20080.10 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20080.10 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20080.10 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20080.10 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20080.10 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200131.1 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20081.1 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20081.1 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200131.3 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20081.3 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20081.3 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200131.2 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20081.2 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20081.2 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200131.4 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20081.4 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20081.4 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200131.5 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20081.5 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20081.5 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/runtime build 20200201.1 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20101.1 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20101.1 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20101.1 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20101.1 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20101.1 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20101.1 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200201.1 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20101.1 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20101.1 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200201.2 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20101.2 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20080.1 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200201.3 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20101.3 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20101.3 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200201.4 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20101.4 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20101.4 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/runtime build 20200201.3 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20101.3 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20101.3 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20101.3 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20101.3 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20101.3 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20101.3 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/runtime build 20200202.3 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20102.3 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20102.3 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20102.3 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20102.3 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20102.3 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20102.3 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200203.2 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20103.2 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20103.2 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/runtime build 20200203.10 - Microsoft.NETCore.DotNetHostResolver - 5.0.0-alpha.1.20103.10 - Microsoft.NETCore.App.Host.win-x64 - 5.0.0-alpha.1.20103.10 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20103.10 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20103.10 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20103.10 Dependency coherency updates - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20103.10 (parent: Microsoft.NetCore.App.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200204.1 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20104.1 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20104.1 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200204.3 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20104.3 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20104.3 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200204.2 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20104.2 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20104.2 (parent: Microsoft.Dotnet.Toolset.Internal) * Update dependencies from https://github.com/dotnet/toolset build 20200204.4 - Microsoft.Dotnet.Toolset.Internal - 5.0.100-alpha.1.20104.4 Dependency coherency updates - Microsoft.DotNet.Common.ItemTemplates - 5.0.0-alpha1.20101.2 (parent: Microsoft.Dotnet.Toolset.Internal) - Microsoft.DotNet.MSBuildSdkResolver - 5.0.100-alpha.1.20104.4 (parent: Microsoft.Dotnet.Toolset.Internal) * Disable Publish tests on Windows x86 * Disable ILLINK tests Waiting for codeflow from https://github.com/dotnet/sdk/pull/10602 * Fix typo in test skip name. Co-authored-by: Daniel Plaisted <dsplaisted@gmail.com>
2020-02-05 00:33:57 +00:00
<!-- Disable Publish tests on Windows x86 until we figure out why they were timing out
https://github.com/dotnet/core-sdk/issues/6285 -->
<ItemGroup Condition="('$(OS)' != 'Windows_NT') Or ('$(Architecture)' != 'x86')">
<SdkTest Include="Publish" />
</ItemGroup>
<Target Name="GetRuntimesToInstall">
<ReadLinesFromFile File="/etc/os-release"
Condition="'$(OS)' != 'Windows_NT'">
<Output TaskParameter="Lines" PropertyName="OsReleaseContents"/>
</ReadLinesFromFile>
2019-05-30 16:56:24 +00:00
<!-- Set OsReleaseContents to Windows to make later comparisons easier -->
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<OsReleaseContents>Windows</OsReleaseContents>
</PropertyGroup>
<ItemGroup>
<RuntimeVersionToInstall Include="2.1.0" />
<RuntimeVersionToInstall Include="2.2.5" />
2019-10-17 23:05:17 +00:00
<RuntimeVersionToInstall Include="3.0.0" />
<RuntimeVersionToInstall Include="3.1.0" />
<RuntimeVersionToInstall Include="5.0.0" />
2022-01-13 18:50:19 +00:00
<RuntimeVersionToInstall Include="6.0.0" />
<RuntimeVersionToInstall Include="7.0.0" />
</ItemGroup>
</Target>
<Target Name="SetupLayoutWithPreviousRuntimes" DependsOnTargets="GetRuntimesToInstall">
<ItemGroup>
<LayoutFilesToCopyToDotnetToTest Include="$(RedistLayoutPath)**"/>
<LayoutFilesToCopyToDotnetToTest>
<DestinationPath>$(DotnetToTestPath)%(RecursiveDir)%(Filename)%(Extension)</DestinationPath>
</LayoutFilesToCopyToDotnetToTest>
</ItemGroup>
<Copy SourceFiles="@(LayoutFilesToCopyToDotnetToTest)"
DestinationFiles="@(LayoutFilesToCopyToDotnetToTest->'%(DestinationPath)')"
SkipUnchangedFiles="true"/>
<MSBuild Projects="$(MSBuildProjectFullPath)"
Targets="InstallRuntimeToLayout"
Properties="RuntimeVersionToInstall=%(RuntimeVersionToInstall.Identity)"
BuildInParallel="false"/>
</Target>
<Target Name="InstallRuntimeToLayout">
<PropertyGroup>
<RuntimeTargetDirectory>$(DotnetToTestPath)shared\Microsoft.NETCore.App\$(RuntimeVersionToInstall)</RuntimeTargetDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<!-- Set TLS1.2 explicitly before running this. If TLS1.2 isnt' enabled by default this command may fail in some
scenarios. Waiting on a fix to dotnet-install.ps1 to fix this in the right place. -->
<InstallRuntimeCommand>powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -Command "&amp; {</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) [Net.ServicePointManager]::SecurityProtocol = 'Tls12, Tls13';</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) &amp; '$(DotNetRoot)dotnet-install.ps1'</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) -Version $(RuntimeVersionToInstall)</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) -InstallDir $(DotnetToTestPath)</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) -Runtime 'dotnet'</InstallRuntimeCommand>
<InstallRuntimeCommand Condition="'$(Architecture)' != ''">$(InstallRuntimeCommand) -Architecture '$(Architecture)'</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) }"</InstallRuntimeCommand>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<InstallRuntimeCommand>/bin/bash</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) "$(DotNetRoot)dotnet-install.sh"</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) --version $(RuntimeVersionToInstall)</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) --install-dir "$(DotnetToTestPath)"</InstallRuntimeCommand>
<InstallRuntimeCommand>$(InstallRuntimeCommand) --runtime "dotnet"</InstallRuntimeCommand>
<InstallRuntimeCommand Condition="'$(Architecture)' != ''">$(InstallRuntimeCommand) --architecture "$(Architecture)"</InstallRuntimeCommand>
</PropertyGroup>
<Exec Command="$(InstallRuntimeCommand)"
Condition="!Exists($(RuntimeTargetDirectory))"
IgnoreStandardErrorWarningFormat="true"
/>
</Target>
<Target Name="RunSdkTests" DependsOnTargets="SetupLayoutWithPreviousRuntimes">
<!-- Isolate test working directory from higher-level Directory.Build files -->
<Copy SourceFiles="$(RepoRoot)TestAssets\Directory.Build.props;$(RepoRoot)TestAssets\Directory.Build.targets"
DestinationFolder="$(TestExecutionDirectory)"
SkipUnchangedFiles="true"
/>
<!-- Set up NuGet feeds -->
<PropertyGroup>
<GeneratedNuGetConfig>$(TestExecutionDirectory)\NuGet.config</GeneratedNuGetConfig>
<NugetConfigContents>
<![CDATA[
<configuration>
<packageSources>
</packageSources>
</configuration>
]]>
</NugetConfigContents>
</PropertyGroup>
<WriteLinesToFile File="$(GeneratedNuGetConfig)"
Lines="$(NugetConfigContents)"
Overwrite="true" />
<!-- Allow test list to be overridden with ToolTestName property -->
<ItemGroup Condition="'$(ToolTestName)' != ''">
<SdkTest Remove="@(SdkTest)" />
<SdkTest Include="$(ToolTestName)" />
</ItemGroup>
<ItemGroup>
<TestProjectToRun Include="$(MSBuildProjectFullPath)">
<AdditionalProperties>ToolTestName=%(SdkTest.Identity)</AdditionalProperties>
</TestProjectToRun>
</ItemGroup>
<MSBuild Projects="@(TestProjectToRun)"
2019-04-15 18:24:42 +00:00
Targets="RunTestsAsTool"
BuildInParallel="true"
/>
2019-04-15 18:24:42 +00:00
</Target>
<Target Name="RunTestsAsTool">
<PropertyGroup>
<ToolCommandName>testSdk$(ToolTestName)</ToolCommandName>
<TestProjectName>Microsoft.NET.$(ToolTestName).Tests</TestProjectName>
2019-04-15 18:24:42 +00:00
<TestLocalToolFolder>$(ArtifactsTmpDir)$(ToolCommandName)\</TestLocalToolFolder>
</PropertyGroup>
<RemoveDir Directories="$(TestLocalToolFolder)" />
<MakeDir Directories="$(TestLocalToolFolder)" />
<MakeDir Directories="$(ArtifactsTestResultsDir)" />
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<ToolRunPrefix>$(ToolRunPrefix)set MSBuildSDKsPath=&amp;&amp; </ToolRunPrefix>
<ToolRunPrefix>$(ToolRunPrefix)set DOTNET_HOST_PATH=&amp;&amp; </ToolRunPrefix>
<ToolRunPrefix>$(ToolRunPrefix)set DOTNET_INSTALLDIR=&amp;&amp; </ToolRunPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<ToolRunPrefix>$(ToolRunPrefix)unset MSBuildSDKsPath DOTNET_HOST_PATH DOTNET_INSTALLDIR &amp;&amp; </ToolRunPrefix>
</PropertyGroup>
[main] Update dependencies from dotnet/sdk (#12361) [main] Update dependencies from dotnet/sdk - Coherency Updates: - Microsoft.WindowsDesktop.App.Ref: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Ref: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Host.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.DotNetHostResolver: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.Platforms: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref.Internal: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-dev-certs: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-user-secrets: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Common.ItemTemplates: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.TemplateEngine.Cli: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Dotnet.WinForms.ProjectTemplates: from 6.0.0-rc.2.21459.12 to 7.0.0-alpha.1.21525.3 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Wpf.ProjectTemplates: from 7.0.0-alpha.1.21460.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.FSharp.Compiler: from 12.0.0-beta.21477.4 to 12.0.0-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.fsharp: from 6.0.0-beta.21477.4 to 6.0.1-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.NET.Test.Sdk: from 17.0.0-release-20210908-02 to 17.1.0-preview-20211012-05 (parent: Microsoft.NET.Sdk) - Microsoft.NET.ILLink.Tasks: from 7.0.100-1.21479.1 to 7.0.100-1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Net.Compilers.Toolset: from 4.0.0-5.21479.8 to 4.0.0-6.21521.3 (parent: Microsoft.NET.Sdk) - Microsoft.Build: from 17.0.0-preview-21480-01 to 17.1.0-preview-21522-03 (parent: Microsoft.NET.Sdk) - NuGet.Build.Tasks: from 6.0.0-rc.258 to 6.0.0-rc.278 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.source-build: from 0.1.0-alpha.1.21460.1 to 0.1.0-alpha.1.21475.1 (parent: Microsoft.NET.Sdk) - Add nuget package refs for tests - Attempt changing the installer target framework - Revert "Add nuget package refs for tests" This reverts commit d7ceaf16350ca3b28e2fc52d729db431ef46899d. - Update stage0 to an SDK that supports the 7.0 TFM - Use stage 2 dotnet for installing and running SDK tests
2021-10-26 00:59:19 +00:00
<Exec Command="$(ToolRunPrefix)$(RedistLayoutPath)dotnet new tool-manifest"
WorkingDirectory="$(TestLocalToolFolder)"
[main] Update dependencies from dotnet/sdk (#13192) [main] Update dependencies from dotnet/sdk - Coherency Updates: - Microsoft.WindowsDesktop.App.Ref: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.3 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.3 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.3 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Ref: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.TargetingPack.x64.7.0: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Runtime.win-x64: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Host.win-x64: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.DotNetHostResolver: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.Platforms: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref.Internal: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Runtime.win-x64: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - dotnet-dev-certs: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - dotnet-user-secrets: from 7.0.0-preview.2.22107.8 to 7.0.0-preview.2.22114.6 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Common.ItemTemplates: from 7.0.100-preview.2.22077.4 to 7.0.100-preview.2.22116.8 (parent: Microsoft.NET.Sdk) - Microsoft.TemplateEngine.Cli: from 7.0.100-preview.2.22077.4 to 7.0.100-preview.2.22116.8 (parent: Microsoft.NET.Sdk) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.3 (parent: Microsoft.NET.Sdk) - Microsoft.Dotnet.WinForms.ProjectTemplates: from 7.0.0-preview.2.22106.3 to 7.0.0-preview.2.22114.6 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.3 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Wpf.ProjectTemplates: from 7.0.0-preview.2.22107.1 to 7.0.0-preview.2.22115.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.NET.Test.Sdk: from 17.2.0-preview-20220207-08 to 17.2.0-preview-20220215-01 (parent: Microsoft.NET.Sdk) - Microsoft.NET.ILLink.Tasks: from 7.0.100-1.22107.1 to 7.0.100-1.22115.2 (parent: Microsoft.NET.Sdk) - Microsoft.Net.Compilers.Toolset: from 4.1.0-3.22068.11 to 4.2.0-1.22116.16 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.SharedFramework.x64.7.0: from 7.0.0-preview.2.22103.2 to 7.0.0-preview.2.22116.9 (parent: Microsoft.NET.Sdk) - Microsoft.NET.Workload.Emscripten.Manifest-7.0.100: from 7.0.0-alpha.2.22078.1 to 7.0.0-alpha.2.22111.1 (parent: VS.Redist.Common.NetCore.SharedFramework.x64.7.0) - ignore errors and warnings in exec of dotnet new in SdkTests.csproj
2022-02-17 20:46:47 +00:00
EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"
IgnoreStandardErrorWarningFormat="true" />
2019-04-15 18:24:42 +00:00
<PropertyGroup>
<SdkTestPackageVersion>$(MicrosoftNETSdkPackageVersion)</SdkTestPackageVersion>
[main] Update dependencies from dotnet/sdk (#12361) [main] Update dependencies from dotnet/sdk - Coherency Updates: - Microsoft.WindowsDesktop.App.Ref: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Ref: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Host.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.DotNetHostResolver: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.Platforms: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref.Internal: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-dev-certs: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-user-secrets: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Common.ItemTemplates: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.TemplateEngine.Cli: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Dotnet.WinForms.ProjectTemplates: from 6.0.0-rc.2.21459.12 to 7.0.0-alpha.1.21525.3 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Wpf.ProjectTemplates: from 7.0.0-alpha.1.21460.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.FSharp.Compiler: from 12.0.0-beta.21477.4 to 12.0.0-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.fsharp: from 6.0.0-beta.21477.4 to 6.0.1-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.NET.Test.Sdk: from 17.0.0-release-20210908-02 to 17.1.0-preview-20211012-05 (parent: Microsoft.NET.Sdk) - Microsoft.NET.ILLink.Tasks: from 7.0.100-1.21479.1 to 7.0.100-1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Net.Compilers.Toolset: from 4.0.0-5.21479.8 to 4.0.0-6.21521.3 (parent: Microsoft.NET.Sdk) - Microsoft.Build: from 17.0.0-preview-21480-01 to 17.1.0-preview-21522-03 (parent: Microsoft.NET.Sdk) - NuGet.Build.Tasks: from 6.0.0-rc.258 to 6.0.0-rc.278 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.source-build: from 0.1.0-alpha.1.21460.1 to 0.1.0-alpha.1.21475.1 (parent: Microsoft.NET.Sdk) - Add nuget package refs for tests - Attempt changing the installer target framework - Revert "Add nuget package refs for tests" This reverts commit d7ceaf16350ca3b28e2fc52d729db431ef46899d. - Update stage0 to an SDK that supports the 7.0 TFM - Use stage 2 dotnet for installing and running SDK tests
2021-10-26 00:59:19 +00:00
<InstallToolCommand>$(RedistLayoutPath)dotnet tool install --local $(ToolCommandName)</InstallToolCommand>
<InstallToolCommand>$(InstallToolCommand) --version $(SdkTestPackageVersion)</InstallToolCommand>
</PropertyGroup>
<Exec Command="$(ToolRunPrefix)$(InstallToolCommand)"
WorkingDirectory="$(TestLocalToolFolder)"
EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"/>
2019-04-15 18:24:42 +00:00
<!--<Exec Command="$(ToolRunPrefix)dotnet tool restore"
WorkingDirectory="$(TestLocalToolFolder)"
EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"/>-->
2019-04-15 18:24:42 +00:00
<PropertyGroup>
<ResultsXmlPath>$(ArtifactsTestResultsDir)$(TestProjectName).xml</ResultsXmlPath>
<ResultsHtmlPath>$(ArtifactsTestResultsDir)$(TestProjectName).html</ResultsHtmlPath>
<ResultsStdOutPath>$(ArtifactsLogDir)$(TestProjectName).log</ResultsStdOutPath>
<TestArgs>-noautoreporters -noRepoInference</TestArgs>
<TestArgs>$(TestArgs) -dotnetPath $(DotnetToTestPath)dotnet</TestArgs>
<TestArgs>$(TestArgs) -testExecutionDirectory $(TestExecutionDirectory)</TestArgs>
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestConfig.xml"</TestArgs>
2019-04-15 18:24:42 +00:00
<TestArgs>$(TestArgs) -xml "$(ResultsXmlPath)"</TestArgs>
<TestArgs>$(TestArgs) -html "$(ResultsHtmlPath)" $(TestRunnerAdditionalArguments)</TestArgs>
2019-05-20 19:04:08 +00:00
<TestArgs>$(TestArgs) &gt; $(ResultsStdOutPath) 2&gt;&amp;1</TestArgs>
<TestArgs>$(TestArgs) -testList SdkIntegrationTests</TestArgs>
2019-04-15 18:24:42 +00:00
</PropertyGroup>
<PropertyGroup Condition="$(StabilizePackageVersion) == 'true'">
<!-- Add list of tests to skip in stable SDKS -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipStableSDK.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition="('$(OS)' == 'Windows_NT') And ('$(Architecture)' == 'x86')">
<!-- Add list of tests to skip on x86 -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipx86.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(IslinuxPortable)' == 'true' ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipPortableLinux.xml"</TestArgs>
</PropertyGroup>
2023-04-15 01:01:43 +00:00
<PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('LINUX')) ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipLinux.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('OSX')) ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipOSX.xml"</TestArgs>
</PropertyGroup>
[main] Update dependencies from dotnet/sdk (#12361) [main] Update dependencies from dotnet/sdk - Coherency Updates: - Microsoft.WindowsDesktop.App.Ref: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Ref: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.NetCore.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.App.Host.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.DotNetHostResolver: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.NETCore.Platforms: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Ref.Internal: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.AspNetCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-dev-certs: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - dotnet-user-secrets: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Common.ItemTemplates: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.TemplateEngine.Cli: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Dotnet.WinForms.ProjectTemplates: from 6.0.0-rc.2.21459.12 to 7.0.0-alpha.1.21525.3 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.DotNet.Wpf.ProjectTemplates: from 7.0.0-alpha.1.21460.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64) - Microsoft.FSharp.Compiler: from 12.0.0-beta.21477.4 to 12.0.0-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.fsharp: from 6.0.0-beta.21477.4 to 6.0.1-beta.21522.2 (parent: Microsoft.NET.Sdk) - Microsoft.NET.Test.Sdk: from 17.0.0-release-20210908-02 to 17.1.0-preview-20211012-05 (parent: Microsoft.NET.Sdk) - Microsoft.NET.ILLink.Tasks: from 7.0.100-1.21479.1 to 7.0.100-1.21525.2 (parent: Microsoft.NET.Sdk) - Microsoft.Net.Compilers.Toolset: from 4.0.0-5.21479.8 to 4.0.0-6.21521.3 (parent: Microsoft.NET.Sdk) - Microsoft.Build: from 17.0.0-preview-21480-01 to 17.1.0-preview-21522-03 (parent: Microsoft.NET.Sdk) - NuGet.Build.Tasks: from 6.0.0-rc.258 to 6.0.0-rc.278 (parent: Microsoft.NET.Sdk) - Microsoft.SourceBuild.Intermediate.source-build: from 0.1.0-alpha.1.21460.1 to 0.1.0-alpha.1.21475.1 (parent: Microsoft.NET.Sdk) - Add nuget package refs for tests - Attempt changing the installer target framework - Revert "Add nuget package refs for tests" This reverts commit d7ceaf16350ca3b28e2fc52d729db431ef46899d. - Update stage0 to an SDK that supports the 7.0 TFM - Use stage 2 dotnet for installing and running SDK tests
2021-10-26 00:59:19 +00:00
<Exec Command="$(ToolRunPrefix)$(RedistLayoutPath)dotnet tool run $(ToolCommandName) -- $(TestArgs)"
WorkingDirectory="$(TestLocalToolFolder)"
2021-04-22 17:27:56 +00:00
EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"/>
2019-04-15 18:24:42 +00:00
</Target>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- Remove items which light up build logic which could generate warnings / errors -->
<ItemGroup>
<EmbeddedResource Remove="@(EmbeddedResource)" />
<Reference Remove="@(Reference)" />
<PackageReference Remove="@(PackageReference)" />
<ProjectReference Remove="@(ProjectReference)" />
<SwrFile Remove="@(SwrFile)" />
</ItemGroup>
<PropertyGroup>
<TargetPath></TargetPath>
<!-- Prevent projects referencing this from trying to pass us to the compiler -->
</PropertyGroup>
<Target Name="CoreCompile" />
<!-- Prevent Csc from being called -->
<Target Name="GenerateTargetFrameworkMonikerAttribute" />
<!-- Don't generate TFM attribute -->
<Target Name="RuntimeImplementationProjectOutputGroup" />
<!-- Group always attempts resolve runtime, regardless of <CopyNuGetImplementations>-->
<Target Name="GetReferenceAssemblyPaths" />
<!-- Don't go looking for framework reference assemblies-->
2019-04-15 18:24:42 +00:00
<Target Name="GetFrameworkPaths" />
<!-- ^ -->
<Target Name="GetBuildVersion" />
<!-- For Packages projects, which use GetNuGetPackageVersionEx which depends on GetBuildVersion -->
<Target Name="Pack" />
<Target Name="Test" DependsOnTargets="RunSdkTests" />
</Project>