Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f70859f

Browse filesBrowse files
author
Tom Laird-McConnell
committed
If Debugger is attached disable the DLL cache
1 parent 9945286 commit f70859f
Copy full SHA for f70859f

File tree

Expand file treeCollapse file tree

2 files changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎src/Dotnet.Script.Core/Templates/launch.json.template‎

Copy file name to clipboardExpand all lines: src/Dotnet.Script.Core/Templates/launch.json.template
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"args": [
1010
"exec",
1111
"PATH_TO_DOTNET-SCRIPT",
12-
"--nocache",
1312
"${file}"
1413
],
1514
"cwd": "${workspaceRoot}",
Collapse file

‎src/Dotnet.Script/Program.cs‎

Copy file name to clipboardExpand all lines: src/Dotnet.Script/Program.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ private static int Wain(string[] args)
263263

264264
if (!string.IsNullOrWhiteSpace(file.Value))
265265
{
266-
if (nocache.HasValue())
266+
if (Debugger.IsAttached || nocache.HasValue())
267267
{
268268
var optimizationLevel = OptimizationLevel.Debug;
269269
if (configuration.HasValue() && configuration.Value().ToLower() == "release")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.