You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/share/dotnet/sdk/6.0.201/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5026: The file '/Users/israelsoto/Downloads/testcase/source/AudienceNetwork/bin/Debug/net6.0-ios/Native.Facebook.AudienceNetwork.manifest' to be packed was not found on disk. [/Users/israelsoto/Downloads/testcase/source/AudienceNetwork/AudienceNetwork.csproj]
but for some reason, it's not being executed. Following the binlog, it seems that all our magic just happens within _WalkEachTargetPerFramework target, but after that, there aren't any other import of Xamarin stuff.
Even when we override the GenerateNuspecDependsOn property using Xamarin.Shared.targets, if you print this property before the GenerateNuspec target (the one that is failing), you will notice that the reassignment didn't happen; even when the logs shows that this property was reassignment correctly.
The text was updated successfully, but these errors were encountered:
This is a variation of dotnet/msbuild#4584, where we can't work around it, because none of our logic is included in the build.
I've proposed a fix to dotnet/msbuild#4584, so we'll see how that goes and if it's accepted. In the meantime use TargetFramework in the csproj instead of TargetFrameworks.
Steps to Reproduce
Unzip the testcase
Run the following command:
dotnet pack source/AudienceNetwork/AudienceNetwork.csproj -v:diagnostic -bl:dotnet.binlog > dotnet.log
See the results
Expected Behavior
A generated NuGet package
Actual Behavior
The following error:
Environment
Build Logs
dotnet.binlog.zip
dotnet.log
Example Project (If Possible)
testcase.zip
It seems that this was fixed before with the following task:
xamarin-macios/msbuild/Xamarin.Shared/Xamarin.Shared.targets
Lines 208 to 225 in df395f2
but for some reason, it's not being executed. Following the binlog, it seems that all our magic just happens within
_WalkEachTargetPerFramework
target, but after that, there aren't any other import of Xamarin stuff.Even when we override the
GenerateNuspecDependsOn
property using Xamarin.Shared.targets, if you print this property before theGenerateNuspec
target (the one that is failing), you will notice that the reassignment didn't happen; even when the logs shows that this property was reassignment correctly.The text was updated successfully, but these errors were encountered: