-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.NET.ILLink package is broken #82597
Comments
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue Details
Extracted
Open question is if the dependency should be
|
…7769)" Context: dotnet/runtime#82597 This reverts commit 6cd0d38. We need to do it because a recent update to the `Microsoft.NET.ILLink` package broke our build: Microsoft.Android.Sdk.ILLink.csproj : error NU1202: Package Microsoft.NET.ILLink 8.0.0-preview.2.23123.5 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package Microsoft.NET.ILLink 8.0.0-preview.2.23123.5 supports: net8.0 (.NETCoreApp,Version=v8.0) This happened because the version of `Microsoft.NET.ILLink` that we have configured in `en/Version.Details.xml` was removed from the dotnet8 feed and the closest matching version is installed instead. An attempt to fix it was to switch the `Microsoft.Android.Sdk.ILLink` project back to `net8.0` but, alas, the new `Microsoft.NET.ILLink` package version misses dependency on Cecil, also causing our build to fail: src/Microsoft.Android.Sdk.ILLink/ApplyPreserveAttribute.cs(9,12): error CS0234: The type or namespace name 'Cecil' does not exist in the namespace 'Mono' src/Xamarin.Android.Build.Tasks/Linker/MonoDroid.Tuner/LinkDesignerBase.cs(161,41): error CS0246: The type or namespace name 'MethodDefinition' could not be found ... 626 Warning(s) 359 Error(s) Reverting 6cd0d38 puts as back on the `alpha1` release of net8 and fixes the build until we have a real solution available.
I'm adding a dependency on |
@sbomer @marek-safar which feed is the Microsoft.DotNet.Cecil package in? I'm getting And these are the feeds we have right now:
|
It's now only available at transport feed (we should enable it to internal too @sbomer?) Try to add this
|
By internal do you mean the dotnet8 feed? I think it should only go on the transport feed since the dotnet8 feed is intended for packages that will eventually make it to nuget.org. (Microsoft.NET.ILLink.Tasks, on the other hand, has to go to nuget.org so that the SDK can pull down the right version of ILLink based on the TFM). |
@sbomer I think it's worth double checking on this. I think |
It should no longer be published to dotnet8 after #82905. |
Microsoft.NET.ILLink
package is broken since we movedillink
repo todotnet/runtime
. The package is missing dependency of Mono.Cecil which blocks consumption of this package.Extracted
illink.nuspec
from https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet8/NuGet/Microsoft.NET.ILLink/overview/8.0.0-preview.2.23123.8Open question is if the dependency should be
Mono.Cecil
orMicrosoft.DotNet.Cecil
package.@grendello @rolfbjarne
The text was updated successfully, but these errors were encountered: