Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between a Windows Game Library and a Class Library?

Tags:

c#

xna

What's the difference between a Windows Game Library and a Class Library? Is it just that one starts off by including the XNA Framework?

Also, where are the differences between the Windows / Xbox360 / Zune Game Libraries? They all seem to start off with the same References (Microsoft.Xna.Framework, Microsoft.Xna.Framework.Game).

like image 261
blachniet Avatar asked Jul 15 '10 14:07

blachniet


People also ask

Is namespace the same as library?

Namespaces provide a notional separation for classes, class libraries provide a physical separation (in windows think a standalone dll). Class libraries are useful for when you want to wrap up functionality that can be shared with other projects.

What is a class library C#?

The Class Library . DLL contains program code, data, and resources that can be can used by other programs and are easily implemented into other Visual Studio projects.


1 Answers

There is no real difference. It is just a project template, it helps you get all the project settings right. Yes, the assembly references are one of the biggies. I don't have it installed to check, but you can use, say, notepad to look at the .vcproj file to see what settings are overridden from their default.

like image 63
Hans Passant Avatar answered Oct 05 '22 13:10

Hans Passant