Open Axemasta opened 3 years ago
Hey theres a workaround for this you can add the next line into your csproj
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<!-- Add This Line -->
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>
seems that is something related to the pancakeview dependencies config
@AlejandroRuiz Thanks thats the workaround I went with in the end, Figured I'd raise this as an issue anyway since there's some issue with this libraries dependencies 😄
I was doing some routine package updates in my project and noticed upgrading from
2.1.0.714
to2.3.0.759
causes my unit test project to no longer build.I've been able to replicate my issue in a fresh project, a blank forms app and a .NET Core 3.1 Unit Test project. If you target the older pancake view version the whole solution builds and the test project runs. If you upgrade to the latest stable version the package restores with warnings and you see the following errors/warnings when building:
Since the change to .NET 5 I have noticed this error in a few places, I have fixed most of the errors by using a
global.json
pointed to.NET Core 3.1
however the issue persists with this single library. I wonder if theMSBuild.Sdk.Extras
version needs to be updated to the latest version (I believe is now 3.0.22).I have provided the reproduction project, if you swap between the versions you should be able to see the issue PancakeViewBreakUnitTestCore.zip.