mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Feature/outer paths for project (#11445)
* allow relative paths in project file outside of project folder * Adding some tests * Adding error string to loc strings * Fixed test * fix error message * PR comments and some more fixes
This commit is contained in:
@@ -84,8 +84,8 @@ export class BuildHelper {
|
||||
}
|
||||
|
||||
public constructBuildArguments(projectPath: string, buildDirPath: string): string {
|
||||
projectPath = utils.getSafePath(projectPath);
|
||||
buildDirPath = utils.getSafePath(buildDirPath);
|
||||
projectPath = utils.getQuotedPath(projectPath);
|
||||
buildDirPath = utils.getQuotedPath(buildDirPath);
|
||||
return ` build ${projectPath} /p:NetCoreBuild=true /p:NETCoreTargetsPath=${buildDirPath}`;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ export class NetCoreTool {
|
||||
throw new Error(NetCoreInstallationConfirmation);
|
||||
}
|
||||
|
||||
const dotnetPath = utils.getSafePath(path.join(this.netcoreInstallLocation, dotnet));
|
||||
const dotnetPath = utils.getQuotedPath(path.join(this.netcoreInstallLocation, dotnet));
|
||||
const command = dotnetPath + ' ' + options.argument;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user