Microsoft Game Technologies: XNA run time - System.IO.FileNotFoundException was unhandled

  • aiguy / 100 / Sun, 31 Jan 2010 12:54:00 GMT / Comments (3)
  • I have no problem building using XNA and C# 2005.

    When I try to "start new instance" I see the message below pointing to

    public Game1().

    I suppect the CRL cannot find the file? ANY help? Thanks.

    GEne

    System.IO.FileNotFoundException was unhandled

    Message="C:\\Documents and Settings\\Gene\\Game_Development\\XNA\\C"

    Source="System.Drawing"

    StackTrace:

    at System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index)

    at System.Drawing.Icon.ExtractAssociatedIcon(String filePath)

    at Microsoft.Xna.Framework.WindowsGameWindow.GetDefaultIcon()

    at Microsoft.Xna.Framework.WindowsGameWindow..ctor(Boolean allowUserResizing)

    at Microsoft.Xna.Framework.WindowsGameHost..ctor(Game game)

    at Microsoft.Xna.Framework.Game.EnsureHost()

    at Microsoft.Xna.Framework.Game..ctor()

    at WindowsGame1.Game1..ctor() in

    C:\Documents and

    Settings\Gene\Game_Development\XNA\C#_Turtorials\MyFristGame\MyFristGame\Game1.cs:line

    18

    at

    WindowsGame1.Program.Main(String[] args) in C:\Documents and

    Settings\Gene\Game_Development\XNA\C#_Turtorials\MyFristGame\MyFristGame\Program.cs:line

    12

  • Keywords:

    xna, run, time, system.io.filenotfoundexception, unhandled, microsoft, game

  • http://msdn.itags.org/microsoft-game/244590/«« Last Thread - Next Thread »»
    1. Moving to a different forum. What line of code does this fail on? Does it happen as soon as you hit F5?

      michaelklucher_msft | Fri, 31 Aug 2007 09:11:00 GMT |

    2. I'm hoping that you found a solution to your problem, if you didn't please unmark this thread as an answer and post some more info.

      Thanks!

      michaelklucher_msft | Fri, 31 Aug 2007 09:12:00 GMT |

    3. if you have your project in a folder called c# it wont find it, change the name to something like csharp

      mattrob2 | Fri, 31 Aug 2007 09:13:00 GMT |

  • Microsoft Game Technologies Questions

    • XNA Overview Webcast

      Register ...

      By jimperry

    • XNA Parallax Engine

      Hi,I hope this doesn't break any of the rules, I have checked and I don't think that it does.The par...

      By kinlan

    • XNA is really great

      Hello! My first post on the forum. My name is Phantasy, I like fantasy so that is why. I am sure XNA...

      By phantasy

    • XNA Podcast

      XBL Radio.com has put out their roundtable on XNA with myself and a couple of developers. Check it o...

      By jimperry

    • XNA multiple bounding spheres

      i have been making a pool game and now i need to add more balls, i need to put more balls onto the t...

      By mb_86, 4 Comments

    • XNA GSE for tools, editors

      There is a question in the FAQ that addresses non-gaming applications using XNA GSE, stating that it...

      By bigbob, 1 Comments

    • XNA Release

      So this is the tech preview. If I love it (I'm not even through the presentation yet, but like what ...

      By jtwing, 4 Comments

    • XNA Game Studio Pro Pricing

      Does anyone know the pricing of the XNA GS Pro verison to be used with VS Pro?I would really rather ...

      By jusedawg, 6 Comments

    • XNA GSE Refresh changes

      I just installed XNA GSE Refresh this morning. When trying to compile my current project i had a str...

      By simonbob, 1 Comments