DEV Community

Discussion on: Why doesn't the "any" option work for the "-r" flag of .NET publish?

Collapse
 
fahminlb33 profile image
Fahmi Noor Fiqri • Edited

I don't think that you can use '-r any' with self-contained option simultaneously, because to produce a self-contained .NET app you'll need to specify an exact target platform.

I'll find the doc and link it here

Collapse
 
baenencalin profile image
Calin Baenen

I assume this is because of the way applications actually work?

Collapse
 
baenencalin profile image
Calin Baenen • Edited

any doesn't work regardless of if it's self-contained or not.