System.Resources.MissingManifestResourceException
by David Reynolds · in Torque X Platformer Kit · 07/24/2008 (8:26 am) · 11 replies
I just built the x86 debug version of the demo. When I run the project I get the following exception:
System.Resources.MissingManifestResourceException was unhandled
Message="Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"GarageGames.Torque.EngineData.EngineData_x86.resources\" was correctly embedded or linked into assembly \"GarageGames.TorqueX.Framework\" at compile time, or that all the satellite assemblies required are loadable and fully signed."
Source="mscorlib"
StackTrace:
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at Microsoft.Xna.Framework.Content.ResourceContentManager.OpenStream(String assetName)
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action'1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
at GarageGames.Torque.Core.ResourceManager.LoadEffect(String asset)
at GarageGames.Torque.Materials.RenderMaterial._LoadEffect()
at GarageGames.Torque.Materials.RenderMaterial.SetupEffect(SceneRenderState srs, MaterialInstanceData materialData)
at GarageGames.Torque.Materials.MaterialManager.PreloadMaterials(SceneRenderState srs)
at GarageGames.Torque.Core.Xml.TorqueSceneData.Load(String filename, List'1 extraAssemblies)
at GarageGames.Torque.Core.Xml.TorqueSceneData.Load(String filename)
at GarageGames.Torque.GameUtil.SceneLoader.Load(String sceneFileName)
at GarageGames.Torque.PlatformerDemo.Game.BeginRun() in c:\TorqueX\Projects\PlatformerDemo1\PlatformerDemo1\Game\Game.cs:line 165
at Microsoft.Xna.Framework.Game.Run()
at GarageGames.Torque.PlatformerDemo.GameStarter.Main(String[] args) in c:\TorqueX\Projects\PlatformerDemo1\PlatformerDemo1\Game\Main.cs:line 24
What am I doing wrong?
System.Resources.MissingManifestResourceException was unhandled
Message="Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"GarageGames.Torque.EngineData.EngineData_x86.resources\" was correctly embedded or linked into assembly \"GarageGames.TorqueX.Framework\" at compile time, or that all the satellite assemblies required are loadable and fully signed."
Source="mscorlib"
StackTrace:
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at Microsoft.Xna.Framework.Content.ResourceContentManager.OpenStream(String assetName)
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action'1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
at GarageGames.Torque.Core.ResourceManager.LoadEffect(String asset)
at GarageGames.Torque.Materials.RenderMaterial._LoadEffect()
at GarageGames.Torque.Materials.RenderMaterial.SetupEffect(SceneRenderState srs, MaterialInstanceData materialData)
at GarageGames.Torque.Materials.MaterialManager.PreloadMaterials(SceneRenderState srs)
at GarageGames.Torque.Core.Xml.TorqueSceneData.Load(String filename, List'1 extraAssemblies)
at GarageGames.Torque.Core.Xml.TorqueSceneData.Load(String filename)
at GarageGames.Torque.GameUtil.SceneLoader.Load(String sceneFileName)
at GarageGames.Torque.PlatformerDemo.Game.BeginRun() in c:\TorqueX\Projects\PlatformerDemo1\PlatformerDemo1\Game\Game.cs:line 165
at Microsoft.Xna.Framework.Game.Run()
at GarageGames.Torque.PlatformerDemo.GameStarter.Main(String[] args) in c:\TorqueX\Projects\PlatformerDemo1\PlatformerDemo1\Game\Main.cs:line 24
What am I doing wrong?
#2
09/02/2008 (8:58 pm)
I am also facing the the same problems as u guys.. is there someone out there that manage to solve this problem? help would be very much appreciated
#3
I now have installed TxPro, TXB (new purchase), VS 2005 C#, XNA 2.0.
When I browse to the asset in content, there are a few fields left blank:
Asset Name: demo_modified
Build Action: Content
Content Importer: (blank)
Content Processor: (blank)
Copy to Output directory: Copy if newer
File Name: demo_modified.txscene
Full Path: C:\projects\xna\PlatformerDemo1\PlatformerDemo1\Game\data\levels\demo_modified.txscene
09/02/2008 (10:22 pm)
Still haven't resolved it. I now have installed TxPro, TXB (new purchase), VS 2005 C#, XNA 2.0.
When I browse to the asset in content, there are a few fields left blank:
Asset Name: demo_modified
Build Action: Content
Content Importer: (blank)
Content Processor: (blank)
Copy to Output directory: Copy if newer
File Name: demo_modified.txscene
Full Path: C:\projects\xna\PlatformerDemo1\PlatformerDemo1\Game\data\levels\demo_modified.txscene
#4
after that, i install torquex 2.0 first.
followed by platformer 2.0.
now it is working fine for me. help my post can help :)
09/02/2008 (11:25 pm)
I unintall both torquex builder 2.0 and platformer 2.0.after that, i install torquex 2.0 first.
followed by platformer 2.0.
now it is working fine for me. help my post can help :)
#6
For your first error, if you click on the Level file and then in it's properties turn "Build Action" to "None". Not sure about the main issue though.
09/03/2008 (1:00 pm)
@emoksFor your first error, if you click on the Level file and then in it's properties turn "Build Action" to "None". Not sure about the main issue though.
#7
but following Temasek Polytechnic's instructions, it works now! Thanks everyone for their help!
09/04/2008 (1:03 am)
Thanks, Vishal. Tried that though with no luck. but following Temasek Polytechnic's instructions, it works now! Thanks everyone for their help!
#8
09/04/2008 (8:38 pm)
So you can't run just the platformer kit on its own then?
#9
01/17/2009 (3:08 pm)
I am having this exact same problem. I uninstalled everything, and then reinstalled everything in order and I still cannot get it to work. I am dying for help, please help :(
#10
01/18/2009 (8:44 pm)
I figured out the problem, the website had an outdated version of Torque X that I d/led, I found Torque X 2.0 and now it works
#11
Warning 4 Project item 'levels\tutorial_level_2.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it.
Where exactly do I go to fix this.. Im a newbie.. please help
01/21/2010 (4:26 pm)
Im having a similar error.. It shows this when I go to build....Warning 4 Project item 'levels\tutorial_level_2.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it.
Where exactly do I go to fix this.. Im a newbie.. please help
Torque Owner Erol Oksuz
I also get these warnings:
The same thing happens for the PlatformerStarterGame, only with 1 warning for 1 file. Exceptions says the same thing, only uses Game.cs:line 98 instead of 165.
I'm using the platformer kit, TX Pro, Visual Studio 2005 express and XNA 2.0. The samples that came with TX Pro compile and run fine.
Any help is appreciated! Really excited to get going!