Deutschland (Deutsch)
Canada (English)
Canada (Français)
Deutschland (Deutsch)
España (Español)
France (Français)
Italia (Italia)
United Kingdom (English)
United States (English)
日本 (日本語)
Foren
Hallo,
Besucher
Anmelden
Home
Schnellreferenz
Nachrichten
Mitgliedschaft
Spiele
Spielekatalog
Spiel einreichen
Spiel prüfen
Spiel testen
Entwickler
Mein Profil
Mein Geschäft
Community
Foren
Community-Spotlight
Community-Ressourcen
Bildung
Erste Schritte
Bildungskatalog
Starter-Kits
Dienstprogramme
Akademisch
Developer Talk Series
Ressourcen
FAQ
Partner
Herunterladen
Feedback
Presse-Site
treffen Sie die Mannschaft
Community-Foren
XNA Community Forums
»
XNA Game Studio Technologies (Windows Phone, Xbox 360, Windows, and Zune)
»
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 01:54 by
Aoris
. 4 replies.
03.07.2009 22:16
Aoris
(8)
Posts
13
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
(0)
premium membership
Posts
228
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
(14726)
premium membership
Team XNA
Posts
9.336
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
04.07.2009 18:48
In reply to
Venatu
(0)
premium membership
Posts
228
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 01:54
In reply to
Aoris
(8)
Posts
13
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
© 2010 Microsoft Corporation. Alle Rechte vorbehalten.
Nutzungsbedingungen
Datenschutzerklärung
Verhaltensregeln
Feedback