Don't set DOTNET_SKIP_FIRST_TIME_EXPERIENCE on Windows.
This commit is contained in:
Родитель
082b97720e
Коммит
02e2907131
|
@ -132,8 +132,8 @@
|
|||
<DotnetSdkToolCommand Condition="'$(DotnetSdkToolCommand)'=='' and '$(OsEnvironment)'=='Unix'">$(DotnetSdkPath)dotnet</DotnetSdkToolCommand>
|
||||
<OverrideToolHost Condition="'$(MSBuildRuntimeType)' == 'Core'">$(DotnetToolCommand)</OverrideToolHost>
|
||||
<DnuRestoreSource>@(DnuSourceList -> '--source %(Identity)', ' ')</DnuRestoreSource>
|
||||
|
||||
<DnuRestoreCommand>DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 "$(DotnetToolCommand)"</DnuRestoreCommand>
|
||||
<DnuRestorePrefix Condition="'$(OsEnvironment)' != 'Windows_NT'">DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1</DnuRestorePrefix>
|
||||
<DnuRestoreCommand>$(DnuRestorePrefix) "$(DotnetToolCommand)"</DnuRestoreCommand>
|
||||
<DnuRestoreCommand>$(DnuRestoreCommand) restore</DnuRestoreCommand>
|
||||
<DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(DnuRestoreSource)</DnuRestoreCommand>
|
||||
<DnuRestoreCommand Condition="'$(LockDependencies)' == 'true'">$(DnuRestoreCommand) --lock</DnuRestoreCommand>
|
||||
|
|
|
@ -66,10 +66,11 @@
|
|||
<RestoreSourceArg>$(RestoreSourceArg) @(RestoreTestFallbackSource->'--source %(Identity)', ' ')</RestoreSourceArg>
|
||||
<RestoreArgs>--disable-parallel --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(RestoreSourceArg)</RestoreArgs>
|
||||
<RestoreArgs>$(RestoreArgs) /p:MNAVersion=$(ProductVersion) /p:TestTargetRid=$(TestTargetRid)</RestoreArgs>
|
||||
<RestorePrefix Condition="'$(OsEnvironment)' != 'Windows_NT'">DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1</RestorePrefix>
|
||||
</PropertyGroup>
|
||||
|
||||
<Message Importance="high" Text="Microsoft.NETCore.App Version: $(ProductVersion)" />
|
||||
<Exec Command="DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 $(DotnetTestToolCommand) restore $(RestoreArgs) %(RestoreTest.Identity)"
|
||||
<Exec Command="$(RestorePrefix) $(DotnetTestToolCommand) restore $(RestoreArgs) %(RestoreTest.Identity)"
|
||||
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir.TrimEnd('/\'.ToCharArray()))" />
|
||||
</Target>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче