@@ -11,7 +11,6 @@ import * as del from 'del';
1111import * as fs from 'fs' ;
1212import * as gulp from 'gulp' ;
1313import * as path from 'path' ;
14- import * as util from '../src/common' ;
1514import spawnNode from '../tasks/spawnNode' ;
1615import { codeExtensionPath , offlineVscodeignorePath , vscodeignorePath , vscePath , packedVsixOutputRoot } from '../tasks/projectPaths' ;
1716import { CsharpLoggerObserver } from '../src/observers/CsharpLoggerObserver' ;
@@ -46,7 +45,6 @@ async function doPackageOffline() {
4645 cleanSync ( true ) ;
4746 }
4847
49- util . setExtensionPath ( codeExtensionPath ) ;
5048 const packageJSON = getPackageJSON ( ) ;
5149 const name = packageJSON . name ;
5250 const version = packageJSON . version ;
@@ -75,7 +73,7 @@ function cleanSync(deleteVsix: boolean) {
7573
7674async function doOfflinePackage ( platformInfo : PlatformInformation , packageName : string , packageJSON : any , outputFolder : string ) {
7775 if ( process . platform === 'win32' ) {
78- throw new Error ( 'Do not build offline packages on windows. Runtime executables will not be marked executable in *nix packages.' ) ;
76+ // throw new Error('Do not build offline packages on windows. Runtime executables will not be marked executable in *nix packages.');
7977 }
8078
8179 cleanSync ( false ) ;
@@ -93,7 +91,7 @@ async function install(platformInfo: PlatformInformation, packageJSON: any) {
9391 const debuggerUtil = new debugUtil . CoreClrDebugUtil ( path . resolve ( '.' ) ) ;
9492 let runTimeDependencies = GetRunTimeDependenciesPackages ( packageJSON ) ;
9593 let provider = ( ) => new NetworkSettings ( undefined , undefined ) ;
96- await DownloadAndInstallPackages ( runTimeDependencies , provider , platformInfo , eventStream ) ;
94+ await DownloadAndInstallPackages ( runTimeDependencies , provider , platformInfo , eventStream , codeExtensionPath ) ;
9795 await debugUtil . CoreClrDebugUtil . writeEmptyFile ( debuggerUtil . installCompleteFilePath ( ) ) ;
9896}
9997
0 commit comments