Skip to content

Commit c356e6e

Browse files
committed
Move "index.html" to Xamarin.Forms project and change BuildAction to "Embedded resource".
1 parent 8c5ee7e commit c356e6e

5 files changed

Lines changed: 8 additions & 14 deletions

File tree

‎src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample.Android/EmbedIO.Forms.Sample.Android.csproj‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,5 @@
9898
<Name>EmbedIO.Forms.Sample</Name>
9999
</ProjectReference>
100100
</ItemGroup>
101-
<ItemGroup>
102-
<AndroidAsset Include="Assets\html\index.html" />
103-
</ItemGroup>
104101
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
105102
</Project>

‎src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample.iOS/EmbedIO.Forms.Sample.iOS.csproj‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,4 @@
158158
</ProjectReference>
159159
</ItemGroup>
160160
<ItemGroup />
161-
<ItemGroup>
162-
<BundleResource Include="Resources\html\index.html" />
163-
</ItemGroup>
164161
</Project>

‎src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample.iOS/Resources/html/index.html‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample.csproj‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
<DebugSymbols>true</DebugSymbols>
1010
</PropertyGroup>
1111

12+
<ItemGroup>
13+
<None Remove="html\index.html" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<EmbeddedResource Include="html\index.html" />
18+
</ItemGroup>
19+
1220
<ItemGroup>
1321
<PackageReference Include="Xamarin.Forms" Version="3.4.0.1008975" />
1422
<PackageReference Include="EmbedIO" Version="2.1.1" />

src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample.Android/Assets/html/index.html renamed to src/EmbedIO.Forms.Sample/EmbedIO.Forms.Sample/html/index.html

File renamed without changes.

0 commit comments

Comments
 (0)