you question is not clear. if you mean compiled resources, then share makes a good case. if you mean actual files, then they are copied to target folders at build time which will vary by project type. note: the project dll files (which are not small) get copied on build.
Where to locate reference files for multiple platforms in .NET 9.0 MAUI Blazor Hybrid & Web?
Stephen Braich
20
Reputation points
In Visual Studio 2022, the new version .NET 9.0 project template ".NET MAUI Blazor Hybrid and Web App" will create the following projects in a new solution:
- ProjectName
- ProjectName.Shared
- ProjectName.Web
Where would you put the resources? Currently, I have them in ProjectName under the following path:
Resources/raw
This works well for Windows, Android, and iPhone. But how do I access these for web? I would prefer they exist in the same location. In my particular use case, these are the same files I use for all 4 platforms. Some of them are large language models and I would rather not keep duplicates around.