Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DenianRamos opened this issue Apr 27, 2024 · 3 comments
Assignees
Labels

Comments

@DenianRamos
Copy link

DenianRamos commented Apr 27, 2024

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

@WardenGnaw
Copy link
Contributor

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 WardenGnaw self-assigned this Apr 29, 2024
@RomainHautefeuille
Copy link
Contributor

hello @WardenGnaw
I don't see any .NET: Generate Assets for Build and Debug option in the command palette (tried on two distinct computers I have access to). Is it gone or am I missing something?

@DavidNorena
Copy link

@RomainHautefeuille i believe this is the new way it works, I just found the same missing option today but I will get used on how it works now

https://code.visualstudio.com/docs/csharp/debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants