Build/Test Issues

Support for central Package Management & Simplified output path

Started by mgrundner on 9,300 views

Hi Remco!

I currently switched my projects to the 2 new features linked down below.
I'm pretty sure that only the package management feature is affecting ncrunch failing to build, but just to let you know that I also use the simplified output path feature.

https://devblogs.microsoft.com/nuget/introducing-central-package-management/
https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8#simplified-output-paths

Getting the following errors related to building.

Restore Error


I submitted a bug report so you can look at my build logs.

Kind regards,
Manuel
Hi Manuel,

Thanks for getting these features on our radar.

Looking at the description of them and inferring how they must function under the hood, I think it's a safe bet that we'll need to do some work on NCrunch before we are able to support these features.

For the time being, please consider these features to be unsupported by NCrunch. We'll address them in a future build.
Hi Remco!

I just played around a little bit and it seams that central package management works just fine.

I've got an workaround for me now that at least me use NCrunch :)


<!--<UseArtifactsOutput>true</UseArtifactsOutput>-->
<UseArtifactsOutput Condition="'$(NCrunch)' == '1'">false</UseArtifactsOutput>
<UseArtifactsOutput Condition="'$(NCrunch)' != '1'">true</UseArtifactsOutput>


Thanks for the quick answer!

Edited

+1 for `<UseArtifactsOutput>true</UseArtifactsOutput>` support. The workaround did not work for my project (using NCrunch 4.14.0.7).

Edited

Post a reply

Log in to reply.