Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Cli/dotnet/Commands/Run/VirtualProjectBuildingCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,11 @@ public static string GetTempSubdirectory()
? Path.GetTempPath()
: Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);

if (string.IsNullOrEmpty(directory))
{
throw new InvalidOperationException("Unexpected empty temp path.");
}

return Path.Join(directory, "dotnet", "runfile");
}

Expand Down
Loading