diff --git a/Ooui/UI.cs b/Ooui/UI.cs
index 49593ab..613e54a 100644
--- a/Ooui/UI.cs
+++ b/Ooui/UI.cs
@@ -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 ());
}
diff --git a/PlatformTests/iOSTests/iOSTests.csproj b/PlatformTests/iOSTests/iOSTests.csproj
index bb2e06b..a29b8ad 100644
--- a/PlatformTests/iOSTests/iOSTests.csproj
+++ b/PlatformTests/iOSTests/iOSTests.csproj
@@ -202,5 +202,11 @@
Tests\UITests.cs
+
+
+ Client.js
+ Ooui.Client.js
+
+
\ No newline at end of file