[Roslyn] Tutorial misses information about netCore3.0 (unsupported!) is required to be installed to use the Roslyn .NET Standard Template and succeed with the tutorial
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 50/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
调研方向
从 docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md 开始,将其中关于项目和目标框架的说明与当前的 Roslyn SDK 模板和 Visual Studio Installer 组件进行比较。记录所需的组件,并为项目目标 netstandard2.0、netcoreapp3.1 和 net472 添加故障排除或迁移指南。验证该教程反映了当前的模板体验。
由索引模型根据 Issue 内容生成。
描述
Type of issue
Missing information
Description
I attempted to create my first Roslyn Generator/Analyzer Project from scratch in VS2026 v18.0.2 using the linked tutorial guide, but just like the user here:
(which should be fixed from the issue state !!! )
and latest updates and workloads provided from the Visual Studio Installer, I run into the same problems:
- We can not select to get a "real"
.NET StandardProject, only be able to choose between different .NET Framework Versions but we not can "opt-out" of using NET Framework. Analyzer(main project),Analyzer.Codefixes,Analyzer.PackageProjects are using the to be expected<TargetFramework>netstandard2.0</TargetFramework>in.csprojthat doesn't applies on the two other provided Projects!Analyzer.Testis provided with the expected to be fixed and by that not included<TargetFramework>netcoreapp3.1</TargetFramework>Analyzer.Vsixis provided with the previously required to be selected<TargetFramework>net472</TargetFramework>
There is exactly NO Information about both (Framework / .NET Core) installation Components would be required for this tutorial or using the Roslyn SDK Templates, I would ask you to add those critical information into this Documentation and, if you have some, also to suggest to us, how to workaround this or similar. But saying nothing and just awaiting the user to get a bad User Expirience is the worst approach I can think of 👀
and I am sure, that's not your intention 👍
This is the current User Expirience you are providing to us without any changes:
https://github.com/user-attachments/assets/55ed18de-a600-4d63-82dd-4dfa351d89c2
Since the linked sample is not using these issued TFM's, I think someone is aware of this update requirement in your Team and maybe even if you are not the ones relyable for the Tempaltes provided, you could possibly add a kind of migration/Troubleshooting section for this?
Thanks in advance!
Additional Information & Feedback
I did hear already from the requirement to be using netstandard2.0 even if I am not very happy about it, because we are now for regular apps at .NET 10, that would be okay and expected.
Even Visual Studio Installer itself is stating .NET Core 3.1-Runtime as not longer supported so the priority of anyone who is maybe relyable in shipping VS Templates should maybe re-evaluated 😄 :
Page URL
Content source URL
Document Version Independent Id
a286e20b-1e43-dc57-e0fb-5a9dee7ec3f6
Platform Id
66b66ae2-c045-6e7a-3fc2-550b1ac424ee
Article author
@BillWagner
Metadata
- ID: 6e3fc905-7aa1-7f5e-9bfe-fbcef461ad5e
- PlatformId: 66b66ae2-c045-6e7a-3fc2-550b1ac424ee
- Service: dotnet-csharp
- Sub-service: roslyn-sdk
- 主要语言
- 没有语言数据
- 星标
- 4.8k
- 派生
- 6.1k
- 平均合并
- 22 小时 46 分钟
- 30 天内合并 PR
- 296
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/docs 的其他 Issue
-
Examen未关闭dotnet-csharp/svc lang-reference/subsvc needs-more-info
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
Update the .NET Framework 3.5 on Windows 11 FAQ to mention Windows 11 26H2可能已有人在做 @BillWagner 于 3 天前认领。 未关闭:pushpin: seQUESTered dotnet/svc
难度 1/5 1 小时以内 新手友好度 78/100
dotnet/docs#56791 · 1 个 reaction · 已指派 2 人 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
-
Improve description of `limitations of extensions`可能已有人在做 @Manish-1kumar 于 11 天前认领。 未关闭advanced-concepts/subsvc dotnet-csharp/svc
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
Document unit-test / theory-data impact of .NET 11 double→decimal conversion可能已有人在做 @SkyDevLab 于 22 天前认领。 未关闭:watch: Not Triaged dotnet-fundamentals/svc
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
相似的 Issue
-
from-agent
难度 2/5 1-3 小时 新手友好度 62/100
-
code quality wasm backend
难度 1/5 1 小时以内 新手友好度 84/100
nanyx-lang/nanyx#930 ·
维护者通常 1 天内回复
-
mlir
难度 2/5 1-3 小时 新手友好度 68/100
llvm/llvm-project#241891 · 1 条评论 ·
维护者通常 1 天内回复
-
arrays bug intrinsic llvm medium priority wrong result
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
`lower_throw!` treats any function whose name contains `jl_error` etc. as a throw (kernel becomes a trap / segfault)可能已有人在做 @sasmith-14 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
JuliaGPU/GPUCompiler.jl#1088 ·
维护者通常 1 天内回复