test: Add net7.0 tf validation

This commit is contained in:
Jerome Laban 2022-08-03 14:36:08 -04:00
Родитель eb8ba69278
Коммит 659741b06c
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -106,6 +106,10 @@ jobs:
strategy:
matrix:
NetCore_7_0_100_Preview_Override:
NETCORE_VERSION: 7.0.100-preview.6.22352.1
TARGETFRAMEWORKOVERRIDE: net7.0
NETCORE_PREVIEW: True
NetCore_7_0_100_Preview:
NETCORE_VERSION: 7.0.100-preview.6.22352.1
NETCORE_PREVIEW: True
@ -172,7 +176,7 @@ jobs:
displayName: Validate .NET Core $(NETCORE_VERSION) CLI build
inputs:
command: build
arguments: "--configuration Release -p:SOURCEGEN_VERSION=$(GITVERSION.SemVer) /bl:$(build.artifactstagingdirectory)/binlog/windows-sample-build-netcore.binlog"
arguments: "--configuration Release -p:SOURCEGEN_VERSION=$(GITVERSION.SemVer) /bl:$(build.artifactstagingdirectory)/binlog/windows-sample-build-netcore.binlog"
workingDirectory: $(build.sourcesdirectory)/src/Uno.SampleCoreApp
- task: PublishBuildArtifacts@1

Просмотреть файл

@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework Condition="'$(TARGETFRAMEWORKOVERRIDE)'!=''">$(TARGETFRAMEWORKOVERRIDE)</TargetFramework>
</PropertyGroup>
<Import Project="..\SolutionBuild.targets" />