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

Reference to non-existant assembly version: microsoft.codeanalysis.csharp 4.9.0

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
csharp

调研方向

Start by reproducing the Train action in Model Builder 18.0.0.2615401 with the attached MLModel1-EISI74.txt model, then inspect the log and selected project .csproj for the Microsoft.CodeAnalysis.CSharp 4.9.0 reference. Done means training completes and the wizard advances past the Train step without the assembly-reference error.

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

描述

MLModel1-EISI74.txt

Version 4.9.0 does not exist.
Version 4.8.0 or 4.9.2 is avaliable. Latest version is 5.9.0, which is installed.
Did try version 4.9.2 - same error.

Using modelbiulder 18.0.0.2615401
VS 2026 Insiders [12210.170]

On step Train, when pressing the train button
Image

Every time pressing the train button, and subsequent the train again button

I expect the wizard to train model and continue to next step.

Problem in advanced training options?

Image I also tried comma as decimal seperator. This didnt work either.

Some of the Logfile -----------------------------------------------------
2026-09-18 20:34:50.4875 INFO Set log file path to C:\Users\webma\AppData\Local\Temp\MLVSTools\logs\MLModel1-EISI74.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2026-09-18 20:34:50.4875 DEBUG selected project: C:\Users\webma\source\repos\ML Test 2\ML Test 2\ML Test 2.csproj (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:50.8188 DEBUG initialize ModelBuilderDataContext_47 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG initialize ScenarioViewModel_53 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.TrainingConfig (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.CurrentScenario (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG register ModelBuilderDataContext_47 to viewmodel ScenarioViewModel_53 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.ResetContextWhenTrainResultChanged (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG initialize EnvironmentViewModel_54 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG initialize EvaluateViewModel_55 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ScenarioViewModel_53.CurrentScenario (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG initialize ForecastingTryOutViewModel_56 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update EvaluateViewModel_55.TrainingConfig (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG register ModelBuilderDataContext_47 to viewmodel EnvironmentViewModel_54 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.EnvironmentDataContext (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update EvaluateViewModel_55.CurrentScenario (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.GetCompletedTabAsync (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ModelBuilderDataContext_47.ScenarioTabContext (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update ScenarioViewModel_53.IsCompleted (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update EnvironmentViewModel_54.TrainingConfig (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.GetCompletedTabAsync (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.LocalCpuEnv (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.ResetContextWhenScenarioChanged (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.AzureEnv (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.IsAzureAttachSettingCompleted (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.IsAzureAttachSettingNotCompleted (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG initialize EnvironmentViewModel_57 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.ResetContextWhenScenarioChanged (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG initialize EnvironmentViewModel_58 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.IsAzureTrainingSession (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG update EvaluateViewModel_55.BestAlgorithm (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_57.TrainingConfig (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.CurrentScenario (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG unregister ModelBuilderDataContext_47 from viewmodel EnvironmentViewModel_54 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.LocalGpuEnv (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG register ModelBuilderDataContext_47 to viewmodel EnvironmentViewModel_58 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.TrainingTypeSelectedIndex (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG register ModelBuilderDataContext_47 to viewmodel EnvironmentViewModel_57 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0281 DEBUG register EvaluateViewModel_55 to viewmodel ForecastingTryOutViewModel_56 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.EnvironmentDataContext (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_54.IsCompleted (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.GetCompletedTabAsync (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ForecastingTryOutViewModel_56.IsShowTable (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_58.TrainingConfig (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_58.LocalCpuEnv (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.EnvironmentDataContext (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ModelBuilderDataContext_47.GetCompletedTabAsync (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update ForecastingTryOutViewModel_56.IsShowGraph (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EnvironmentViewModel_57.LocalCpuEnv (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EvaluateViewModel_55.BestMetricValue (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2026-09-18 20:34:51.0340 DEBUG update EvaluateViewModel_55.DataTabContext (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

主要语言
Dockerfile
星标
288
派生
66
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

dotnet/machinelearning-modelbuilder 的其他 Issue

查看 dotnet/machinelearning-modelbuilder 的全部 Issue

相似的 Issue

更多 Machine Learning Issue

把新 issue 发到你的邮箱

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