Repository navigation
Roll forward to newer CLI - #1065
Conversation
|
|
||
| echo "cat ${__cli_dir}/.version" | ||
| cat "${__cli_dir}/.version" | ||
| echo "ls ${__cli_dir}/sdk" |
There was a problem hiding this comment.
Should this be updated in build.cmd too?
echo type "%__DotNetCliPath%\.version"
type "%__DotNetCliPath%\.version"
There was a problem hiding this comment.
That's covered already by line 70 in Install-cli.ps1 that didn't need to change
say "Latest version: $RemoteVersion"
say "Local Version: $LocalVersion"
There was a problem hiding this comment.
Yeah, but that never prints anything because of the way the PowerShell script is invoked. The thing that prints the version is the thing I quoted from build.cmd.
There was a problem hiding this comment.
Ah that. I updated it to print out the version of what's there now after invoking Install-Cli.ps1
|
Do we need to also update the |
|
@schellap PTAL |
|
Updated the documentation with the new path. |
| $Channel="beta" | ||
| $DotNetFileName="dotnet-win-" + $TargetPlatform + ".1.0.0.001672.zip" | ||
| $DotNetUrl="$Feed/$Channel/Binaries/1.0.0.001672" | ||
| $DotNetFileName="dotnet-dev-win-" + $TargetPlatform + ".1.0.0-beta-002111.zip" |
There was a problem hiding this comment.
2111 will apparently break builds on Windows 7: dotnet/corefx#7376 :/
Maybe switching it up for 2131 won't be too much hassle?
|
FWIW, it works fine on my Mac with parallel restore disabled (https://github.com/jkotas/corert/commit/412440bb9ba25171879414335505da4c4e93c97a), but the CI is failing on error that I am not able to repro. |
|
@mmitche Matt, any idea why the CI is failing here / how to diagnose? Both OSX and Ubuntu give lots of errors during Nuget restore. Both myself and Jan can build locally and cannot repro this failure. An example error:
|
|
@nattress I am not sure, but most likely the CI is right give the nature of the PR. Have you attempted to repro locally after clearing out your local cache and purging your git enlistment? It looks like Windows was fine so i'd start with a non-windows OS. /cc @piotrpMSFT |
|
This looks like an issue with dotnet restore failing when the local package cache folder doesn't exist. I filed https://github.com/dotnet/cli/issues/2270. @schellap I added a workaround in build.sh to create the package cache folder for the time being so CI passes. |
|
👍 |
- Migrate to CLI 1.0.0-beta-002209 - Alter scripting to support CLI package layout and Azure blob URL changes
No description provided.