AndyB
AndyB
CC#
Created by AndyB on 1/22/2024 in #help
Cleaning out Maui Template
Ok, thank you for your answer!
3 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
I don't know what the hell I want, lol. Execpt that I want this show-stopper bug to be fixed and to be able to build for older Macs. The whole thing is hella confusing to me - frameworks, packages, etc.
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
Just found this, and it says that I can use <PackageReference> to specify a specific build. That might be easier?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
TY, but I realize now that it's probably still too soon. I don't see an update to dotnet-maui that includes this fix. https://github.com/dotnet/maui/releases/tag/8.0.6
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
I appreciate the advice, but maybe you have a link to how specifically to do this on MacOS - dotnet may be an alias, but not sure how to call it directly. I expect the download will be an installer with an .app file inside it. If you have a link on how to point dotnet to a different version on MacOS, I'd greatly appreciate it. Sorry to be such a newb
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
dunno, it has stuff like "<TargetFrameworks> and <PackageReference>, etc. If it's not an issue, then np. Still don't know how to do this on MacOS. You're saying "exe" and that's a Windows thing.
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
Isn't it going to choke on whatever settings I have in csproj?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
Ok, any idea how to do that on MacOS?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
Here's the bug I'm trying to see if it's been fixed. https://github.com/dotnet/maui/issues/19613
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
It's on MacOS
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
Sorry, I'm pretty green. I use VS code and CLI, I go to the folder that has my csproj and typically type "dotnet run". How do I choose which version?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
"just use"?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
TY. How do I use this download? i.e. how do I choose which .NET sdk to compile with?
42 replies
CC#
Created by AndyB on 1/22/2024 in #help
How to compile using a new build of .NET
I think they're also available as regular downloads, no? https://github.com/dotnet/installer/blob/main/README.md#installers-and-binaries There doesn't seem to be any date info, can you tell how to relate the build number to the date the build? I feel like the numbers are the same as the last time I looked. (version 8.0.200-preview.24064.2) Also, how does one switch between versions?
42 replies
CC#
Created by AndyB on 1/11/2024 in #help
Maui-Hybrid debug on iOS device using VS Code on Mac
Thank you, Andrew. I may do that.
8 replies
CC#
Created by AndyB on 1/11/2024 in #help
Maui-Hybrid debug on iOS device using VS Code on Mac
Ok, got it working. Turns out these curly braces are at the bottom right corner of VS Code, but ONLY when you have an .xml file open. I had to manually add a CFBundleIdentifier key to info.plist. Odd that Maui doesn't do that automatically, as it's right there in <ApplicationId> in the .csproj file..
8 replies
CC#
Created by AndyB on 1/11/2024 in #help
Maui-Hybrid debug on iOS device using VS Code on Mac
I read up on that page, and the instructions are terrible. e.g.
Debug to any target The .NET MAUI extension makes it easy to debug and deploy your app to your different target devices (Android, iOS, macOS and Windows). Just pick your device through the “Language Status” popup by hovering over the curly braces { }, selecting “Debug Target”, then starting a debug session (F5).
WHAT curly braces? Where's this "Language Status" popup?
8 replies
CC#
Created by AndyB on 1/11/2024 in #help
Maui-Hybrid debug on iOS device using VS Code on Mac
I have that extension. I really feel like I'm the only person out there trying to create C# apps on a Mac. lol.
8 replies
CC#
Created by AndyB on 12/27/2023 in #help
Resources/Raw location in Maui App
Well, looks like Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "../Resources") will do the trick. Who woulda thunk? 😉
2 replies
CC#
Created by AndyB on 8/15/2023 in #help
❔ Is `where` still used?
??
38 replies