User Tag List

Results 1 to 4 of 4

Thread: PNG Image-related error message.

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PNG Image-related error message.

    Hi,

    Whenever I try to test something on my phone, this message shows up:

    'An exception of type 'System.ArgumentNullException' occurred in Microsoft.Xna.Framework.Graphics.ni.dll but was not handled in user code

    If there is a handler for this exception, the program may be safely continued.'

    If I remove .PNG images from the project, it suddenly works.

    Why is this happening, and how do I work around it?

    Thanks!

  2. #2
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Cyberbeard View Post
    Hi,

    Whenever I try to test something on my phone, this message shows up:

    'An exception of type 'System.ArgumentNullException' occurred in Microsoft.Xna.Framework.Graphics.ni.dll but was not handled in user code

    If there is a handler for this exception, the program may be safely continued.'

    If I remove .PNG images from the project, it suddenly works.

    Why is this happening, and how do I work around it?

    Thanks!

    EDIT: Solved it, you may delete this thread.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Can you tell us (and me in particular) what it was?

  4. #4
    Clicker Multimedia Fusion 2Android Export ModuleXNA Export Module
    Cyberbeard's Avatar
    Join Date
    Aug 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Francois View Post
    Can you tell us (and me in particular) what it was?
    I wish I could. I've run into many challenges in the last week while learning the XNA exporter, so this is one drop in an ocean.

    But I can say that many of the troubles I ran into were caused by saving the XNA project incorrectly, trying to debug the project while it was still open in an old version, and silly things like that. So I probably solved it by simply doing the process correctly.

    ... and btw, my process is:

    * Save the game as an XNA Phone Project in MMF, into a folder where I keep my work-in-progress XNA project (simply 'replace' the old version with every new iteration of the game).

    * Edit the .csproj file of the project (found easily by searching the folder for csproj) as recommended in this thread: http://community.clickteam.com/showthread.php?t=73925

    * Open the project in MS Visual Express for Windows Phone (free if you register).

    * Run it on my device.

Similar Threads

  1. Uninformative error message
    By Phi in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 21st June 2012, 03:31 AM
  2. Error message on build
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 4th January 2011, 10:39 PM
  3. Strange error message
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 16th March 2009, 01:36 AM
  4. Error message
    By johnwheeler in forum Install Creator and Patch Maker
    Replies: 4
    Last Post: 13th January 2009, 10:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •