Hi!
How to create an application template like the one presented here: http://msdn.microsoft.com/coding4fun/weekend/apptemplate/default.aspx, but for .NET 2.0
I'm new to the whole .NET thing and it's quite confusing for me.
I tried to follow the steps in the tutorial mentioned above and just changed reference to Microsoft.DirectX (which should i use: "version 2.0.900.0 runtime 2.0" or "version 2.0.0.0 runtime 2.0.50727" ), but should i also use 2.0 versions of Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX I couldn't find them.
Should i use files in Common directory starting with letter "w" or the others
If I don't add the last 2 references and add only Microsoft.DirectX version 2.0.0.0 runtime 2.0.50727 I get following error:
Error 1 The type or namespace name 'Caps' could not be found (are you missing a using directive or an assembly reference )
And which version of Microsoft.DirectX.Direct3DX should I use in .NET 1.1 template I've got 8 available references - they all got runtime v1.1.4322 and only differ in verison 1.0.2902-1.0.2909.
[edit]
I just finished reading BasicHLSL 2.0 documentation and now i know that i don't need Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX. But which version of Microsoft.DirectX should i use BasicHLSL sample uses v2.0.0.0 and in the documentation is written "This assembly is called “Microsoft.DirectX.dll”, and has a version of 2.0.900".

.NET 2.0 application template
GhostlyDeath
btb73
I have a working template completed and formatted to load just like one of the StarterKits. It can be downloaded from here
UFAnders
You mentioned that "w" files are for .NET 2.0. So if i would copy them into Common folder, add reference to Microsoft.DirectX (i will try both versions :) ) and simplify i.e. BasicHLSL for .NET 2.0 sample code to obtain the base code file would it be enough What about that Caps class that is missing
[edit]
I used "w" files, used Microsoft.DirectX version 2.0.0.0 (it was crashing when using the other one), copied EmptyProject.cs and EmptyProject.fx from EmptyProject sample, changed in EmptyProject.cs Caps to Capabilities, ResourceType.Textures to ResourceType.Texture, txtHelper.DrawTextLine into txtHelper.DrawStringLine and it works, but I get about 700fps instead of 1400 in .NET 1.1. Same thing happens when comparing BasicHLSL 1.1 and 2.0.
Gaurav Makin
If you would like I can put together a template for the Beta code.
ILVC
I hope this helps
Take care.
Exentrick1