C
C#•4mo ago
Pannekoekje

Target multiple architectures at once

Hey guys, I have an app I want to publish for linux-x64 and linux-arm64. I'm using the "RunTimeIdentifier" option in the .csproj file, I tried linux-x64;linux-arm64 but this didn't work. Can't really find an answer online, is this not possible?
10 Replies
Pobiega
Pobiega•4mo ago
you can specify it multiple times when using the CLI option not sure about the csproj property
Pannekoekje
Pannekoekje•4mo ago
Ah, the would work 🙂 Let me try
Pobiega
Pobiega•4mo ago
-r linux-x64 -r linux-arm64 at least I think thats how it worked alternatively, make a bash/powershell/whatever script file that runs publish multiple times, once for each RID
Pannekoekje
Pannekoekje•4mo ago
I'm running it in a CI/CD I would like to check if consolidating the commands lowers the build time " Option '-r' expects a single argument but 3 were provided." Seems like not anymore 🙂
Pobiega
Pobiega•4mo ago
aww
Pannekoekje
Pannekoekje•4mo ago
Oh well, thx anyways 🙂
lycian
lycian•4mo ago
You need "RuntimeIdentifiers" with an S on the end
lycian
lycian•4mo ago
GitHub
razor/src/Razor/src/rzls/rzls.csproj at 68f3e8c9bfa73160d3c5a791eac...
Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code. - dotnet/razor
lycian
lycian•4mo ago
You ignore the vertical build stuff there
Pannekoekje
Pannekoekje•3mo ago
I see, thanks !
Want results from more Discord servers?
Add your server
More Posts
How to add additional headers/columns to CSV file?Using CSVHelper to manipulate a CSV file but when I try to add additional columns of information I gJWT refreshing + validatin/invalidating infinite error throwingHey, I have implemented a JWT refresh method (worked ast some point and then I tried adding invalida.NET 8 Simple Cookie AuthenticationHello, I am a bit confused about simple Cookie Authentication in .net 8 I have the following in my P✅ Hey, I am getting this error in VS code whenever I am trying to use a C# file.System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {177F0C4A✅ Creating interactive objects in BlazorSo i decided to pick up Blazor and to that end, I decided to port a winforms game i made to a blazori need to press q und left click at the exact same time so i press y and it press both of them pi need to press q und left click at the exact same time so i press y and it press both of them pAvoiding circular references in navigation propertiesHi guys 🙂 i have a question, let's say i have two entities with a one to one relationship, and botHow to bind REST API and business logic ?Hello, I have a console app (core application), which is simulating ground traffic in aerodrome, butHello I try to solve exam task can you help me please my code condition: https://pastebin.com/rYg28CWhy is my SIMD code slower than the scalar version?I wrote the following to learn more about simd - it tries to find a substring https://paste.mod.gg