-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
dotnet build always throwing error #17411
Comments
dotnet build Determining projects to restore... Build FAILED. /usr/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(326,5): error MSB4018: The "ResolveTargetingPackAssets" task failed unexpectedly. [/home/aditya/dotnetproject/demo1/demo1.csproj] Time Elapsed 00:00:00.82 I am using redhat 8.0 |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Any update on this issue ?is anyone working , if you need more info please do let me know. |
This looks to me like it might be an instance of dotnet/docs#18347 / dotnet/runtime#47500 based on it being Red Hat with |
Thanks for cc'ing me, @dagood . Hey @sahaaditya62, can you please tell us how you installed .NET on this RHEL 8 machine? I guess you installed Microsoft's .NET RPM/yum/dnf package repository and then used dnf/yum to install the .NET SDK? Did you know that RHEL 8 includes .NET SDK in the default package repositories and you can install it on a fresh RHEL 8 installation using simply If you really want to use the RPM packages built by Microsoft (and not Red Hat), I can help you come up with the steps to get htat working, but please let me know what your goal is. |
Read this |
Hey @sahaaditya62 ! We updated the docs to try and offer a few solutions to this issue: https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-mixup. Let us know if that helps (or doesn't, for that matter) |
@marcpopMSFT I think this issue can be closed. The possible solutions were suggested/documented. And there is no further open follow-up questions from submitter or anyone else. |
Closing per above as it looks like suggests were made and documented as noted. |
Description
Configuration
Regression?
Other information
The text was updated successfully, but these errors were encountered: