<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XNA Framework</title><link>http://forums.xna.com/forums/56.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/96246.aspx</link><pubDate>Thu, 09 Oct 2008 16:41:48 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:96246</guid><dc:creator>Stephen Styrchak</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/96246.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=96246</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://forums.xna.com//Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;CartBlanche:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;One last question... Is the line
&lt;p&gt;/resource:obj\x86\Debug\WindowsGame6.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile&lt;/p&gt;
generated by &lt;br /&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;Import Project=&amp;quot;$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v2.0\Microsoft.Xna.GameStudio.Common.targets&amp;quot; /&amp;gt; directive?&lt;/p&gt;
&lt;p&gt;Or by the C# compiler?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Neither.&lt;/p&gt;
&lt;p&gt;The Game Studio targets only generate the TXT file and add it to the list of embedded resources, along with the logical name. The MSBuild targets that process EmbeddedResource items are in Microsoft.Common.targets, which is installed with the .NET Framework. In a C# project, most of the work is done by Microsoft.Common.targets, but eventually a number of computed values are passed to targets in Microsoft.CSharp.targets (also installed by the .NET Framework).&lt;/p&gt;
&lt;p&gt;The list of resources to embed is passed to the CSC task, which constructs the command-line. The command-line is then passed to the C# compiler.&lt;/p&gt;
&lt;p&gt;So really Game Studio does not do anything special, except to add the TXT file to your project without having it appear in the Solution Explorer. If you followed the steps I described previously in a normal C# project, you&amp;#39;d get the exact same result as building a Game Studio project.&lt;/p&gt;
&lt;p&gt;The C# compiler doesn&amp;#39;t generate the command-line because the C# compiler doesn&amp;#39;t run until it is given the command-line to execute.&lt;/p&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/96198.aspx</link><pubDate>Thu, 09 Oct 2008 13:01:08 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:96198</guid><dc:creator>CartBlanche</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/96198.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=96198</wfw:commentRss><description>I accosted the developers of the compiler and they are now adding support for LogicalName, so I hope this should be fixed in the next beta release.
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;One last question... Is the line&lt;/p&gt;
&lt;p&gt;/resource:obj\x86\Debug\WindowsGame6.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile&lt;/p&gt;
generated by &lt;br /&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;Import Project=&amp;quot;$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v2.0\Microsoft.Xna.GameStudio.Common.targets&amp;quot; /&amp;gt; directive?&lt;/p&gt;
&lt;p&gt;Or by the C# compiler?&lt;/p&gt;
&lt;p&gt;Thanks again for all your help.&lt;/p&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/95037.aspx</link><pubDate>Sat, 04 Oct 2008 19:12:12 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:95037</guid><dc:creator>Stephen Styrchak</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/95037.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=95037</wfw:commentRss><description>&lt;p&gt;Initially, I missed that you were using v2.0. In v2.0, we only had one runtime token for both Windows and Xbox 360 -- which is a mistake we have remedied in our subsequent releases. So for a CCGAME created with v2.0 XnaPack, the runtime token is expected to be &amp;quot;v2.0&amp;quot; as you inquire.&lt;/p&gt;
&lt;p&gt;Getting this to work properly will depend on how well you understand MSBuild and your project&amp;#39;s MSBuild integration.&lt;/p&gt;
&lt;p&gt;Since you are using a compiler that I&amp;#39;m not familiar with, I can&amp;#39;t say exactly what you need to do to embed the resource correctly. In a VB or C# MSBuild-based project, the Microsoft.Common.targets file is imported to do most of the work. According to these targets, if a LogicalName is specified, it is used as the name of the manifest resource - otherwise, one is assigned based on the project&amp;#39;s default namespace, the location of the item, and the item&amp;#39;s name.&lt;/p&gt;
&lt;p&gt;If you build a default Windows Game project, you&amp;#39;ll see in the Output Window that the runtime profile is specified on the C# compiler command-line like this:&lt;font size="1"&gt;&lt;/p&gt;
&lt;p&gt;/resource:obj\x86\Debug\WindowsGame6.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile&lt;/p&gt;
&lt;/font&gt;
&lt;p&gt;&amp;nbsp;(Sorry, not sure why that pasted so small, or why I can&amp;#39;t change the size after the fact...)&lt;/p&gt;
&lt;p&gt;If your compiler supports specifying the logical name of the resource, then you need to set up your project to specify it, according to your product documentation.&lt;/p&gt;
&lt;p&gt;Sorry I can&amp;#39;t be of any more help - embedding resources is a compiler-specific action, and even if it&amp;#39;s available, the MSBuild project might not support providing a non-default name. You&amp;#39;ll need to check your product documentation or ask the vendor.&lt;/p&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/94775.aspx</link><pubDate>Fri, 03 Oct 2008 12:46:18 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:94775</guid><dc:creator>CartBlanche</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/94775.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=94775</wfw:commentRss><description>Hi Stephen&lt;br /&gt;
I followed your instructions, but still get the same error. When I use reflector on the .exe I can see the embeded file and it has been renamed to
&lt;strong&gt;CamerasTutorial.Properties.Microsoft.Xna.Framework.RuntimeProfile.txt&lt;/strong&gt; and it&amp;#39;s contents say &lt;strong&gt;v2.0&lt;/strong&gt;.This is what the Embed XML looks like&lt;br /&gt;
&lt;p&gt;
&lt;div style="overflow:auto;background-color:white;width:100%;height:63px;font-family:Courier New;font-size:11px;"&gt;
&lt;table style="border-width:0px;margin:2px 0px;width:99%;border-collapse:collapse;" cellpadding="0" cellspacing="0"&gt;
    
    
        &lt;tr&gt;
            &lt;td&gt;&lt;font style="font-size:11px;"&gt;&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;lt;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;EmbeddedResource&amp;nbsp;&lt;/font&gt;&lt;font style="color:red;"&gt;Include&lt;/font&gt;&lt;font style="font-size:11px;"&gt;=&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;quot;Properties\Microsoft.Xna.Framework.RuntimeProfile.txt&amp;quot;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;&amp;gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font style="color:blue;"&gt;&amp;lt;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;LogicalName&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;gt;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;Microsoft.Xna.Framework.RuntimeProfile&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;lt;/&lt;/font&gt;&lt;font style="font-size:11px;"&gt;LogicalName&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;gt;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font style="color:blue;"&gt;&amp;lt;/&lt;/font&gt;&lt;font style="font-size:11px;"&gt;EmbeddedResource&lt;/font&gt;&lt;font style="color:blue;"&gt;&amp;gt;&lt;/font&gt;&lt;font style="font-size:11px;"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
        &lt;/tr&gt;
    
&lt;/table&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Am I missing something else?&lt;/p&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/94651.aspx</link><pubDate>Thu, 02 Oct 2008 20:34:53 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:94651</guid><dc:creator>CartBlanche</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/94651.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=94651</wfw:commentRss><description>&lt;font face="Tahoma"&gt;Hi Stephen,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;
Thanks for the detailed instructions. I fully understand Microsoft&amp;#39;s statement of only supporting C# in XNA GS so am gratefull for the extra info. &lt;br /&gt;
I will be sure to try out those steps tomorrow. The actual MSBuild project file will be .oxygene, but I&amp;#39;ll worry about that.&lt;br /&gt;
I&amp;#39;ll report back about how I go.&lt;br /&gt;
&lt;br /&gt;
Thanks again.&lt;/font&gt;
&lt;br /&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/94588.aspx</link><pubDate>Thu, 02 Oct 2008 16:30:12 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:94588</guid><dc:creator>Stephen Styrchak</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/94588.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=94588</wfw:commentRss><description>&lt;p&gt;This error means your assembly doesn&amp;#39;t contain the information that identifies which XNA Framework runtime is required to run your game. XNA Game Studio 2.0 and onward embeds this information in every game assembly you build. Since we didn&amp;#39;t embed that information in XNA Game Studio 1.0/1.0 Refresh, the error message makes the assumption that the game must have been built with a version prior to 2.0.&lt;/p&gt;
&lt;p&gt;If your game is not written in C#, then you are obviously not using XNA Game Studio -- and that&amp;#39;s why you&amp;#39;re missing this information from your assembly.&lt;/p&gt;
&lt;p&gt;To get the missing data into your assembly, follow these steps:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Create an XNA Game Studio game project for the platform that matches your game.&lt;/li&gt;
    &lt;li&gt;Build that project.&lt;/li&gt;
    &lt;li&gt;Open Explorer and browse to the intermediate output directory of the project you built (eg, obj\Xbox 360\Debug).&lt;/li&gt;
    &lt;li&gt;Observe the file called Microsoft.Xna.Framework.RuntimeProfile.txt.&lt;/li&gt;
    &lt;li&gt;Now open the non-Game Studio project you used to build your game.&lt;/li&gt;
    &lt;li&gt;Add the Microsoft.Xna.Framework.RuntimeProfile.txt file to your game&amp;#39;s project.&lt;/li&gt;
    &lt;li&gt;Set the item&amp;#39;s Build Action property to Embedded Resource.&lt;/li&gt;
    &lt;li&gt;Close the project.&lt;/li&gt;
    &lt;li&gt;Open the project&amp;#39;s MSBuild project file (.vbproj?) in the code editor (it&amp;#39;s XML).&lt;/li&gt;
    &lt;li&gt;Find the &amp;lt;EmbeddedResource&amp;gt; element that includes the .txt file, and add the following child element:&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
    &lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;LogicalName&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;Microsoft.Xna.Framework.RuntimeProfile&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;LogicalName&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/p&gt;
    &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now your project is set up to embed the information used by xnapack.exe.&lt;/p&gt;
&lt;p&gt;The runtime profile is a token that identifies the runtime requirements of the assembly. It maps to a specific version of the XNA Framework - so they are different for Zune, Xbox 360, Windows, as well as different for CTP, Beta, and final releases.&lt;/p&gt;
&lt;p&gt;When you use XNA Game Studio, we manage this information for you so that the project and the tools work correctly together, and you are given appropriate error messages when you try to mix and match incompatible assemblies. However, when you don&amp;#39;t use XNA Game Studio to build your games, you can&amp;#39;t expect the rest of the tools to work for you, either. This is part of what we mean when we say that we only support C#.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/94549.aspx</link><pubDate>Thu, 02 Oct 2008 14:07:05 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:94549</guid><dc:creator>The ZMan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/94549.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=94549</wfw:commentRss><description>I&amp;#39;m not sure about language but it seems to know which version of the framework you are using... you appear to be trying to pacakge a GSE 1.0 refresh game.</description></item><item><title>GS 2.0 XNAPack only works with C# games???</title><link>http://forums.xna.com/forums/thread/94546.aspx</link><pubDate>Thu, 02 Oct 2008 14:04:08 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:94546</guid><dc:creator>CartBlanche</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/94546.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=94546</wfw:commentRss><description>Am I right in saying that GS 2.0 XNAPack only works with C# games? &lt;br /&gt;
&lt;br /&gt;
Does XNAPack specifically check which langauge an XNA game is written in before packaging it up.&lt;br /&gt;
&lt;br /&gt;
The error I&amp;#39;m getting is
&lt;strong&gt;Error 1601: Packaging the startup assembly &amp;quot;C:\Development\XNA\Oxygene\XNA\Tutor
ial1\Tutorial1\bin\x86\Release\Tutorial1.exe&amp;quot; is unsupported for this toolset.
Please use XNA Game Studio Express 1.0 Refresh tools to package this game.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Any ideas? Suggestions?</description></item></channel></rss>