vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Generate assets for construction and debugging, disappeared in the most current version

Open DenianRamos opened this issue 1 year ago • 3 comments

In the most current version of this extension, the Generate assets for construction and debugging button, making it impossible for me to create launch.json

If I download an older version the button appears, but then if I close vscode and open it again, it runs this in my terminal, and the button disappears

Installing Razor Telemetry Version = 7.0.0-preview.24168.4... Platform: win32, x86_64

Downloading package 'Razor Language Server Telemetry (Windows / x64)' (9683 KB)............ Done! Validating download... Integrity Check succeeded. Installing package 'Razor Language Server Telemetry (Windows/x64)'

Finished

Using dotnet configured on PATH Dotnet path: C:\Program Files\dotnet\dotnet.exe Activating C# + C# Dev Kit... waiting for named pipe information from server... [stdout] {"pipeName":"\\.\pipe\bb7cc2c4"} received named pipe information from server attempting to connect client to server... client has connected to server [Info - 20:51:34] [Program] Language server initialized [Info - 20:51:39] [WorkspaceProjectFactoryService] Project D:\User\Downloads\feeds\ConsoleApp1\ConsoleApp1.csproj loaded by C# Dev Kit

DenianRamos avatar Apr 27 '24 23:04 DenianRamos

The logs show that you have C# Dev Kit installed.

The generate assets button was removed by design if you have C# Extension installed as you should be able to use the in-memory launch.json via F5 or right-click solution debug.

However, if you still want to generate assets, you can open the command palette (F1 or Ctrl + Shift + P) and search for .NET: Generate Assets for Build and Debug

WardenGnaw avatar Apr 29 '24 21:04 WardenGnaw