chore: Adding image via props file

This commit is contained in:
Nick Randolph 2023-07-04 23:14:11 +10:00 коммит произвёл Martin Zikmund
Родитель 6edfab3b06
Коммит 373fb51ced
5 изменённых файлов: 33 добавлений и 45 удалений

Просмотреть файл

@ -0,0 +1,24 @@
<Project>
<ItemGroup>
<None Remove="Assets\dotnet_bot_assets.png" />
<None Remove="Assets\Images\dotnet_bot_assets_images.png" />
<None Remove="dotnet_bot.png" />
<Content Include="Assets\**" />
<Content Include="Images\**" />
<Content Include="dotnet_bot.png" />
<Content Include="..\ReferenceImages\dotnet_bot_link.png" Link="dotnet_bot_link.png" />
<Content Include="..\ReferenceImages\dotnet_bot_targetpath.png" Link="dotnet_bot_targetpath.png" TargetPath="dotnet_bot_targetpath.png" />
<Content Include="..\ReferenceImages\dotnet_bot_link_targetpath.png" TargetPath="dotnet_bot_link_targetpath.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_assets.png" Link="Assets\dotnet_bot_link_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_targetpath_assets.png" Link="Assets\dotnet_bot_targetpath_assets.png" TargetPath="Assets\dotnet_bot_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_targetpath_assets.png" TargetPath="Assets\dotnet_bot_link_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_assets_images.png" Link="Assets\Images\dotnet_bot_link_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_targetpath_assets_images.png" Link="Assets\Images\dotnet_bot_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_link_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_images.png" Link="Images\dotnet_bot_link_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_targetpath_images.png" Link="Images\dotnet_bot_targetpath_images.png" TargetPath="Images\dotnet_bot_targetpath_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_targetpath_images.png" TargetPath="Images\dotnet_bot_link_targetpath_images.png" />
</ItemGroup>
</Project>

Просмотреть файл

@ -87,11 +87,6 @@
<PRIResource Include="Resources\**\*.resw" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\**" />
<Content Include="Images\**" />
</ItemGroup>
<Target Name="ValidateLocalAssets" AfterTargets="Build" Condition="'$(TargetFramework)'!=''">
<Message Text="Validating local assets" Importance="high" />
<Error Condition="!Exists('$(OutputPath)Uno.UI.RuntimeTests\Assets\TransientAsset01.txt')" Text="$(OutputPath)uno.ui.runtimetests\Assets\TransientAsset01.txt" />
@ -123,20 +118,5 @@
</Page>
</ItemGroup>
<ItemGroup>
<Content Include="..\ReferenceImages\dotnet_bot_link.png" Link="dotnet_bot_link.png" />
<Content Include="..\ReferenceImages\dotnet_bot_targetpath.png" Link="dotnet_bot_targetpath.png" TargetPath="dotnet_bot_targetpath.png" />
<Content Include="..\ReferenceImages\dotnet_bot_link_targetpath.png" TargetPath="dotnet_bot_link_targetpath.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_assets.png" Link="Assets\dotnet_bot_link_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_targetpath_assets.png" Link="Assets\dotnet_bot_targetpath_assets.png" TargetPath="Assets\dotnet_bot_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_targetpath_assets.png" TargetPath="Assets\dotnet_bot_link_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_assets_images.png" Link="Assets\Images\dotnet_bot_link_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_targetpath_assets_images.png" Link="Assets\Images\dotnet_bot_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_link_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_images.png" Link="Images\dotnet_bot_link_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_targetpath_images.png" Link="Images\dotnet_bot_targetpath_images.png" TargetPath="Images\dotnet_bot_targetpath_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_targetpath_images.png" TargetPath="Images\dotnet_bot_link_targetpath_images.png" />
<Content Include="dotnet_bot.png" />
</ItemGroup>
<Import Project="ImageImport.props" />
</Project>

Просмотреть файл

@ -89,4 +89,6 @@
<Import Project="..\SourceGenerators\Uno.UI.SourceGenerators\Content\Uno.UI.SourceGenerators.props" />
<Import Project="..\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets" Condition="'$(SkipUnoResourceGeneration)' == '' " />
<Import Project="ImageImport.props" />
</Project>

Просмотреть файл

@ -79,4 +79,9 @@
<ItemGroup>
<Compile Include="Tests\Windows_UI_Xaml_Controls\HtmlElementAttributeTests\Given_HtmlElementAttribute.Wasm.cs" />
</ItemGroup>
<Import Project="..\SourceGenerators\Uno.UI.SourceGenerators\Content\Uno.UI.SourceGenerators.props" />
<Import Project="..\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets" Condition="'$(SkipUnoResourceGeneration)' == '' " />
<Import Project="ImageImport.props" />
</Project>

Просмотреть файл

@ -54,30 +54,6 @@
<ProjectReference Include="..\Uno.UI.RemoteControl\Uno.UI.RemoteControl.netcoremobile.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\**" />
<Content Include="Images\**" />
</ItemGroup>
<ItemGroup>
<None Remove="Assets\dotnet_bot_assets.png" />
<None Remove="Assets\Images\dotnet_bot_assets_images.png" />
<None Remove="dotnet_bot.png" />
<Content Include="..\ReferenceImages\dotnet_bot_link.png" Link="dotnet_bot_link.png" />
<Content Include="..\ReferenceImages\dotnet_bot_targetpath.png" Link="dotnet_bot_targetpath.png" TargetPath="dotnet_bot_targetpath.png" />
<Content Include="..\ReferenceImages\dotnet_bot_link_targetpath.png" TargetPath="dotnet_bot_link_targetpath.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_assets.png" Link="Assets\dotnet_bot_link_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_targetpath_assets.png" Link="Assets\dotnet_bot_targetpath_assets.png" TargetPath="Assets\dotnet_bot_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\dotnet_bot_link_targetpath_assets.png" TargetPath="Assets\dotnet_bot_link_targetpath_assets.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_assets_images.png" Link="Assets\Images\dotnet_bot_link_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_targetpath_assets_images.png" Link="Assets\Images\dotnet_bot_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Assets\Images\dotnet_bot_link_targetpath_assets_images.png" TargetPath="Assets\Images\dotnet_bot_link_targetpath_assets_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_images.png" Link="Images\dotnet_bot_link_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_targetpath_images.png" Link="Images\dotnet_bot_targetpath_images.png" TargetPath="Images\dotnet_bot_targetpath_images.png" />
<Content Include="..\ReferenceImages\Images\dotnet_bot_link_targetpath_images.png" TargetPath="Images\dotnet_bot_link_targetpath_images.png" />
<Content Include="dotnet_bot.png" />
</ItemGroup>
<ItemGroup>
<PRIResource Include="Resources\**\*.resw" />
</ItemGroup>
@ -121,4 +97,5 @@
<Import Project="..\SourceGenerators\Uno.UI.SourceGenerators\Content\Uno.UI.SourceGenerators.props" />
<Import Project="..\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets" Condition="'$(SkipUnoResourceGeneration)' == '' " />
<Import Project="ImageImport.props" />
</Project>