España (Español)
Canada (English)
Canada (Français)
Deutschland (Deutsch)
España (Español)
France (Français)
Italia (Italia)
United Kingdom (English)
United States (English)
日本 (日本語)
Foros
Hola:
Visitante
Iniciar sesión
Inicio
Guía de inicio rápido
Noticias
Suscripción
Juegos
Catálogo de juegos
Enviar juego
Revisar juego
Probar juego
Creadores
Mi perfil
Mi empresa
Comunidad
Foros
Temas destacados en la comunidad
Recursos de la comunidad
Educación
Introducción
Catálogo de contenido sobre educación
Packs de inicio
Utilidades
Recursos
Preguntas más frecuentes
Socios
Descargar
Comentarios
Sitio de prensa
foros de la comunidad
XNA Community Forums
»
XNA Game Studio Technologies (Xbox 360, Zune, and Windows)
»
Networking
»
Web Reference and XNA (howto)
More Search Options
|
My Discussions
|
Active Topics
|
Not Read
Page 1 of 1 (5 items)
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
Web Reference and XNA (howto)
Last post 05/07/2009 1:54 by
Aoris
. 4 replies.
03/07/2009 22:16
Aoris
(0)
Posts
8
Web Reference and XNA (howto)
Reply
Quote
Hi everyone,
after hours and hours and hours I understand how to add web reference to XNA Project (I will hope if this howto can help anybody).
In my solution explorer I have 3 project:
1) XNA project
2) ASP .NET project
3) Windows Forms project
Follow these steps:
- Develop and Build your XNA project;
- Delete all files in Windows Forms project,
- Copy all classes from XNA project to Windows Form project;
- Copy Content (with xnb!!!!!) from XNA project to debug/deployment Windows Forms project directory (bin/debug...);
- In proprieties of Windows Forms project set CPU to x86;
- Build Windows Forms project and;
- Add web reference to Windows Forms project;
- Develop your XNA Client.
This works!!!!!
But I have one question:
Why XNA team does not add support for web reference? It is so hard?
Bye bye
Paolo
04/07/2009 14:52
In reply to
Venatu
(49)
premium membership
Posts
227
Re: Web Reference and XNA (howto)
Reply
Quote
Its not supported on xbox, so my guess would be for consistency
EDIT:
By the way I just checked, you can add a class library to the solution, and add a service referance to that. Isnt that a simpler way, or have I missed the point?
04/07/2009 18:44
In reply to
Nick Gravelyn
(12538)
premium membership
MVP
Posts
8.749
Re: Web Reference and XNA (howto)
Reply
Quote
I'll have to see how I did this, but I had absolutely no issues integrating a web reference with a standard Windows XNA 2.0 game project. I wish I had more details but it was almost a year ago that I did it. But you definitely don't need to do all those crazy steps to get it working. I'll see if I still have the project around for me to take a look.
nickgravelyn.com
|
twitter.com/nickgravelyn
|
Super Gravelyn Bros
|
xna7day.com
04/07/2009 18:48
In reply to
Venatu
(49)
premium membership
Posts
227
Re: Web Reference and XNA (howto)
Reply
Quote
The only issue I ran into was that there is no option for a service reference when you left like on references in an XNA project. But by adding a windows library it worked fine for me, like I said above
05/07/2009 1:54
In reply to
Aoris
(0)
Posts
8
Re: Web Reference and XNA (howto)
Reply
Quote
Ops,
yes it is more simple add windows library to the solution then follow my "crazy steps"... I forget that I can use web reference in windows library...
Thanks everybody for help.
Page 1 of 1 (5 items)
Previous
Next
© 2009 Microsoft Corporation. Reservados todos los derechos.
Condiciones de uso
Declaración de privacidad
Código de conducta
Comentarios