Daily Usage Issues

Visual studio preview 16.9.4 breakage

Started by NeilMacMullen on 4,619 views

Just a heads-up that VS 16/9 preview 4 seems to be causing issues with NCrunch. Seeing a lot of errors like this...

NCrunch: This project was built on server 'DESKTOP-Q4DLJTS'
..\..\..\..\..\..\Program Files\dotnet\sdk\5.0.200-preview.21079.7\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets (438, 7): Could not copy the file "C:\NCrunch Grid Node\3528\198\Applications\UI\IdExtract\obj\IdExtract.csproj.nuget.dgspec.json" because it was not found.


when building UI applications (WPF using dotnet core 3.1). (Visual Studio builds them fine.)

Colleague reports that reverting to the previous dotnet SDK works around the problem).

Edited

Hi, thanks for the heads up.

Could I just check if including the file in the 'Additional files to include' suppresses the issue?
Yes, that does fix it - thanks! Back up and crunching :-)
Excellent :) We'll look at rolling in a proper fix for this when this build of VS gets closer to RTM.
Remco wrote:Excellent :) We'll look at rolling in a proper fix for this when this build of VS gets closer to RTM.


Hi, any update on this?
16.9.0 RTM has been released yesterday.

Br
We're working a on a fix for this now and hope to have it ready soon.
Hi All,

I've been trying to reproduce this but no luck yet. Could any of you commit a small test project to github (or a zip file somewhere) that reproduces this for you?

Michael
michaelkroes wrote:
I've been trying to reproduce this but no luck yet. Could any of you commit a small test project to github (or a zip file somewhere) that reproduces this for you?


You can submit small ZIPs with sample code through the NCrunch contact form.

Edited

Remco wrote:
michaelkroes wrote:
I've been trying to reproduce this but no luck yet. Could any of you commit a small test project to github (or a zip file somewhere) that reproduces this for you?


You can submit small ZIPs with sample code through the NCrunch contact form.


At the moment I'm not able to reproduce the problem, if I'm able to reproduce it I will let you know..
Br

Edited

It's looking likely that MS backed out or otherwise adjusted how this works in the RTM build.

If anyone finds a way to produce this problem using the RTM build of VS, please let us know.
Odd - I didn't get email notifications on this thread (but do agree that the issue seems to have gone away by itself). I _did_ get a "New post notification" today (11th Jul 2021 around 05:11 BST) - maybe someone kicked the forum server ? ;-)
NeilMacMullen wrote:Odd - I didn't get email notifications on this thread (but do agree that the issue seems to have gone away by itself). I _did_ get a "New post notification" today (11th Jul 2021 around 05:11 BST) - maybe someone kicked the forum server ? ;-)


This was caused by me. I was fixing a broken link in one of the posts in this thread. Broken links through the forum posts tend to degrade site value for search engines, so I try to keep on top of them when I can :)

Post a reply

Log in to reply.