Skip to content

Instantly share code, notes, and snippets.

@FilBot3
Last active November 18, 2021 20:51
Show Gist options
  • Save FilBot3/724bec9e94c2e0d7e9f0b8d5f092d395 to your computer and use it in GitHub Desktop.
Save FilBot3/724bec9e94c2e0d7e9f0b8d5f092d395 to your computer and use it in GitHub Desktop.
.NET Core SDK 3.1.301 on Fedora 32 is not able to find some /usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml It doesn't exist.
➜ ~ sudo dnf remove dotnet-\*
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Removing:
dotnet-apphost-pack-3.1 x86_64 3.1.5-1 @packages-microsoft-com-prod 164 k
dotnet-host x86_64 3.1.5-1 @packages-microsoft-com-prod 107 k
dotnet-hostfxr-3.1 x86_64 3.1.5-1 @packages-microsoft-com-prod 369 k
dotnet-runtime-3.1 x86_64 3.1.5-1 @packages-microsoft-com-prod 73 M
dotnet-runtime-deps-3.1 x86_64 3.1.5-1 @packages-microsoft-com-prod 0
dotnet-sdk-3.1 x86_64 3.1.301-1 @packages-microsoft-com-prod 181 M
dotnet-targeting-pack-3.1 x86_64 3.1.3-1.fc32 @updates 2.8 M
Removing unused dependencies:
aspnetcore-runtime-3.1 x86_64 3.1.5-1 @packages-microsoft-com-prod 17 M
aspnetcore-targeting-pack-3.1 x86_64 3.1.3-1.fc32 @updates 8.2 M
netstandard-targeting-pack-2.1 x86_64 3.1.103-1.fc32 @updates 2.2 M
Transaction Summary
==============================================================================================================================================================================================================================================
Remove 10 Packages
Freed space: 285 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : dotnet-sdk-3.1-3.1.301-1.x86_64 1/10
Running scriptlet: dotnet-sdk-3.1-3.1.301-1.x86_64 1/10
Erasing : dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 2/10
Erasing : netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64 3/10
Erasing : aspnetcore-runtime-3.1-3.1.5-1.x86_64 4/10
Erasing : dotnet-runtime-3.1-3.1.5-1.x86_64 5/10
Erasing : dotnet-hostfxr-3.1-3.1.5-1.x86_64 6/10
Erasing : aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 7/10
Erasing : dotnet-host-3.1.5-1.x86_64 8/10
Erasing : dotnet-runtime-deps-3.1-3.1.5-1.x86_64 9/10
Erasing : dotnet-apphost-pack-3.1-3.1.5-1.x86_64 10/10
Running scriptlet: dotnet-apphost-pack-3.1-3.1.5-1.x86_64 10/10
Verifying : aspnetcore-runtime-3.1-3.1.5-1.x86_64 1/10
Verifying : aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 2/10
Verifying : dotnet-apphost-pack-3.1-3.1.5-1.x86_64 3/10
Verifying : dotnet-host-3.1.5-1.x86_64 4/10
Verifying : dotnet-hostfxr-3.1-3.1.5-1.x86_64 5/10
Verifying : dotnet-runtime-3.1-3.1.5-1.x86_64 6/10
Verifying : dotnet-runtime-deps-3.1-3.1.5-1.x86_64 7/10
Verifying : dotnet-sdk-3.1-3.1.301-1.x86_64 8/10
Verifying : dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 9/10
Verifying : netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64 10/10
Removed:
aspnetcore-runtime-3.1-3.1.5-1.x86_64 aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 dotnet-apphost-pack-3.1-3.1.5-1.x86_64 dotnet-host-3.1.5-1.x86_64 dotnet-hostfxr-3.1-3.1.5-1.x86_64
dotnet-runtime-3.1-3.1.5-1.x86_64 dotnet-runtime-deps-3.1-3.1.5-1.x86_64 dotnet-sdk-3.1-3.1.301-1.x86_64 dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64
Complete!
➜ ~ dnf search dotnet
Last metadata expiration check: 0:03:11 ago on Mon 15 Jun 2020 02:57:09 PM CDT.
======================================================================================================== Name Exactly Matched: dotnet ========================================================================================================
dotnet.x86_64 : .NET Core CLI tools and runtime
======================================================================================================= Name & Summary Matched: dotnet =======================================================================================================
dotnet-runtime-deps-2.1.x86_64 : dotnet-runtime-deps-2.1 2.1.19
dotnet-runtime-deps-2.2.x86_64 : dotnet-runtime-deps-2.2 2.2.8
dotnet-runtime-deps-3.0.x86_64 : dotnet-runtime-deps-3.0 3.0.3
dotnet-runtime-deps-3.1.x86_64 : dotnet-runtime-deps-3.1 3.1.5
============================================================================================================ Name Matched: dotnet ============================================================================================================
dotnet-apphost-pack-3.0.x86_64 : Microsoft.NETCore.App.Host 3.0.3
dotnet-apphost-pack-3.1.x86_64 : Microsoft.NETCore.App.Host 3.1.5
dotnet-build-reference-packages.x86_64 : Reference packages needed by the .NET Core SDK build
dotnet-host.x86_64 : Microsoft .NET Core Host - 3.1.5
dotnet-hostfxr-2.1.x86_64 : Microsoft .NET Core Host FX Resolver - 2.1.19 2.1.19
dotnet-hostfxr-2.2.x86_64 : Microsoft .NET Core Host FX Resolver - 2.2.8 2.2.8
dotnet-hostfxr-3.0.x86_64 : Microsoft .NET Core Host FX Resolver - 3.0.3 3.0.3
dotnet-hostfxr-3.1.x86_64 : Microsoft .NET Core Host FX Resolver - 3.1.5 3.1.5
dotnet-runtime-2.1.x86_64 : Microsoft .NET Core Runtime - 2.1.19 Microsoft.NETCore.App
dotnet-runtime-2.2.x86_64 : Microsoft .NET Core Runtime - 2.2.8 Microsoft.NETCore.App
dotnet-runtime-3.0.x86_64 : Microsoft .NET Core Runtime - 3.0.3 Microsoft.NETCore.App
dotnet-runtime-3.1.x86_64 : Microsoft .NET Core Runtime - 3.1.5 Microsoft.NETCore.App
dotnet-sdk-2.1.x86_64 : Microsoft .NET Core SDK 2.1.807 2.1.807
dotnet-sdk-2.2.x86_64 : Microsoft .NET Core SDK 2.2.402 2.2.402
dotnet-sdk-3.0.x86_64 : Microsoft .NET Core SDK 3.0.103 3.0.103
dotnet-sdk-3.1.x86_64 : Microsoft .NET Core SDK 3.1.301 3.1.301
dotnet-sdk-3.1-source-built-artifacts.x86_64 : Internal package for building .NET Core 3.1 Software Development Kit
dotnet-targeting-pack-3.0.x86_64 : Microsoft.NETCore.App.Ref 3.0.1
dotnet-targeting-pack-3.1.x86_64 : Targeting Pack for Microsoft.NETCore.App 3.1
dotnet-templates-3.1.x86_64 : .NET Core 3.1 templates
➜ ~ sudo dnf install dotnet-sdk-3.1
keybase 33 kB/s | 3.3 kB 00:00
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Installing:
dotnet-sdk-3.1 x86_64 3.1.301-1 packages-microsoft-com-prod 69 M
Installing dependencies:
aspnetcore-runtime-3.1 x86_64 3.1.5-1 packages-microsoft-com-prod 7.5 M
aspnetcore-targeting-pack-3.1 x86_64 3.1.3-1.fc32 updates 947 k
dotnet-apphost-pack-3.1 x86_64 3.1.5-1 packages-microsoft-com-prod 68 k
dotnet-host x86_64 3.1.5-1 packages-microsoft-com-prod 40 k
dotnet-hostfxr-3.1 x86_64 3.1.5-1 packages-microsoft-com-prod 148 k
dotnet-runtime-3.1 x86_64 3.1.5-1 packages-microsoft-com-prod 29 M
dotnet-runtime-deps-3.1 x86_64 3.1.5-1 packages-microsoft-com-prod 2.8 k
dotnet-targeting-pack-3.1 x86_64 3.1.3-1.fc32 updates 728 k
netstandard-targeting-pack-2.1 x86_64 3.1.103-1.fc32 updates 510 k
Transaction Summary
==============================================================================================================================================================================================================================================
Install 10 Packages
Total download size: 108 M
Installed size: 285 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64.rpm 751 kB/s | 510 kB 00:00
(2/10): dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64.rpm 926 kB/s | 728 kB 00:00
(3/10): aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64.rpm 1.2 MB/s | 947 kB 00:00
(4/10): dotnet-host-3.1.5-x64.rpm 176 kB/s | 40 kB 00:00
(5/10): dotnet-apphost-pack-3.1.5-x64.rpm 255 kB/s | 68 kB 00:00
(6/10): dotnet-hostfxr-3.1.5-x64.rpm 1.8 MB/s | 148 kB 00:00
(7/10): dotnet-runtime-deps-3.1.5-fedora.27-x64.rpm 67 kB/s | 2.8 kB 00:00
(8/10): aspnetcore-runtime-3.1.5-x64.rpm 8.2 MB/s | 7.5 MB 00:00
(9/10): dotnet-runtime-3.1.5-x64.rpm 12 MB/s | 29 MB 00:02
(10/10): dotnet-sdk-3.1.301-x64.rpm 17 MB/s | 69 MB 00:04
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 19 MB/s | 108 MB 00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : dotnet-host-3.1.5-1.x86_64 1/10
Installing : aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 2/10
Installing : dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 3/10
Installing : netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64 4/10
Installing : dotnet-hostfxr-3.1-3.1.5-1.x86_64 5/10
Installing : dotnet-runtime-deps-3.1-3.1.5-1.x86_64 6/10
Installing : dotnet-runtime-3.1-3.1.5-1.x86_64 7/10
Installing : aspnetcore-runtime-3.1-3.1.5-1.x86_64 8/10
Installing : dotnet-apphost-pack-3.1-3.1.5-1.x86_64 9/10
Installing : dotnet-sdk-3.1-3.1.301-1.x86_64 10/10
Running scriptlet: dotnet-sdk-3.1-3.1.301-1.x86_64 10/10
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
Verifying : aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 1/10
Verifying : dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 2/10
Verifying : netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64 3/10
Verifying : aspnetcore-runtime-3.1-3.1.5-1.x86_64 4/10
Verifying : dotnet-apphost-pack-3.1-3.1.5-1.x86_64 5/10
Verifying : dotnet-host-3.1.5-1.x86_64 6/10
Verifying : dotnet-hostfxr-3.1-3.1.5-1.x86_64 7/10
Verifying : dotnet-runtime-3.1-3.1.5-1.x86_64 8/10
Verifying : dotnet-runtime-deps-3.1-3.1.5-1.x86_64 9/10
Verifying : dotnet-sdk-3.1-3.1.301-1.x86_64 10/10
Installed:
aspnetcore-runtime-3.1-3.1.5-1.x86_64 aspnetcore-targeting-pack-3.1-3.1.3-1.fc32.x86_64 dotnet-apphost-pack-3.1-3.1.5-1.x86_64 dotnet-host-3.1.5-1.x86_64 dotnet-hostfxr-3.1-3.1.5-1.x86_64
dotnet-runtime-3.1-3.1.5-1.x86_64 dotnet-runtime-deps-3.1-3.1.5-1.x86_64 dotnet-sdk-3.1-3.1.301-1.x86_64 dotnet-targeting-pack-3.1-3.1.3-1.fc32.x86_64 netstandard-targeting-pack-2.1-3.1.103-1.fc32.x86_64
Complete!
➜ ~ cd Documents/CSharp
➜ CSharp mkdir dotnet-core-sample
➜ CSharp cd dotnet-core-sample
➜ dotnet-core-sample dotnet new console --output src/HelloWorld
The template "Console Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on src/HelloWorld/HelloWorld.csproj...
Determining projects to restore...
Restored /home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj (in 144 ms).
Restore succeeded.
➜ dotnet-core-sample dotnet new xunit --output test/HelloWorldTest
The template "xUnit Test Project" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on test/HelloWorldTest/HelloWorldTest.csproj...
Determining projects to restore...
Restored /home/predatorian/Documents/CSharp/dotnet-core-sample/test/HelloWorldTest/HelloWorldTest.csproj (in 818 ms).
Restore succeeded.
➜ dotnet-core-sample dotnet add test/HelloWorldTest/HelloWorldTest.csproj reference src/HelloWorld/HelloWorld.csproj
Reference `..\..\src\HelloWorld\HelloWorld.csproj` added to the project.
➜ dotnet-core-sample dotnet new sln
The template "Solution File" was created successfully.
➜ dotnet-core-sample dotnet sln add src/HelloWorld/HelloWorld.csproj
Project `src/HelloWorld/HelloWorld.csproj` added to the solution.
➜ dotnet-core-sample dotnet sln add test/HelloWorldTest/HelloWorldTest.csproj
Project `test/HelloWorldTest/HelloWorldTest.csproj` added to the solution.
➜ dotnet-core-sample dotnet build
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /home/predatorian/Documents/CSharp/dotnet-core-sample/test/HelloWorldTest/HelloWorldTest.csproj (in 321 ms).
1 of 2 projects are up-to-date for restore.
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: The "ResolveTargetingPackAssets" task failed unexpectedly. [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: System.IO.FileNotFoundException: Could not find file '/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml'. [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: File name: '/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml' [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlTextReaderImpl.FinishInitUriString() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.Linq.XDocument.Load(String uri) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.AddReferencesFromFrameworkList(String frameworkListPath, String targetingPackDllFolder, ITaskItem targetingPack, List`1 referenceItems) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.ExecuteCore() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
Build FAILED.
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: The "ResolveTargetingPackAssets" task failed unexpectedly. [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: System.IO.FileNotFoundException: Could not find file '/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml'. [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: File name: '/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml' [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlTextReaderImpl.FinishInitUriString() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at System.Xml.Linq.XDocument.Load(String uri) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.AddReferencesFromFrameworkList(String frameworkListPath, String targetingPackDllFolder, ITaskItem targetingPack, List`1 referenceItems) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.ExecuteCore() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(283,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/predatorian/Documents/CSharp/dotnet-core-sample/src/HelloWorld/HelloWorld.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.53
➜ dotnet-core-sample cat /etc/os-release
NAME=Fedora
VERSION="32 (Thirty Two)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Thirty Two)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
➜ dotnet-core-sample hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 6ca95f26af1740a59f96342079f344d5
Boot ID: d2ba65933cb2485d8e16f59321501cae
Operating System: Fedora 32 (Thirty Two)
CPE OS Name: cpe:/o:fedoraproject:fedora:32
Kernel: Linux 5.6.16-300.fc32.x86_64
Architecture: x86-64
➜ dotnet-core-sample uname -a
Linux localhost.localdomain 5.6.16-300.fc32.x86_64 #1 SMP Thu Jun 4 18:08:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment