[Bug 279049] lang/dotnet cannot create executable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 May 2024 04:01:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279049 Bug ID: 279049 Summary: lang/dotnet cannot create executable. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: arrowd@FreeBSD.org Reporter: devosalain@ymail.com Assignee: arrowd@FreeBSD.org Flags: maintainer-feedback?(arrowd@FreeBSD.org) Installed lang/dotnet from package. Trying to compile a F# file and create an executable i get the error: dotnet publish Code: ``` MSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... /mnt/xxx_source/Languages_ok/fsharptut/01_exe/fsharp_test.fsproj : error NU1102: Unable to find package Microsoft.NETCore.App.Crossgen2.freebsd-x64 with version (= 8.0.0) /mnt/xxx_source/Languages_ok/fsharptut/01_exe/fsharp_test.fsproj : error NU1102: - Found 1 version(s) in Package source 1 [ Nearest version: 7.0.15 ] /mnt/xxx_source/Languages_ok/fsharptut/01_exe/fsharp_test.fsproj : error NU1102: - Found 0 version(s) in /usr/local/dotnet/sdk/8.0.100/FSharp/library-packs /mnt/xxx_source/Languages_ok/fsharptut/01_exe/fsharp_test.fsproj : error NU1102: - Found 0 version(s) in nuget.org ``` My fsproj file: ``` <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <PublishReadyToRun>true</PublishReadyToRun> <SelfContained>true</SelfContained> <PublishSingleFile>true</PublishSingleFile> <PublishTrimmed>true</PublishTrimmed> <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <OutputType>Exe</OutputType> <TrimMode>partial</TrimMode> <TargetFramework>net8.0</TargetFramework> <InvariantGlobalization>true</InvariantGlobalization> </PropertyGroup> <ItemGroup> <Compile Include="Program.fs" /> </ItemGroup> <ItemGroup> <PackageReference Include="FSharp.Data" Version="6.3.0" /> </ItemGroup> </Project> ``` -- You are receiving this mail because: You are the assignee for the bug.