United States (English)
Canada (English)
Canada (Français)
Deutschland (Deutsch)
España (Español)
France (Français)
Italia (Italia)
United Kingdom (English)
United States (English)
日本 (日本語)
Forums
Hi,
Visitor
Sign In
Home
Quick Start Guide
News
Membership
Games
Games Catalog
Submit Game
Review Game
Playtest Game
Creators
My Profile
My Business
Community
Forums
Community Spotlight
Community Resources
Education
Getting Started
Education Catalog
Starter Kits
Utilities
Academia
Developer Talk Series
Resources
FAQ
Partners
Download
Feedback
Press Site
Meet the Team
community forums
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 7/5/2009 1:54 AM by
Aoris
. 4 replies.
7/3/2009 10:16 PM
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
7/4/2009 2:52 PM
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?
7/4/2009 6:44 PM
In reply to
Nick Gravelyn
(14744)
premium membership
Team XNA
Posts
9,340
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
7/4/2009 6:48 PM
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
7/5/2009 1:54 AM
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. All rights reserved.
Terms of Use
Privacy Statement
Code of Conduct
Feedback