Fix update-dependencies.
Don't import the root Directory.Build.props during update-dependencies because it imports generated .props files that don't exist outside of the build.
This commit is contained in:
parent
483e03704f
commit
0491fd3826
3 changed files with 12 additions and 13 deletions
|
@ -30,6 +30,8 @@ if [ -z "${DOTNET_INSTALL_DIR:-}" ]; then
|
|||
export DOTNET_INSTALL_DIR=$REPO_ROOT/.dotnet_stage0/x64
|
||||
fi
|
||||
|
||||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||
|
||||
# Install a stage 0
|
||||
echo "Installing .NET Core CLI Stage 0"
|
||||
$REPO_ROOT/scripts/obtain/dotnet-install.sh -Channel master -Architecture x64
|
||||
|
@ -42,14 +44,6 @@ fi
|
|||
# Put the stage 0 on the path
|
||||
export PATH=$DOTNET_INSTALL_DIR:$PATH
|
||||
|
||||
echo "Restoring $PROJECT_PATH..."
|
||||
dotnet restore "$PROJECT_PATH"
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to restore"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Invoking App $PROJECT_PATH..."
|
||||
dotnet run -p "$PROJECT_PATH" $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue