Build fails on missing generated files
See original GitHub issueHi,
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:
- Created 3 years ago
- Comments:16 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok. Got it. You can close this! Thank you everyone! 😃
@PathogenDavid , thank you! will add and check!