This project was building fine for at least the last year, since about 1-2 weeks it's no longer working (wether with the latest offical version 4.3 (2 Feb 2020), nor with a test build taken from here: https://forum.ncrunch.net/yaf_postst2997_Empty-Test--csproj-fails-to-build.aspx)
R# Build and VS Build are working fine, maybe a VS Update caused this problem?
We are using VS 2019 Enterprise (16.6.0).
Here is the error:
ENGINE - [10:09:58.1328-LocalBuildTask-28] ERROR (Build): Upper.Core.Common.Test: C:\Temp\NCrunch\7192\57\CoreExtensions\Src\CE\v\3.13\Upper.Core.Common.Test\obj\Debug\Fakes\sw\f.csproj (240): The required attribute "Include" is empty or missing from the element <ReferencePath>.
I try to create a sample solution (but it will take me some time), or are the provides zip files enough for you (added the csproj file and the generated obj files (obj from vs and from NCrunch):
Here is a screenshot:
https://ibb.co/njCkG15
And here are the zip files:
https://drive.google.com/file/d/15tUS3LLGpXN4VYUU3Uy8p52544NejmhY/view?usp=sharing (NCrunch generated files)
https://drive.google.com/file/d/1poMIb9D8sTkoIw0jYqfo9ntxN68A9f3U/view?usp=sharing (VS generated Files)
Thanks for the sample files. I've downloaded them now, so you can remove them if you like. I'll let you know as soon as I have more information. Noting that fakes is involved here ... does it make any difference if you rebuild the fakes references?
Remco wrote:Thanks for the sample files. I've downloaded them now, so you can remove them if you like. I'll let you know as soon as I have more information. Noting that fakes is involved here ... does it make any difference if you rebuild the fakes references?
Thx, yeah it seems one of the last vs updates changed something. R# and Vs build are now failing as well, I can now reproduce it with and without Ncrunch, so you don't have to investigate that issue.
Thx for your time and sorry.
upper wrote:
Thx, yeah it seems one of the last vs updates changed something. R# and Vs build are now failing as well, I can now reproduce it with and without Ncrunch, so you don't have to investigate that issue.
Thx for your time and sorry.
upper wrote:
Thx, yeah it seems one of the last vs updates changed something. R# and Vs build are now failing as well, I can now reproduce it with and without Ncrunch, so you don't have to investigate that issue.
Thx for your time and sorry.
No problem. Thanks for letting me know.
If anyone else encounters this issue (its a bug in VS 16.6.0),
https://developercommunity.visualstudio.com/content/problem/1046515/visual-studio-2019-1660-microsoft-fakes-issue.html.