Open ghost opened 8 years ago
this is my jsilconfig:
var jsilConfig = { printStackTrace: false, webgl2d: true, xna: 4, readOnlyStorage: true, localStorage: true, manifests: [ "Thunderhead.exe", "Content/ThunderheadContent.contentproj" ],
showProgressBar: true,
showStats: true,
scriptRoot: "",
libraryRoot: "JSIL/lib/",
fileRoot: "",
contentRoot: "Content/"
};
The manifest is produced when JSILc compiles your game. Make sure you compiled the solution file, not the exe file.
when i compile the solution file, i get msbuild errors, though it builds fine in VS2015 Community.
C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio\v4.0\Microsoft.Xna.GameStudio.ContentPipeline.targets(78,5): error MSB4062: The "BuildContent" task could not be loaded from the assembly Microsoft.Xna.Framework.Content.Pipeline, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553. Could not load file or assembly 'Microsoft.Xna.Framework.Content.Pipeline, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553' or one of its dependencies. The system cannot find the file specified. Confirm that the
What can i run on JSIL other than XNA? are Winforms/System.Drawing applications supported?
There's rough support for cross-compiling the FNA framework and using an emscripten-compiled version of SDL2: https://github.com/sq/SampleFNA That will provide most of what you would get out of using the regular XNA framework (and in fact, provides more functionality than the old XNA support does). But it's not completely ready for primetime...
Unhandled exception at http://localhost/devbox/jsil/thhd/JSIL/lib/XNA/Content.js line 47: Uncaught Microsoft.Xna.Framework.Content.ContentLoadException: The asset 'thunderhead_font_01' is not in the asset manifest.
how do i register the asset manifest?