4

The Silverlight 5 XNA samples, I presume are built in Visual Studio Professional editions as when when opening them in Visual Web Express 2010 it cannot open the Content Projects.

NB: I have reported the issue here, so watch out for a resolution there.

How can I use the Content Pipeline for a Silverlight 5 application using Visual Studio 2010 express editions? Or if that is not possible - how can I at least use the ContentManager to import pre-built .xnb files?

(I have all the requirements, apart from Pro edition it seems, and can draw primitives. I can actually run the platformer sample so there must be way)

enter image description here

Miika L.
  • 3,333
  • 1
  • 24
  • 35
markmnl
  • 11,116
  • 8
  • 73
  • 109
  • I think you're mixing versions. Visual Web Dev Express is not Visual Studio 2010 Express. You have to install XNA Game Studio to do XNA dev, including from Silverlight: http://www.silverlight.net/downloads – jv42 May 29 '12 at 08:46
  • trust me i have done that - 100 times over - I have installed XNA Game Studio, im not the only one: http://silverlight.codeplex.com/workitem/9613 – markmnl May 29 '12 at 10:36
  • Ok, that wasn't obvious from your original question. Have you tried the solution offered in the work item you've linked? – jv42 May 29 '12 at 12:03
  • The one about installing XNA 4.0 instead of XNA 4.0 Refresh? Yes. – markmnl May 29 '12 at 23:46
  • Have you tried creating the project with Visual C# Express or the "for Windows Phone" edition? – jv42 May 30 '12 at 12:19
  • You cannot create a Silverlight Project from Visual C# Express - I can and have created XNA games (Windows Game 4.0) from Visual C# Express. I can not create any Windows Phone projects - I have installed nothing to do with Windows Phone – markmnl May 31 '12 at 01:23
  • For the Windows Phone stuff: https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=27570 'Microsoft Visual Studio 2010 Express for Windows Phone' => this allows both XNA and Silverlight (it's in fact a bundled Visual C# 2010 Express). Maybe it would work? – jv42 May 31 '12 at 10:02
  • yes but thats for phone projects - im not intersted in phone projects – markmnl Jun 01 '12 at 06:44
  • It's not only for WinPho: it allows XNA creation for Windows and Xbox360 too, that's why I'm suggesting it. – jv42 Jun 01 '12 at 08:57
  • i dont follow - i already have xna and visual studio c# express - I make games for windows and xbox with it. – markmnl Jun 01 '12 at 09:17
  • Ok, well I've got no more suggestions then, if you need a working project made from a paid version, I could provide one. – jv42 Jun 01 '12 at 10:13
  • Thanks, im sure it does with professional - the samples are no doubt working copies - so no need. – markmnl Jun 05 '12 at 04:10

1 Answers1

0

Microsoft XNA Game Studio 4.0 is not supported in the Microsoft Visual Web Developer 2010 Express product SKU. See the MSDN article from here, http://msdn.microsoft.com/en-us/library/bb203916.aspx, portions of which are copied here for your convenience.

Microsoft Visual Studio 2010

XNA Game Studio 4.0 Refresh leverages the Microsoft Visual Studio 2010 development environment, extending it for game development. XNA Game Studio 4.0 Refresh works with any of the following Microsoft Visual Studio 2010 products.

  • Microsoft Visual Studio 2010 Express for Windows Phone
  • Microsoft Visual C# 2010 Express Edition
  • Microsoft Visual Studio 2010 Professional Edition

To create or modify an XNA Content Project, Open the project in a supported edition of the Express SKU's.

borrillis
  • 656
  • 4
  • 7