-
Notifications
You must be signed in to change notification settings - Fork 16
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
[BUG] Error running command csdevkit.addNewFile: The type initializer for 'HostData' threw an exception. #1689
Comments
@adrianvmsft , @Michael-Eng : could you please help? |
@JakeRadMSFT can you take a look - could it be related to the template engine? |
Log is
However Creates namespace ConsoleApp1;
public class Class1
{
} |
@jorgelaranjo Sorry I can't reproduce this bug on my end, would you mind sharing more details on how to reproduce this issue. Regards |
Bug not present anymore on latest version Version: 1.96.2 (1.96.2-1) |
Showing again. Based on logs, could be similar to #386
Changed from Linux x64 6.12.4-arch1-1 to OS: Linux x64 6.12.6-arch1-1
Logs
|
Additional log
|
Root Cause: Resolution: |
Describe the Issue
I can't add files from solution explorer from a simple project. Gives me this error:
Error running command csdevkit.addNewFile: The type initializer for 'HostData' threw an exception.. This is likely caused by the extension that contributes csdevkit.addNewFile.
Steps To Reproduce
No response
Expected Behavior
Creates file
Environment Information
Project is on Dotnet 8.0
Seems similar to #1000
The text was updated successfully, but these errors were encountered: