dotnet publish multiple -r options
See original GitHub issueSteps to reproduce
Run dotnet publish -r win7-x86 -r win7-x64
Expected behavior
Publish to run for each of the specified RIDs
Actual behavior
dotnet : Unexpected value 'win7-x64' for option 'runtime'
Environment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-preview2-003118)
Product Information:
Version: 1.0.0-preview2-003118
Commit SHA-1 hash: 7ada53d523
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:13 (5 by maintainers)
Top Results From Across the Web
dotnet publish command - .NET CLI
The dotnet publish command accepts MSBuild options, such as -p for setting properties and -l to define a logger. For example, you can...
Read more >Publishing multiple .NET Core applications in a single ...
NET Core WPF Windows Application will publish. They will build, but they won't publish. If I move one of them to appear first...
Read more >How to publish multiple runtimes with dotnet cli to custom ...
I have a csproj file which contains a few target runtimes, and I was hoping to have a singular command I could run...
Read more >NET application publishing overview
Applications you create with .NET can be published in two different modes, and the mode affects how a user runs your app. Publishing...
Read more >Publishing a self-contained single-file .NET 5 executable
Assuming you want to target Windows: dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bit sad that 3 years later this still isn’t something that can be done easily from the command-line…
Well… add another 3 years…