Skip to content

dotnet/sdk/6.0.203/NuGet.targets(466,5): error MSB4044:  #2122

Description

@cuicaihao

Running ML.Net Tutorial with .Net6.0.203.

To step: Consume your model.

macOS Monterey version 12.4.

~/Documents/Developer/dotnet/ml.net/myMLApp/SentimentModel ·················································  base  system  19:02:20

  ~/Documents/Developer/dotnet/ml.net/myMLApp/SentimentModel ·················································  base  system  19:09:56
❯ ll
total 640
-rw-r--r--  1 caihaocui  staff   1.1K 20 May 18:54 Program.cs
-rw-r--r--  1 caihaocui  staff   2.3K 20 May 18:54 SentimentModel.consumption.cs
-rw-r--r--  1 caihaocui  staff   8.2K 20 May 18:54 SentimentModel.mbconfig
-rw-r--r--  1 caihaocui  staff   2.0K 20 May 18:54 SentimentModel.training.cs
-rw-r--r--  1 caihaocui  staff   292K 20 May 18:54 SentimentModel.zip
drwxr-xr-x  3 caihaocui  staff    96B 20 May 19:01 bin
  ~/Documents/Developer/dotnet/ml.net/myMLApp/SentimentModel ·················································  base  system  19:09:58
❯ dotnet run
/usr/local/share/dotnet/sdk/6.0.203/NuGet.targets(466,5): error MSB4044: The "GetRestoreProjectStyleTask" task was not given a value for the required parameter "MSBuildProjectName". [/Users/caihaocui/Documents/Developer/dotnet/ml.net/myMLApp/SentimentModel/.csproj]

The build failed. Fix the build errors and run again.
  ~/Documents/Developer/dotnet/ml.net/myMLApp/SentimentModel ·················································  base  system  19:10:01
❯ 

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions