diff --git a/build.sh b/build.sh
index 7ff647c40..5eb32b4c7 100755
--- a/build.sh
+++ b/build.sh
@@ -53,5 +53,5 @@ dockerbuild()
if [ ! -z "$BUILD_IN_DOCKER" ]; then
dockerbuild $args
else
- $DIR/run-build.sh $args
+ sudo $DIR/run-build.sh $args
fi
diff --git a/eng/Versions.props b/eng/Versions.props
index a1d77f37f..8b6a478c8 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -7,14 +7,14 @@
6
0
- 1
+ 2
00
$(VersionMajor).$(VersionMinor).$(VersionSDKMinor)$(VersionFeature)
- rtm
+ preview
$(VersionMajor).$(VersionMinor)
$(MajorMinorVersion).$(VersionSDKMinor)
- true
+ false
release
diff --git a/run-build.sh b/run-build.sh
index 7b98aedc0..99a408cf2 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -25,6 +25,9 @@ CUSTOM_BUILD_ARGS=
# Set nuget package cache under the repo
[ -z $NUGET_PACKAGES ] && export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
+# Set max number of files open, helps avoid errors during NuGet restore
+ulimit -n 16384
+
args=( )
while [[ $# > 0 ]]; do