Sponsors





Top Zune Sites
Microsoft Zune Player Top Site List
Top Zune Sites
Zune Cards

Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 05-12-2008, 12:10 PM   #21 (permalink)
Zewbie
 
Join Date: May 2008
Posts: 6
Reputation: 10
$zB: 6
Donate
Default

Quote:
Originally Posted by lpxxfaintxx View Post
Here is a sample conversion I have done:


Before conversion:

Code:
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectGuid>{13F973C1-0D62-480B-9311-BF0EA4C7913D}</ProjectGuid>
    <ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Ping_pong_xna</RootNamespace>
    <AssemblyName>Ping-pong-xna</AssemblyName>
    <XnaFrameworkVersion>v2.0</XnaFrameworkVersion>
    <XnaPlatform>Windows</XnaPlatform>
    <XnaCrossPlatformGroupID>15de2acb-5a30-4106-8c9d-9d6c13898b94</XnaCrossPlatformGroupID>
    <ApplicationIcon>Game.ico</ApplicationIcon>
    <Thumbnail>GameThumbnail.png</Thumbnail>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>binx86Debug</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>binx86Release</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.Xna.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=x86">
      <Private>False</Private>
      <SpecificVersion>True</SpecificVersion>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.Game, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=MSIL">
      <Private>False</Private>
      <SpecificVersion>True</SpecificVersion>
    </Reference>
    <Reference Include="mscorlib">
      <Private>False</Private>
    </Reference>
    <Reference Include="System">
      <Private>False</Private>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="bola.cs" />
    <Compile Include="PropertiesAssemblyInfo.cs" />
    <Compile Include="Game1.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Game.ico" />
    <Content Include="GameThumbnail.png" />
    <Compile Include="Program.cs" />
    <Compile Include="raqueta.cs" />
  </ItemGroup>
  <ItemGroup>
    <NestedContentProject Include="ContentContent.contentproj">
      <Project>61c23984-468d-404c-a7e8-41462641f057</Project>
      <Visible>False</Visible>
    </NestedContentProject>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game Studiov2.0Microsoft.Xna.GameStudio.Common.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game Studiov2.0Microsoft.Xna.GameStudio.NestedContent.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

After conversion:
Code:
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectGuid>{13F973C1-0D62-480B-9311-BF0EA4C7913D}</ProjectGuid>
    <ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Ping_pong_xna</RootNamespace>
    <AssemblyName>Ping-pong-xna</AssemblyName>
    <XnaFrameworkVersion>v3.0</XnaFrameworkVersion>
    <XnaPlatform>Windows</XnaPlatform>
    <XnaCrossPlatformGroupID>15de2acb-5a30-4106-8c9d-9d6c13898b94</XnaCrossPlatformGroupID>
    <ApplicationIcon>Game.ico</ApplicationIcon>
    <Thumbnail>GameThumbnail.png</Thumbnail>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>binx86Debug</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>binx86Release</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.Xna.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=x86">
      <Private>False</Private>
      <SpecificVersion>True</SpecificVersion>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.Game, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=MSIL">
      <Private>False</Private>
      <SpecificVersion>True</SpecificVersion>
    </Reference>
    <Reference Include="mscorlib">
      <Private>False</Private>
    </Reference>
    <Reference Include="System">
      <Private>False</Private>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="bola.cs" />
    <Compile Include="PropertiesAssemblyInfo.cs" />
    <Compile Include="Game1.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Game.ico" />
    <Content Include="GameThumbnail.png" />
    <Compile Include="Program.cs" />
    <Compile Include="raqueta.cs" />
  </ItemGroup>
  <ItemGroup>
    <NestedContentProject Include="ContentContent.contentproj">
      <Project>61c23984-468d-404c-a7e8-41462641f057</Project>
      <Visible>False</Visible>
    </NestedContentProject>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game Studiov2.0Microsoft.Xna.GameStudio.Common.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game Studiov2.0Microsoft.Xna.GameStudio.NestedContent.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

Voila! The project loaded fine. However, I couldn't deploy it or debug it for some unfortunate reason. =/
What exactly did you change? I am trying to port a game over but I changed some things but it still won't open.



asktb93 is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 05-12-2008, 02:00 PM   #22 (permalink)
Support Team
Experienced Zuner
 
Join Date: Oct 2007
Location: Albuquerque, NM
Posts: 237
Reputation: 28
$zB: 87
Donate
Default

im having the same problem. I think he got lucky with this one. I have tried everything. Figures. Well there is another way. Create a new project and load all the files into it
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

thanks to
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
for the sig

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Bman22 is offline   Reply With Quote
Old 05-13-2008, 04:59 PM   #23 (permalink)
Zuner
 
Join Date: May 2008
Posts: 63
Reputation: 11
$zB: 25
Donate
Default

Take a look at the XNA 3.0 readme. theres a short how-to in there.



amoo3 is offline   Reply With Quote
Old 05-13-2008, 05:28 PM   #24 (permalink)
Zuner
 
metalthorn's Avatar
 
Join Date: Apr 2007
Location: Spartanburg, South Carolina
Posts: 97
Reputation: 12
$zB: 71
Donate
Default

1.2.1.1. Before You Begin
Before you initiate this manual procedure, you should back up all components of your project, including the game code and the content pipeline. Save a copy of this data in a backup directory before you upgrade your project.

1.2.1.2. Performing the Upgrade
To upgrade your existing project to XNA Game Studio 3.0 (Preview), perform the following steps:

Open the game project file (.csproj) with a text editor such as Notepad.
Near the top of the project file, between the <PropertyGroup> XML tags, find the specification <XnaFrameworkVersion>v2.0</XnaFrameworkVersion>. Change this to read <XnaFrameworkVersion>v3.0</XnaFrameworkVersion>.
In the <Reference> statements for the XNA Framework, change all "Version" attributes from 2.0.0.0 to 3.0.0.0. For example, the following line:

<Reference Include="Microsoft.Xna.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=x86">

should be changed to read:

<Reference Include="Microsoft.Xna.Framework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d, processorArchitecture=x86">

In the <Import> statements for XNA Game Studio, change all path references to subdirectories for the target files that are specified in the "Project" attribute from "v2.0" to "v3.0". For example, the following line:

<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v2.0\Microsoft.Xna.GameStudio.Common.target s" />

should be changed to read:

<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.Common.target s" />

Save the game project file.
Open the content project file (.contentproj) with a text editor such as Notepad.
Repeat steps 2 through 4 and save the content project file.
Open the project or solution in Visual Studio 2008. The conversion wizard will begin. Allow the wizard to upgrade the project and solution from Visual Studio 2005 to Visual Studio 2008.

Copied straight from the XNA 3.0 Readme it helps!



metalthorn is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 09:19 AM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007