[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
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 50/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- csharp
- Lĩnh vực
- compilers, documentation
Hướng nghiên cứu
Bắt đầu với docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md và so sánh các hướng dẫn về dự án và framework đích của tài liệu này với các template Roslyn SDK hiện tại và các thành phần Visual Studio Installer. Ghi lại các thành phần bắt buộc và bổ sung hướng dẫn khắc phục sự cố hoặc di chuyển cho các target của dự án netstandard2.0, netcoreapp3.1 và net472. Xác minh rằng tutorial phản ánh trải nghiệm hiện tại với các template.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4.8k
- Fork
- 6.1k
- Merge trung bình
- 22 giờ 46 phút
- Pull request đã merge (30 ngày)
- 296
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/docs
-
ExamenĐang mởdotnet-csharp/svc lang-reference/subsvc needs-more-info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
dotnet/docs#56845 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update the .NET Framework 3.5 on Windows 11 FAQ to mention Windows 11 26H2Có thể đã có người làm @BillWagner đã nhận 3 ngày trước. Đang mở:pushpin: seQUESTered dotnet/svc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
dotnet/docs#56791 · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Improve description of `limitations of extensions`Có thể đã có người làm @Manish-1kumar đã nhận 11 ngày trước. Đang mởadvanced-concepts/subsvc dotnet-csharp/svc
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
dotnet/docs#56626 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document unit-test / theory-data impact of .NET 11 double→decimal conversionCó thể đã có người làm @SkyDevLab đã nhận 22 ngày trước. Đang mở:watch: Not Triaged dotnet-fundamentals/svc
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
from-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
code quality wasm backend
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
nanyx-lang/nanyx#930 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[mlir][math] math-expand-ops computes math.ctlz wrongly for widths that are not a power of twoĐang mởmlir
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
llvm/llvm-project#241891 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
arrays bug intrinsic llvm medium priority wrong result
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`lower_throw!` treats any function whose name contains `jl_error` etc. as a throw (kernel becomes a trap / segfault)Có thể đã có người làm @sasmith-14 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JuliaGPU/GPUCompiler.jl#1088 ·
Maintainer thường phản hồi trong vòng 1 ngày