-
Notifications
You must be signed in to change notification settings - Fork 85
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
.NET 7 and .NET 8 support #243
Comments
Fixed the MSB4057 error by removing Directory.Build.Props file in my project (where <ItemGroup>
<PackageReference Include="Packaging.Targets" Version="0.1.*" />
</ItemGroup> Now packages are correctly building by |
I am attempting to do the same, however I need to use the --self-contained true switch to be able to include the Dotnet8 runtimes. When doing this, the net6 runtime is included in the output. Has anyone found any work around for this scenario? |
Very strange, as for my project, it's working fine. Inspect Also I've tried to build it using default |
Using this I can create a .deb file on net8 , however, it won't install on Debian 12 because it will have a dependency on libicu <70 & openssl <1.1 This does not correspond with what should be included in dotnet 8 (openssl 3 & libicu 73) So the tool requires an update, I'm guessing. |
Also affected by this. It'd be great to be able to build RPMs with dotnet 8.0 |
Hi, all. Found that
dotnet-packaging
utilities v0.1.220 does not working with .NET 7 and 8 SDKs.First, they're requiring .NET 6.0 SDK to at least run, otherwise the message appear:
With .NET SDK 6 installed, all net6.0-targeted apps are building and packaging well.
Second, if change
TargetFramework
tonet8.0
ornet7.0
, the build breaks:Strange that MSBuild still looks for .NET SDK 6 by
dotnet deb
, but that's is. Plaindotnet publish
is working correctly.If try to set the framework version by command line (
dotnet deb -c Release -f net8.0
) other strange error appear:If set multiple dotnet versions,
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFramework>
all three are building, but only a build for .NET 6 gets packed to deb/rpm/zip, other two are ignored by dotnet-packaging.Hope, the maintainer of the project will remember about it, and add support for newer .NET versions. :)
Best regards.
The text was updated successfully, but these errors were encountered: