diff --git a/Tools/gulp/gulp-regenerate-expected.js b/Tools/gulp/gulp-regenerate-expected.js index 10b848c1a71ba..b4cd45c9807e4 100644 --- a/Tools/gulp/gulp-regenerate-expected.js +++ b/Tools/gulp/gulp-regenerate-expected.js @@ -13,7 +13,7 @@ var isMac = (process.platform.lastIndexOf('darwin') === 0); function GetAutoRestFolder() { if (isWindows) { - return "src/core/AutoRest/bin/Release/net451/win7-x64/"; + return "src/core/AutoRest/bin/Debug/net451/win7-x64/"; } if( isMac ) { return "src/core/AutoRest/bin/Debug/net451/osx.10.11-x64/"; diff --git a/gulpfile.js b/gulpfile.js index d2a58793c343c..477e0469888e0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,7 +30,7 @@ process.env.MSBUILDDISABLENODEREUSE = 1; function GetAutoRestFolder() { if (isWindows) { - return "src/core/AutoRest/bin/Release/net451/win7-x64/"; + return "src/core/AutoRest/bin/Debug/net451/win7-x64/"; } if( isMac ) { return "src/core/AutoRest/bin/Debug/net451/osx.10.11-x64/"; @@ -486,7 +486,7 @@ gulp.task('regenerate:expected:csazurecomposite', function (cb) { }); gulp.task('regenerate:expected:samples', ['regenerate:expected:samples:azure'], function(){ - var autorestConfigPath = path.join(basePathOrThrow(), GetAutoRestFolder() + 'AutoRest.Release.json'); + var autorestConfigPath = path.join(basePathOrThrow(), GetAutoRestFolder() + 'AutoRest.json'); var content = fs.readFileSync(autorestConfigPath).toString(); if (content.charCodeAt(0) === 0xFEFF) { content = content.slice(1); @@ -504,7 +504,7 @@ gulp.task('regenerate:expected:samples', ['regenerate:expected:samples:azure'], }); gulp.task('regenerate:expected:samples:azure', function(){ - var autorestConfigPath = path.join(basePathOrThrow(), GetAutoRestFolder() + 'AutoRest.Release.json'); + var autorestConfigPath = path.join(basePathOrThrow(), GetAutoRestFolder() + 'AutoRest.json'); var content = fs.readFileSync(autorestConfigPath).toString(); if (content.charCodeAt(0) === 0xFEFF) { content = content.slice(1);