Closed wagesj45 closed 4 years ago
Did you restart Visual Studio after you installed the NuGet package?
Yes. Restarted Visual Studio, updated to latest version and started again, restarted Windows, restarted everything. It did not show up or include the build action when I tried installing again.
Very odd. I can't really do much more about that, I've already defined the AvailableItemName for it, the IDE needs to do the rest.
You can of course still manually edit your .csproj and add your items:
<ItemGroup>
<SharedImage Include="Icons\cog.svg" BaseSize="100,100" />
</ItemGroup>
When installing the Nuget package, both Stable 0.1.0 and Preview 0.1.0-8, the
SharedImage
build action is not included in the base Xamarin Forms project. It is included on the*.Android
,*.iOS
, and*.UWP
projects.