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

Create a RPM for specific project in solution #242

Open
Motke84 opened this issue Aug 3, 2023 · 1 comment
Open

Create a RPM for specific project in solution #242

Motke84 opened this issue Aug 3, 2023 · 1 comment

Comments

@Motke84
Copy link

Motke84 commented Aug 3, 2023

Hi,

I am trying to create RPM packages for a specific project in the solution. I am using the msbuild command on the solution file, like this:

dotnet msbuild "C:\repo\repo.sln" /t:CreateRpm ...

This command creates RPM packages for all my projects. However, I am wondering if there is a way to specify only the projects that I need to create RPM packages for. Is there a way to do this?

@sbannikov
Copy link

sbannikov commented Aug 5, 2023

as far as I know, you can use such command:

dotnet rpm --output <output-dir> <projectfile>.csproj

for Debian packaging it's working

alternate method:

dotnet msbuild "C:\repo\specificProject.csproj" /t:CreateRpm ...

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

2 participants