提交 1e3a22e4 编写于 作者: A Andrew Casey

Respect noconfig in InteractiveEvaluator

Don't consume the response file when re-initializing after ```#reset
noconfig```.  The host already handles this correctly.

Fixes #4397.

Integration test to follow.
上级 b566f499
......@@ -192,8 +192,8 @@ private void ProcessStarting(InteractiveHostOptions options)
var metadataService = _workspace.CurrentSolution.Services.MetadataService;
ImmutableArray<string> referencePaths;
// reset configuration:
if (File.Exists(_responseFilePath))
// reset configuration (null initialization file indicates "noconfig"):
if (options.InitializationFile != null && File.Exists(_responseFilePath))
{
// The base directory for relative paths is the directory that contains the .rsp file.
// Note that .rsp files included by this .rsp file will share the base directory (Dev10 behavior of csc/vbc).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册