Fix platform test project
This commit is contained in:
parent
2e5241f678
commit
f9cf53debc
|
@ -69,6 +69,8 @@ namespace Ooui
|
|||
// System.Console.WriteLine(" {0}", n);
|
||||
// }
|
||||
using (var s = asm.GetManifestResourceStream ("Ooui.Client.js")) {
|
||||
if (s == null)
|
||||
throw new Exception ("Missing Client.js");
|
||||
using (var r = new StreamReader (s)) {
|
||||
clientJsBytes = Encoding.UTF8.GetBytes (r.ReadToEnd ());
|
||||
}
|
||||
|
|
|
@ -202,5 +202,11 @@
|
|||
<Link>Tests\UITests.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="..\..\Ooui\Client.js">
|
||||
<Link>Client.js</Link>
|
||||
<LogicalName>Ooui.Client.js</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
</Project>
|
Loading…
Reference in New Issue