Skip to content

[WebToolsE2E][Green]Mofify the program.cs file after run console app with "start without debugging", error "Changing 'top-level code' might not have any effect until the application is restarted" show up in Problems #3298

Description

@Susie-1989

REGRESSION INFO: Works well C# DevKit Prerelease Version 3.27.196(C#2.416.2)

INSTALL STEPS

  1. OS: windows x64
  2. Install the SDK 10.0.302
  3. Install VS Code insiders - 1.130.0
  4. Install internal prerelease C#devkit 3.27.198(C# 2.164.2)

REPRO STEPS

  1. Open vs code > Create .NET Project > Console App
  2. Right click xxx.csproj >Build, build successfully.
  3. Right click xxx.csproj > Debug > Start without Debugging
  4. After run successfully, open program.cs change "Hello, World" to "Hello, Worldtest"

Note: This issue works well when run the project with "Start New Instance"

ACTUAL “Changing 'top-level code' might not have any effect until the application is restarted" show up in Problems

Image

EXPECTED No error pop up

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions