Where are reference to DirectX assemblies in Visual Studio 2010 - visual-studio-2010

I installed the new Visual Studio 2010. I want to create a C# Winform DirectX application, but I can't find the following assembly when adding the .Net reference list:
Microsoft.DirectX
Microsoft.DirectX.Direct3D
Microsoft.DirectX.Direct3DX
How can I use DirectX with Visual Studio 2010?

DirectX is obsolete now, there are no DirectX assemblies. Use XNA instead.

Related

Will the Blend 4 will work with the Visual Studio Ultimate 2012

Does the ultimate version of the Visual Studio 2010 or 2012 contains windows phone SDK and with Expression Blend 4?
I cannot find info about that even on Microsoft site.
Visual Studio 2010 and Expression Blend 4 are companion applications, sharing the same SLN and .csproj, vbproj files. Visual Studio 2012 also has a companion version of Blend (Blend for MS Visual Studio 2012).
None of the above IDEs are ready for Phone development. You need to install the SDK before they can create phone projects. During the install process, the SDK adds the appropriate templates to your computer.
If you have Visual Studio 2012 Ultimate it has a placeholder for phone projects. See the screenshot below.
The new version of Blend(Blend for MS Visual Studio 2012) doesn't support phone projects at all.
There is an Beta version of Blend available, with more project types, and the release version is coming soon. See this post for more details.
The ultimate version of Visual Studio 2012 contains Blend for Visual Studio 2012 (effectively "Blend 5"). Not sure why you'd need Blend 4 at that point.

Is there any way to use XNA 3.1 with Visual C# Express 2010?

Is there any way to use XNA 3.1 with Visual C# Express 2010?
No. You can potentially reference and use some assemblies, but to get the full experience including the content pipeline, you'll need XNA Game Studio. The current release only supports Visual Studio 2008.
However, you can use XNA Game Studio 4 CTP with Visual C# 2010 Express. It is available here (as part of the Windows Phone toolset).

Can I create games using XNA if I have Visual Studio 2010 installed?

Pretty straight forward question. Thank you.
To be a pedant, yes you can: just not inside of VS 2010. You can install a 2008 Express version side-by-side and use that, until they update XNA for 2010.
Basically: XNA Game Studios 3.0 and 3.1 go with Visual Studio 2008. (Note: anywhere I say "Visual Studio" it also applies to Visual C# Express.)
XNA Game Studio 4.0 (currently in beta) goes with Visual Studio 2010. (Note: XNA GS 4.0 is part of Windows Phone Developer Tools).
Both Visual Studio and XNA Game Studio (and the XNA runtimes, for that matter) can be installed side-by-side with older/newer versions of the same.
XNA Game Studio (which basically means the content pipeline, push to Xbox, project wizards, etc) will only integrate with the associated version of Visual Studio.
Of course you can reference any version of the XNA assemblies from any version of Visual Studio. But without the content pipeline it can be a bit limiting.
XNA GS 3.0 won't work inside of VS 2010. There is no .net 4.0 version yet
No , Currently Visual Studio 2010 does not support XNA . But you have a option of installing XNA Game Studio 4.0 CTP .
But i think it is for Windows Phone 7 .
Not yet. Will be supported in the future.

Using dlls compiled in Visual Studio 2010 with target .NET Framework 4.0 in Visual Studio 2008

I know it's a bit close to
Can I use .NET 4.0 beta in Visual Studio 2008?
But my question is a bit different. I have a project that now uses .NET 4.0 (target .NET Framework 4.0) in Visual Studio 2010. Is it possible to use the project compiled dlls in Visual Studio 2008? How?
I don't want to use .NET4.0 directly in Visual Studio 2008, only the compiled dlls with target .NET Framework 4.0 (this is how my question is different that what has been asked so far).
I know that I was able to use .NET3.5 in Visual Studio 2005. So why not .NET4.0 in Visual Studio 2008?
.NET 3.5 didn't have new versions of mscorlib, System.dll etc - it had new assemblies, but the ones you could use from .NET 2 were the same.
.NET 4 introduces new versions of these core assemblies - and your built DLL will reference those new versions explicitly. Visual Studio 2008 doesn't know about those versions - or the CLR which goes with them.
If you want to use a library in Visual Studio 2008, you should target .NET 3.5 to start with.

Is there a way to change .NET framework version of Visual Studio 2005 to 3.5?

Is there a way to change .NET framework version of Visual Studio 2005 to 3.5?
No. Visual Studio 2005 only supports .NET 2.0 out-of-the-box. It can be updated to support .NET 3.0.
It is possible to compile .NET 3.5 code with a Visual Studio 2008 Express Edition, or without Visual Studio 2008 using Mono and I think the Windows/.NET SDK. However these will obviously not be integrated into Visual Studio 2005.
Visual Studio 2005 only supports .NET 2.0. The format of the solution file (.sln) changed in Visual Studio 2008 to allow you to select the target .NET version.
VS2008/2010 have a visual way of setting the project setting "TargetFrameworkVersion" which makes it easier, however I have found that adding the same tag to a VS2005 project will change the target framework. You might try adding 1(one) of the following into the section of your VS C# project.
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

Resources