Skip to content
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

error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): #1851

Open
Martinfx opened this issue Jun 9, 2024 · 0 comments

Comments

@Martinfx
Copy link

Martinfx commented Jun 9, 2024

Brief Description

Hi,
i tried next build but he cannot found Microsoft.NETCore.App.Host.freebsd-x64

I have pack in /usr/local/dotnet

ls packs/
.  ..  Microsoft.AspNetCore.App.Ref  Microsoft.AspNetCore.App.Runtime.freebsd-x64  Microsoft.NETCore.App.Host.freebsd-x64  Microsoft.NETCore.App.Ref  Microsoft.NETCore.App.Runtime.freebsd-x64  NETStandard.Library.Ref


/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/build/premake/premake5
Directory llvm-6eb36a-bsd-x64-Release already exists.
Generating CppSharp build configuration file 'BuildConfig.cs'
Building configurations...
Running action 'vs2022'...
Done (46ms).
  Determining projects to restore...
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/StandardLib/StandardLib.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CppParser/Bootstrap/CppSharp.Parser.Bootstrap.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CLI/CppSharp.CLI.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/Encodings/Encodings.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/NamespacesDerived/NamespacesDerived.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/CLI/CLI.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CppParser/ParserGen/CppSharp.Parser.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/CSharp/CSharp.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/Common/Common.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/VTables/VTables.Gen.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): nuget.org [/usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/CppSharp.sln]
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/CLI/CLI.Gen.csproj (in 851 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/Common/Common.Gen.csproj (in 851 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/Encodings/Encodings.Gen.csproj (in 929 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CLI/CppSharp.CLI.csproj (in 850 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CppParser/Bootstrap/CppSharp.Parser.Bootstrap.csproj (in 850 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/CSharp/CSharp.Gen.csproj (in 929 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/src/CppParser/ParserGen/CppSharp.Parser.Gen.csproj (in 850 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/StandardLib/StandardLib.Gen.csproj (in 851 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/VTables/VTables.Gen.csproj (in 929 ms).
  Failed to restore /usr/home/maxfx/Documents/FreeBSD-Ports/cppsharp/work/CppSharp-1.1.2/tests/dotnet/NamespacesDerived/NamespacesDerived.Gen.csproj (in 929 ms).
  16 of 26 projects are up-to-date for restore.

OS: Windows / OS X / Linux (include version and/or distro)

uname -a
FreeBSD hades 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 GENERIC amd64

Used headers
Used settings

sudo ./build.sh -configuration Release -platform x64

Target: MSVC/GCC/Clang

FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367)
Target: x86_64-unknown-freebsd13.3
Thread model: posix
InstalledDir: /usr/bin

Other settings

Stack trace or incompilable generated code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant