Skip to content

Commit d7ba2d1

Browse files
committed
Create Subdirectory for Temp Deps.Json File. Please contact me for further information regarding this change.
1 parent 1ed097e commit d7ba2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli/dotnet/CommandFactory/CommandResolution/ProjectToolsCommandResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ internal void GenerateDepsJsonFile(
337337
LocalizableStrings.GeneratingDepsJson,
338338
depsPath));
339339

340-
var tempDepsFile = Path.GetTempFileName();
340+
var tempDepsFile = Path.Combine(PathUtilities.CreateTempSubdirectory(), Path.GetRandomFileName());
341341

342342
var args = new List<string>();
343343

0 commit comments

Comments
 (0)