On Sep 23, 2011, at 3:30 PM, Mittchel Van Vliet wrote:
> Where can I find the stack trace? Because I can't seem to find it anywhere.. 

Hopefully `adb logcat`. How do you know that it's a NullReferenceException if 
you don't get a stack trace?

> And how do I know what the name is in the ManifestResourceStream? I thought 
> it was items.db3.

It could be, but sometimes Visual Studio will "mutate" the name. IIRC if the 
file is in a folder, it'll prefix the filename with the folder name (and/or 
it'll prefix the filename with the default namespace name of the project).

If you select the file within the Solution Explorer, there should be a Property 
panel (or something). In the property panel you can set the LogicalName, which 
will override whatever default value Visual Studio will otherwise cook up.

I would suggest that you look at the LogicalName setting for `items.db3` and 
make sure that the LogicalName is "items.db3".

> And I'm really new with this stuff so I've got no idea what you mean with 
> /resource CSC options :p

`csc /resource` is how the resource name is set in the assembly, and the 
LogicalName is how the IDE passes that information to the compiler. You can 
view the actual compiler invocation if your MSBuild output is verbose enough.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to