Support for self-contained executable #129

Closed
opened 2026-01-29 16:30:14 +00:00 by claunia · 1 comment
Owner

Originally created by @RomanLeonB on GitHub (Sep 15, 2022).

At the moment i create a RPM package with dotnet msbuild and configure self-contained executable in the *.csproj file.

However, it would be good if i can run dotnet publish --self-contained, because of the Jenkins .NET SDK Support (s. https://www.jenkins.io/doc/pipeline/steps/dotnet-sdk/). Maybe it can be done in the PackagingRunner.cs with msbuildArguments.Append().
What is there to be said against it?

Thanks in advance.

Originally created by @RomanLeonB on GitHub (Sep 15, 2022). At the moment i create a RPM package with `dotnet msbuild ` and configure self-contained executable in the *.csproj file. However, it would be good if i can run `dotnet publish --self-contained`, because of the Jenkins .NET SDK Support (s. https://www.jenkins.io/doc/pipeline/steps/dotnet-sdk/). Maybe it can be done in the `PackagingRunner.cs` with `msbuildArguments.Append()`. What is there to be said against it? Thanks in advance.
Author
Owner

@RomanLeonB commented on GitHub (Sep 20, 2022):

Done

@RomanLeonB commented on GitHub (Sep 20, 2022): Done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#129