Skip to content

Instantly share code, notes, and snippets.

@tomspilman
Created April 4, 2014 22:29
Show Gist options
  • Select an option

  • Save tomspilman/9984323 to your computer and use it in GitHub Desktop.

Select an option

Save tomspilman/9984323 to your computer and use it in GitHub Desktop.
// Replacing this...
public override string GetRuntimeReader(TargetPlatform targetPlatform)
{
var type = typeof(Texture2DReader);
var readerType = type.Namespace + ".Texture2DReader, " + type.Assembly.FullName;
return readerType;
}
// With this...
public override string GetRuntimeReader(TargetPlatform targetPlatform)
{
return "Microsoft.Xna.Framework.Content.Texture2DReader, Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment