Skip to content

dotnet-ef on Linux results in MSB3552: Resource file "**/*.resx" cannot be found #37506

@Soeren-WBS

Description

@Soeren-WBS

Error

dotnet-ef --version 10.0.2 - Throws Exception

`/opt/hostedtoolcache/dotnet/sdk/10.0.102/Microsoft.Common.CurrentVersion.targets(3442,5): error MSB3552: Resource file "**/*.resx" cannot be found. [/home/vsts/work/1/s/src/xxx/xxx/xxx.csproj]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:02.45

Microsoft.EntityFrameworkCore.Tools.CommandException: Build failed. Use dotnet build to see the errors.
at Microsoft.EntityFrameworkCore.Tools.Project.Build(IEnumerable1 additionalArgs) at Microsoft.EntityFrameworkCore.Tools.RootCommand.Execute(String[] _) at Microsoft.EntityFrameworkCore.Tools.Commands.CommandBase.<>c__DisplayClass0_0.<Configure>b__0(String[] args) at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args) at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)

-> In version 10.0.1 this error did not occured. Error was thrown in a pipeline using efcore-migration-script-generator-task@1

Links

No response

Root Cause

unknown

Blocking

  • This issue is blocking

Affected Releases

  • .NET 10
  • .NET 10 (SDK band build)
  • .NET 11

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions