this post was submitted on 23 Apr 2024
4 points (100.0% liked)

.NET

1454 readers
5 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 1 year ago
MODERATORS
4
submitted 5 months ago* (last edited 5 months ago) by SmartmanApps to c/dotnet
 

cross-posted from: https://programming.dev/post/13142039

I just created a couple of new MAUI libraries for the first time in a while, and when I've gone to link to them I've discovered neither has the shared folder there (I don't know if we still call them that in MAUI - that's what they were called in Xamarin). The 4 platform folders are there, but not the 5th one (screenshot from a different library, with all 5 folders there). I even deleted one and started again from scratch to be sure, and sure enough it was missing again. Does anyone know what is going on here? Is this a bug, or do I now link to dll's in a different folder? (I'm looking in bin\Release) This is using the current standard MAUI library template in VS.

top 1 comments
sorted by: hot top controversial new old
[–] SmartmanApps 1 points 5 months ago

Got quick feedback from Gerald on Mastodon. This is a change that went live with 8.0.3 in November (then we had all those fun and games with 8.0.3 not updating!), hence why the GA users are only just now running into it. If we need the folder - i.e. in order to have something to link to - then just manually add the net8.0 back into the csproj, do a dotnet restore, and then it will build.