Game Development Community

XnaChopperStrike

by Zilla · in · 10/15/2008 (7:27 am) · 4 replies

When I debug XnaChopperStrike (and several other of your projects) I get the following warning:

Warnung 1 Die Datei "Game.txproj" konnte dem Projekt nicht hinzugef

#1
10/15/2008 (10:31 am)
That's strange. I'm not sure why the compiler is trying to add Game.txproj - that file does not need to be a part of the project. This is a compiler warning, right? I'll check the code online and see if I can reproduce this.

John K.
#2
10/15/2008 (11:48 am)
Yes, it's just a compiler warning but I don't understand why it is produced.

The bigger problem is that I cannot compile the XnaChopperStrike projects from Chapter 16 because of an error from the RuntimeProfile.txt file.

See this thread:
www.garagegames.com/mg/forums/result.thread.php?qt=80056
#3
10/18/2008 (9:03 am)
Not sure if I responded elsewhere. But it sounds like Game.txproj is part of your solution, but can't be updated since TXB2D is running at the same time and locking the file. Try removing Game.txproj from your solution.

John K.
#4
10/18/2008 (11:18 am)
@John
Nope, does not work...
I removed Game.txproj from my solution and/or closed TXB2D.

But I cannot build the XnaChopperStrike projects from Chapter 16 anyway because of the following errors (text translated):

obj\x86\Debug\Microsoft.Xna.Framework.RuntimeProfile.txt cannot be copied to 
obj\x86\Debug\StarterGame2D.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt

Files has an invalid 
obj\x86\Debug\StarterGame2D.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt-value