Click here to Skip to main content
15,394,327 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using directive Pin
PIEBALDconsult31-Jul-07 10:21
professionalPIEBALDconsult31-Jul-07 10:21 
GeneralRe: Using directive Pin
Albu Marius31-Jul-07 22:01
MemberAlbu Marius31-Jul-07 22:01 
GeneralRe: Using directive Pin
PIEBALDconsult1-Aug-07 13:52
professionalPIEBALDconsult1-Aug-07 13:52 
GeneralRe: Using directive Pin
Albu Marius2-Aug-07 1:20
MemberAlbu Marius2-Aug-07 1:20 
GeneralRe: Using directive Pin
PIEBALDconsult2-Aug-07 15:12
professionalPIEBALDconsult2-Aug-07 15:12 
QuestionDataGridView Pin
sangramkp31-Jul-07 1:26
Membersangramkp31-Jul-07 1:26 
AnswerRe: DataGridView Pin
Herman<T>.Instance31-Jul-07 2:56
MemberHerman<T>.Instance31-Jul-07 2:56 
QuestionNUnit and relative Paths Pin
User 665831-Jul-07 1:25
MemberUser 665831-Jul-07 1:25 
Hi,

If this is the wrong forum please guide me to the correct one, I didn't know where to post it.

Yesterday I started doing unit testing with NUnit and XNA (the successor of Managed DirectX).
While everything works fine inside Visual Studio and from Windows Explorer, I get the following Exception when running my tests from the NUnit GUI:

GameStateManagement.TestClass.TestScreenModeManager : Microsoft.Xna.Framework.Content.ContentLoadException : Error loading "menufont". File not found.
----> System.IO.DirectoryNotFoundException : A part of the path C:\WINDOWS\assembly\GAC_32\Microsoft.Xna.Framework\1.0.0.0__6d5c3888ef60e27d\Content\menufont.xnb could not be found.

Content\ is a subfolder relative to my project, which gets accessed correctly in VS and Explorer.
But the NUnit GUI seems to set my absolute executable folder to C:\WINDOWS\assembly\GAC_32\Microsoft.Xna.Framework\1.0.0.0__6d5c3888ef60e27d\ which makes absolutely no sense to me. I actually should be the project folder, like C:\C#\Projects\...\

Does anyone know what I am doing wrong here?


regards

modified 12-Sep-18 21:01pm.

Questionconvertion from word file into pdf file Pin
adilkazmi31-Jul-07 1:14
Memberadilkazmi31-Jul-07 1:14 
AnswerRe: convertion from word file into pdf file Pin
ekynox31-Jul-07 2:36
Memberekynox31-Jul-07 2:36 
AnswerRe: convertion from word file into pdf file Pin
Not Active31-Jul-07 2:36
mentorNot Active31-Jul-07 2:36 
QuestionStrange behavior of comparison with Double.IsPositiveInfinity [modified] Pin
Stefan Troschuetz31-Jul-07 1:13
MemberStefan Troschuetz31-Jul-07 1:13 
AnswerRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 1:30
sitebuilderLuc Pattyn31-Jul-07 1:30 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 2:31
MemberStefan Troschuetz31-Jul-07 2:31 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 2:50
sitebuilderLuc Pattyn31-Jul-07 2:50 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 3:11
MemberStefan Troschuetz31-Jul-07 3:11 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 3:36
sitebuilderLuc Pattyn31-Jul-07 3:36 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 4:23
MemberStefan Troschuetz31-Jul-07 4:23 
JokeRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 4:36
sitebuilderLuc Pattyn31-Jul-07 4:36 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 4:41
MemberStefan Troschuetz31-Jul-07 4:41 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
PhilDanger31-Jul-07 4:54
MemberPhilDanger31-Jul-07 4:54 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 9:06
MemberStefan Troschuetz31-Jul-07 9:06 
QuestionWriting a Type to Binary File Pin
JamesBarnes31-Jul-07 0:56
MemberJamesBarnes31-Jul-07 0:56 
AnswerRe: Writing a Type to Binary File Pin
Luc Pattyn31-Jul-07 1:08
sitebuilderLuc Pattyn31-Jul-07 1:08 
GeneralRe: Writing a Type to Binary File Pin
JamesBarnes31-Jul-07 1:11
MemberJamesBarnes31-Jul-07 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.