Closed jvandertil closed 4 years ago
I think the dependency graph issue in nuget is caused by the lack of a nuspec specifying the dependency. I've not really gone back to check if they changed the csproj format to allow extra fields for this or not.
Can't remember where the hell I found the target framework shortcut from but it did work when it was added π . VS is now showing it grey so it seems dead.
I'm removing net47 from the targets as that should be safely covered by netstd2; I'm also reducing span coverage to netstd up.
Yeah, but there are only PackageReference
entries. So you shouldn't need an additional nuspec to fix that. MSBuild does not understand the Condition
property to be a set of 'or' conditions and thus does not output it. Same with the constants
Yep seems fine fixed up locally
so long as .net 2 stays happy we're all good for keeping enterprises up to date π
Thanks for that, again, I'd planned on manually testing the versions later on so good spot.
Still managed to cock up updating two files but may not be the worst thing. .net4.8 doesnt support 2.1 not wholly certain it will either π€
.net 4.8 console app seems to go for the bloody 4.x ref rather than netstandard2 π±
Sorted. god that targeting formats ugly.
from .net 4.8 project
Awesome, thanks for the quick fix π
Hello,
There seems to be an issue with the framework targeting for the NuGet package. If you look at the package on NuGet then it appears that there are no dependencies listed. This is strange, I expected to see System.Memory somewhere.
Also, the performance improvements (that use Span) do not seem to be part of the NuGet package. The
netstandard2.1
assembly in the package still has the 'old' signatures that use arrays, as seen below in the ILdasm screenshot.I believe the error is in the way the
HAS_SPAN
compile time constant is defined.Currently it is:
As far as I know the MSBuild '==' operator performs an exact string match.
I believe that this is the correct way to define the dependency and constant: