hi byron!
I also have the same errors when adding text files in my projects. but when i followd your solution to the problem, another exception appeared. here is the copy of the exception:
System.IO.FileNotFoundException was unhandled
Message="Could not find file 'C:\\Users\\Nico\\Documents\\Visual Studio 2008\\Projects\\ZombieSmashers\\MapEditor\\bin\\x86\\Debug\\maps'."
Source="mscorlib"
FileName="C:\\Users\\Nico\\Documents\\Visual Studio 2008\\Projects\\ZombieSmashers\\MapEditor\\bin\\x86\\Debug\\maps"
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at MapEditor.MapClasses.Map.ReadSegmentDefinitions() in C:\Users\Nico\Documents\Visual Studio 2008\Projects\ZombieSmashers\MapEditor\MapClasses\Map.cs:line 24
at MapEditor.MapClasses.Map..ctor() in C:\Users\Nico\Documents\Visual Studio 2008\Projects\ZombieSmashers\MapEditor\MapClasses\Map.cs:line 20
at MapEditor.Game1.Initialize() in C:\Users\Nico\Documents\Visual Studio 2008\Projects\ZombieSmashers\MapEditor\Game1.cs:line 48
at Microsoft.Xna.Framework.Game.Run()
at MapEditor.Program.Main(String[] args) in C:\Users\Nico\Documents\Visual Studio 2008\Projects\ZombieSmashers\MapEditor\Program.cs:line 14
InnerException:
Could you helpo me out? what could possibly be wrong here?
Thanx in advance..:-)