зеркало из
1
0
Форкнуть 0

Updating update-dependencies to use CLI 1.0.1

This commit is contained in:
MichaelSimons 2017-03-08 15:28:46 -06:00 коммит произвёл Michael Simons
Родитель acf5e7a3f6
Коммит ac919fb3a5
2 изменённых файлов: 7 добавлений и 26 удалений

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

@ -1,31 +1,12 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp1.0</TargetFramework>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" />
<EmbeddedResource Include="**\*.resx" />
<PackageReference Include="Microsoft.DotNet.VersionTools" Version="1.0.26-prerelease-00708-05" />
<PackageReference Include="System.Diagnostics.TextWriterTraceListener" Version="4.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.VersionTools">
<Version>1.0.26-prerelease-00708-05</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.App">
<Version>1.0.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.NET.Sdk">
<Version>1.0.0-alpha-20161026-2</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="System.Diagnostics.TextWriterTraceListener">
<Version>4.0.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

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

@ -4,7 +4,7 @@
#
param(
[string]$CliBranch="rel/1.0.0",
[string]$CliBranch="rel/1.0.1",
[string]$DotnetInstallDir,
[string[]]$EnvVars=@(),
[switch]$Help)
@ -42,7 +42,7 @@ if (!(Test-Path "$RepoRoot\artifacts"))
$DOTNET_INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/dotnet/cli/$CliBranch/scripts/obtain/dotnet-install.ps1"
Invoke-WebRequest $DOTNET_INSTALL_SCRIPT_URL -OutFile "$RepoRoot\artifacts\dotnet-install.ps1"
& "$RepoRoot\artifacts\dotnet-install.ps1" -Channel "rel-1.0.0" -Version "1.0.0-preview3-003981" -Architecture $Architecture -InstallDir $DotnetInstallDir
& "$RepoRoot\artifacts\dotnet-install.ps1" -Channel "rel-1.0.1" -Version "1.0.1" -Architecture $Architecture -InstallDir $DotnetInstallDir
if($LASTEXITCODE -ne 0) { throw "Failed to install the .NET Core SDK" }
pushd "$AppPath"