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

Runtime property is missing for 'dotnet pack', 'dotnet run' and 'dotnet clean' #2560

Closed
daveMueller opened this issue May 28, 2019 · 0 comments · Fixed by #2561
Closed

Runtime property is missing for 'dotnet pack', 'dotnet run' and 'dotnet clean' #2560

daveMueller opened this issue May 28, 2019 · 0 comments · Fixed by #2561
Milestone

Comments

@daveMueller
Copy link
Contributor

daveMueller commented May 28, 2019

The dotnet pack, run, clean settings are missing the RunTime Property which is needed for RID build.
e.g.
https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNetCore/Clean/DotNetCoreCleanSettings.cs

dotnet clean -h
Usage: dotnet clean [options] <PROJECT>

Arguments:
  <PROJECT>   The project file to operate on. If a file is not specified, the command will search the current directory for one.

Options:
  -h, --help                            Show command line help.
  -o, --output <OUTPUT_DIR>             The directory containing the build artifacts to clean.
  -f, --framework <FRAMEWORK>           The target framework to clean for. The target framework must also be specified in the project file.
  -r, --runtime <RUNTIME_IDENTIFIER>    The target runtime to clean for.
  -c, --configuration <CONFIGURATION>   The configuration to clean for. The default for most projects is 'Debug'.
  -v, --verbosity <LEVEL>               Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].

This is related to #2556.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants