Skip to content

Commit

Permalink
Add --configfile to dotnet commands
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckries committed Mar 8, 2016
1 parent c20b6d2 commit 714e91a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr-debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export function installCoreClrDebug(context: vscode.ExtensionContext) {
_channel.appendLine("Downloading and configuring the .NET Core Debugger...");
_channel.show(vscode.ViewColumn.Three);

spawnChildProcess('dotnet', ['--verbose', 'restore'], _channel, _coreClrDebugDir)
spawnChildProcess('dotnet', ['--verbose', 'restore', '--configfile', 'NuGet.config'], _channel, _coreClrDebugDir)
.then(function() {
return spawnChildProcess('dotnet', ['--verbose', 'publish', '-o', _debugAdapterDir], _channel, _coreClrDebugDir);
return spawnChildProcess('dotnet', ['--verbose', 'publish', '-o', _debugAdapterDir, '--configfile', 'NuGet.config'], _channel, _coreClrDebugDir);
}).then(function() {
return ensureAd7EngineExists(_channel, _debugAdapterDir);
}).then(function() {
Expand Down

0 comments on commit 714e91a

Please sign in to comment.