The latest version at the time of this comment 6.0.100 breaks Microsoft.Data.SqlClient
with the error Strings.PlatformNotSupported_DataSqlClient
. Removing this package and using the dotnet-install.sh script to use version 6.0.101 fixes things. As @sarvasana - it would be nice to make this more dynamic by using the official script. But I have zero experience with AUR packaging, and therefore don't know how that would play with versioning requirements.
Search Criteria
Package Details: aspnet-targeting-pack-bin 9.0.4.sdk203-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dotnet-core-bin.git (read-only, click to copy) |
---|---|
Package Base: | dotnet-core-bin |
Description: | The ASP.NET Core targeting pack (binary) |
Upstream URL: | https://www.microsoft.com/net/core |
Keywords: | .net dotnet microsoft |
Licenses: | MIT |
Conflicts: | aspnet-targeting-pack, aspnet-targeting-pack-9.0 |
Provides: | aspnet-targeting-pack, aspnet-targeting-pack-9.0 |
Submitter: | Gr3q |
Maintainer: | Gr3q |
Last Packager: | Gr3q |
Votes: | 47 |
Popularity: | 0.39 |
First Submitted: | 2019-10-02 17:13 (UTC) |
Last Updated: | 2025-04-17 07:37 (UTC) |
Dependencies (1)
Required by (10)
- dotnet-sdk-6.0-bin (optional)
- dotnet-sdk-7.0-bin (optional)
- dotnet-sdk-8.0-bin (optional)
- dotnet-sdk-bin
- iceshrimp.net (requires aspnet-targeting-pack) (make)
- iceshrimp.net-git (requires aspnet-targeting-pack) (make)
- iceshrimp.net-pre (requires aspnet-targeting-pack) (make)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 Next › Last »
petep commented on 2021-12-15 00:47 (UTC) (edited on 2021-12-15 00:47 (UTC) by petep)
sarvasana commented on 2021-12-02 22:30 (UTC) (edited on 2021-12-02 22:35 (UTC) by sarvasana)
Would it not be easier for all dotnet packages in AUR to make use of dotnet-install scripts provided by Microsoft?
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
curl -sSL https://dot.net/v1/dotnet-install.sh | sudo bash /dev/stdin -c LTS --install-dir /usr/share/dotnet
sudo ln -sf /usr/share/dotnet/dotnet /usr/bin/dotnet
You can use that script to install LTS, Current or specific versions such as 3.1.
Honest question.
Gr3q commented on 2021-11-09 08:21 (UTC)
@Sejsel You are right, thank you for the fix. Pushed an update
Sejsel commented on 2021-11-09 02:20 (UTC) (edited on 2021-11-09 02:20 (UTC) by Sejsel)
To get this package to work properly after the .NET 6 update, I had to edit the PKGBUILD to also copy sdk-manifests
in package_dotnet-sdk-bin()
. The fixed version is cp -dr --no-preserve='ownership' sdk sdk-manifests templates "${pkgdir}"/usr/share/dotnet/
. Without this directory, msbuild throws exceptions complaining about those missing files.
amos commented on 2021-04-20 16:12 (UTC)
Cool, thanks! And thanks for maintaining this!
Gr3q commented on 2021-04-20 08:25 (UTC)
@amos fixed, now it can be used with the packages in the community repo
amos commented on 2021-04-19 14:04 (UTC)
@Gr3q Installing both the repository packages and these packages is sometimes necessary. For building .net 5 binaries I'm using these packages. However if I want to be able to build .net core 3 binaries they are not enough, I have to have the donjet-sdk-3.1 package from the repos, otherwise I get The framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
Is there a reason not to provide (and conflict) netstandard-targeting-pack
? This package does indeed provide that.
Regardless, as mentioned before: conflicting and providing netstandard-targeting-pack-bin
is redundant, this is already the name of this package.
SilentStoat commented on 2021-03-21 23:17 (UTC)
I'm kinda new to this so I might be confused, but it looks like PKGBUILD says that aspnet-runtime-bin, dotnet-runtime-bin, and dotnet-sdk-bin are in conflict with themselves.
Gr3q commented on 2021-03-12 08:15 (UTC)
@servime try install dotnet-host-bin, dotnet-runtime-bin and dotnet-sdk-bin all at once if your AUR manager doesn't handle split packages. use just use makepkg -si
after you cloned this repo.
@satcom886 .NET is .NET Core, it was simple renamed after 3.1.
k8ie commented on 2021-03-11 20:20 (UTC) (edited on 2021-03-11 20:21 (UTC) by k8ie)
@Gr3q Yes, let's add dotNET on Windows too, this is not confusing at all. Ok, so from what I understand:
dotNET Framework - Windows-only libraries and tools for running and developing dotNET programs.
dotNET - Pretty much the same thing, but cross-platform, also without a native ability to create GUIs on Linux (at least until MAUI gets released in v6)
dotNET Core - LTS version of the normal dotNET?
Pinned Comments
Gr3q commented on 2019-10-05 07:28 (UTC) (edited on 2021-02-13 09:06 (UTC) by Gr3q)
IMPORTANT INSTALLATION INFO (a reminder for myself as well):
For dotnet to work you need to EXPLICITLY install:
If you keep the install order in mind and you don't rely on pacman to resolve your dependencies you will be fine.
Longer explanation:
Every dotnet-sdk is dependent on a specific version of dotnet-runtime, this is built into dotnet.
Technically you only need the latest dotnet-sdk because it can build to any earlier versions.