Hello @ohumidk ,
I'm not sure which IDE you are using (VS for Mac or VS2022 on Windows), some file templates are not ready yet. You could specify the BundleResource file in your .csproj
, refer to
<ItemGroup>
<BundleResource Include="Resources\XXX.png" />// I add the image in Resources, please enter your file path
</ItemGroup>
--------Update--------
If you are trying to build a MAUI app, as in cross-platform, why do you need to select a resource as a BundleResource
? What kind of item are you trying to set?
I see you reported this issue at https://github.com/dotnet/maui/issues/7938, please follow the progress.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.