Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

VB to C# Conversion doesn't update other project references to .csproj

未关闭
#1,040 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp

调研方向

使用 wiki 的转换步骤,通过包含一个被另一个项目引用的 VBPROJ 的多项目解决方案重现该问题。检查项目引用转换和重新加载路径;完成的标准是每个引用项目都将项目 GUID 和项目扩展名更新为 .csproj,然后成功编译。

由索引模型根据 Issue 内容生成。

描述

Good for coding agent VB -> C#
Steps to reproduce
  1. Create a solution of multiple projects and some of the projects being a VBPROJ and used by other projects.
  2. Convert a VB project to csproj.
  3. Conversion runs fine and shows a list of referenced projects will be changed and reloaded. Ok and reload
  4. However in all the projects referencing this vbproj, the GUID is changed BUT not the project extension. it stays as vbproj and of course will give errors compiling.
Error message shown
  • Follow the steps on the wiki - where do things go wrong?
  • Copy and paste any error messages / relevant text and/or screenshot the incorrect behaviour.

If there's no error message, try the Visual Studio Activity log:

Run Visual Studio with the /Log command line switch to write ActivityLog.xml to disk during your session.
After closing Visual Studio, find the activity log in the subfolder for Visual Studio data:
%AppData%\Microsoft\VisualStudio<version>\ActivityLog.xml.

Details
  • Product in use: e.g. icsharpcode.github.io/CodeConverter / VS extension / both
  • Version in use: e.g. 5.6.3 or a commit hash (if it's a 3rd party tool using this library, try one of the above)
  • Did you see it working in a previous version, which?
  • Any other relevant information to the issue, or your interest in contributing a fix.
主要语言
C#
星标
914
派生
242
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

icsharpcode/CodeConverter 的其他 Issue

查看 icsharpcode/CodeConverter 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。