Context viewer dosen't work with any PROP item

Jul 22, 2013 at 1:13 PM
Edited Jul 22, 2013 at 1:13 PM
First, I thanks to project founder for your Great work! :D

I downloaded the source, build and run it. It works fine.
But when I selected any PROP type items in any packages, the context viewer shows about System.Reflection.ReflectionTypeLoadException.

The exception is come from PropertyFactory's constructor, line 79.

I don't know why, but hope you have any idea to fix it. :/

Just for your reference, I have Korean-localized assets.
Jan 24, 2014 at 2:36 PM
Edited Jan 24, 2014 at 2:41 PM
First of all id like to say its always great to see someone take the effort to create such a work and give us all the goodies of a simgame :)

But I think I have this same issue. when i follow the basic tutorial, and like this guy above says click any PROP filetype, the context viewer has a red text saying:

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Gibbed.Spore.Properties.PropertyFactory..ctor()
at Gibbed.Spore.Properties.PropertyFactory.get_Singleton()
at Gibbed.Spore.Properties.PropertyFile..ctor()
at SimCityPak.ViewPropertyFile.UserControl_DataContextChanged(Object sender, DependancyPropertyChangedEventArgs e)

also when selecting RW4 filetypes SimCityPack immidiatly stops working ...

Windows 7 x64 SP1
MS Visual C++ 2005 8.0.61001
MS Visual C++ 2005 x64 8.0.61000
MS Visual C++ 2008 x64 9.0.30729.17
MS Visual C++ 2008 x64 9.0.30729.4148
MS Visual C++ 2008 x64 9.0.30729.6161
MS Visual C++ 2008 x86 9.0.30729.17
MS Visual C++ 2008 x86 9.0.30729.4148
MS Visual C++ 2008 x86 9.0.30729.6161
MS Visual C++ 2010 x64 10.0.40219
MS Visual C++ 2010 x86 10.0.40219

I have the same issues on version 0108 & 0200 of SimCityPack

dont know if this is helpfull or something but here you go ....
Jan 30, 2014 at 10:44 PM
Hey guys,

I've also noticed that a number of actions crashes the software in Version 0200 on Windows 7 Ultimate (tested on two separate machines):
  • Importing a DDS file to replace an existing texture
  • Exporting a DDS file, then importing that exact same file with no modification
  • Exporting 3ds Max Material Library
This is a great piece of software, just sharing the issues I have found. Looking forward to the next release!
Apr 4, 2014 at 9:44 AM
need install xna4.0,WTF!!!
Apr 17, 2014 at 1:58 PM
No disrespect intended, but I'm glad I'm not the only one with this problem with PROP.

Thanks for designing the tool by the way
Apr 27, 2014 at 9:19 AM
For those of you receiving the aforementioned crash, please download and install the Microsoft XNA Framework Redistributable 4.0 which is what is required to be able to read the PROP files. These files are in XML format, and the application depends on this Framework to be able to read and write to the XML.

Framework available at http://www.microsoft.com/en-us/download/details.aspx?id=20914
Coordinator
May 8, 2014 at 2:03 PM
I'm hoping to fix this someday, but this would require a few changes to how the property files are loaded in the first place. For the time being, downloading and installing XNA solves the problem.