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 on missing generated files

See original GitHub issue

Hi,

I started to see this in one of my Azure Pipeline builds for the specific .AssemblyAttributes file but random projects:

CSC : error CS2001: Source file 'D:\a\1\s\src\..\bld\obj\AnyCPU_Release\WorkItems\.AssemblyAttributes' could not be found. [D:\a\1\s\src\WorkItems\WorkItems.csproj]

I observed that this started to happen after net5.0 got installed by default in windows-latest machines.

environment: windows-latest azure pipeline dotnet versions: 2.1.x, 3.1.x, 5.0.x (versions pre-installed).

cc: @jasonmalinowski

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
eddynakacommented, Dec 14, 2020

Ok. Got it. You can close this! Thank you everyone! 😃

1reaction
eddynakacommented, Dec 12, 2020

@PathogenDavid , thank you! will add and check!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solution fails to build w/ missing auto-generated .g.cs file ...
I have just chased down the same error. In my case it was caused by Git checkout inserting a "%20" into the folder...
Read more >
Azure Devops CI Build fails with missing file
I have created a build for an ASP.NET project in Azure Devops. I took all the default options from the template, yet when...
Read more >
Build fails on missing depfile, but only on some machines
The file being complained about isn't mentioned anywhere in the Makefile or Ninja project files. Instead of main.c.d , there's only main.c.o.d ....
Read more >
CMake Autogeneration of files missing (Visual Studio build ...
I am trying to build a Visual studio solution (*.sln) generated by CMake using CMakeLists.txt as input. I ran the command cmake -Ax64 ......
Read more >
[Compile Error] missing include files (IntelliSense)
The error message indicates, that the file is not in the include search path. This path should be added when you create the...
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