question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build fails after migration

See original GitHub issue

Steps to reproduce

Upgraded to 1.0.0-rc3-004530 dotnet restore dotnet build

Expected behavior

Successful build

Actual behavior

/usr/local/share/dotnet/sdk/1.0.0-rc3-004530/Microsoft.Common.CurrentVersion.targets(2813,5): error MSB3552: Resource file “**/*.resx” cannot be found.

I have no resx files in my project so not sure where this reference is coming from.

Environment data

dotnet --info output: .NET Command Line Tools (1.0.0-rc3-004530)

Product Information: Version: 1.0.0-rc3-004530 Commit SHA-1 hash: 0de3338607

Runtime Environment: OS Name: Mac OS X OS Version: 10.11 OS Platform: Darwin RID: osx.10.11-x64 Base Path: /usr/local/share/dotnet/sdk/1.0.0-rc3-004530

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Daniel15commented, May 11, 2017

It turns out this happens when any subdirectories have a path that’s too long. It’s a side-effect of https://github.com/Microsoft/msbuild/issues/406.

Posted more information about it here: https://dan.cx/2017/05/fixing-msb3552-resource-file-resx-cannot-be-found

0reactions
geminiyellowcommented, Feb 26, 2017

and after this, i can not do anything by ef cli. and the project can not build, it alway get this error. i have to delete the project and create a new one. please tell me why.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EF Core add-migration Build Failed
If Project A is not successful build and then Project B data migration will fail. So you should unload Project A and add...
Read more >
How to resolve persistent "Build started... Build failed." when ...
Verify your projects build successfully. Literally – go through each of the projects in your solution and make sure they can be built....
Read more >
Add-migration Build Failed - Microsoft Q&A
When using EF Core 7's Add-Migration cmdlet, I encounter this error: An assembly specified in the application dependencies manifest ...
Read more >
.net - EF Core add-migration Build Failed - Stack Overflow
When I get build errors on just a single machine, I start be deleting personal solution file (.suo). You will need to reset...
Read more >
Solved: Add-Migration initial -v Build started Build failed or ...
Solution: Make sure the solution is building right, clean and rebuild, if any project fails, fix it. Use dot net tool through command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found