Quick question Microsoft .NET Framework 4

5 replies [Last post]
Posts: 147

Hi all, When distributing the client to others, Do i need to include the Microsoft .NET Framework 4 install aswell ?? or are these .net framework files only needed to make the game and not actually to play the game. In other words does netgore play on a computer without the Microsoft .NET Framework 4 or is this mandatory??

Thanks guys

Posts: 31

A computer is required to have .NET 4 to run any aspect of NetGore.
So just make it a requirement and link to it when distributing.

Posts: 1030

Any computer with Windows Updates should already have it though.

Posts: 147

Allright thanks, I think I will just put the .NET4 install file in the download folder.

Thanks for the quick reply

Posts: 1691

To elaborate, since the whole .NET thing isn't always immediately obvious. The .NET framework contains the common GAC assemblies (e.g. stuff in System.* namespaces), JIT compiler, and other stuff that is required to run NetGore, and any other .NET application. Since NetGore uses the .NET 4.0 framework, that is what is required. I believe it only requires the .NET 4 Client Profile Framework, which is a subset of the whole .NET framework provided purely for the sake of a smaller download. But since this is a multiplayer game, and people are assumed to have a semi-decent connection, its best to just link them to the full framework just in case.

To prevent needless downloading, I highly recommend you link them to the .NET framework web installer: http://www.microsoft.com/download/en/details.aspx?id=17851

This installer is small enough (~850KB) to bundle with your game/installer as well.

The full .NET 4 framework is around 50MB, and available here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

Since the .NET framework is available through Windows Update, and it is a requirement for any .NET programs (which there are a lot of), it is quite common for people to already have it, especially gamers. This page gives a rough idea of the .NET adoption rate: http://www.statowl.com/microsoft_dotnet.php?timeframe=last_6&interval=mo...

Posts: 147

Thanks for the extra info Spodi