JIT调试器在使用源生成时不起作用
这是我第一次尝试创建一个问题,因此可以忍受。
我正在尝试将源生成器实施到我的解决方案中。我能够让项目以调试状态进行编译和工作(在经过一些错误的同时),但最终源生成器从未生成文件。请参阅下面:
连接调试器时我会遇到这些错误:
如果我没有附加到调试器,则不会显示弹出窗口,但是它不会生成文件。
当调试和让过程完成时:
这是我的项目代码,以查看是否可以查看是否可以查看也许我做了一些错误的设置。
项目参考
“ rel =“ nofollow noreferrer”> gen project文件
我已经尝试过:
- 维修视觉工作室
- 维修(重新安装).NET SDK(.NET 472、48,Core 3.1和5.0)
- 重新安装了程序文件中的dotnet文件夹中
- 在Jetbrains Rider中运行同一项目(其中的错误说“ [21596] dotnet.exe中发生了一个未经手的例外”,带有类似的“可用debuggers”弹出窗口)
This is my first attempt at creating a question so bear with me.
I'm attempting to implement a source generator into my solution. I was able to get the project to compile and work at a debugging state (while going through some erros) but the source generator in the end never generated the files. Please see below:
I would get these errors when attaching the debugger:
If I didn't attach to the debugger then the popup doesn't show up, however it doesn't generate the files.
And when debugging and letting the process finish:
Here is my code for the project to see if maybe I did something wrong setting it up.
I've tried:
- Repairing visual studio
- Repairing (reinstalling) .net sdk (.net 472, 48, Core 3.1, and 5.0)
- Reinstalling the dotnet folder in program files
- Running the same project in Jetbrains Rider (The error on there said "An unhandled exception occured in [21596] dotnet.exe" with a similar "Available debuggers" popup window)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论