XNA Creators Club Online
Page 1 of 1 (6 items)
Sort Posts: Previous Next

Can not open any XNA templates. Some XNA function is untrusted?

Last post 3/20/2008 2:17 PM by Stephen Styrchak. 5 replies.
  • 12/15/2007 8:53 PM

    Can not open any XNA templates. Some XNA function is untrusted?

        Hello all. I have just installed Visual C# 2005 Express, It's Service Pack 1 and XNA Game Studio. I noticed on the website (Educatiom > Getting Started) there was a Net Rumble Kit.

    This seemed like a good open source project to see what XNA can do. I downloaded it, installed it into C#. Restarted my PC to make sure everything was working correctly, opened up C# and clicked New Project

    I then clicked Net Rumble Windows Starter Kit Template, pressed ok and I receive the following error:

    Error: this template attempted to load an untrusted component 'Microsoft.Xna.GameStudio, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

    I am afraid I could not find this document in Microsoft's useless help search engine.

    Any help is appreciated, thank you.
  • 12/16/2007 12:08 AM In reply to

    Re: Can not open any XNA templates. Some XNA function is untrusted?

    This error usually means one of two things:

    1. XNA Game Studio 2.0 is not installed; or
    2. XNA Game Studio 2.0 Beta was installed previously, but didn't uninstall completely before you installed the final release version.

    Either of these is usually resolved by uninstalling XNA Game Studio 2.0 and reinstalling it.

    However, before you do, you should check to see that you get the same error when trying to create any XNA Game Studio 2.0 project, such as a Windows Game (2.0) project. That would definitely confirm a corrupt installation.

     

     

    Stephen Styrchak | XNA Game Studio Developer
  • 12/16/2007 10:30 PM In reply to

    Re: Can not open any XNA templates. Some XNA function is untrusted?

    I cant open XNA templates either, though for another reason. I have Visual C# 2005  and 2008. I know XNA doesn't run on 2008, I use it for other stuffs, but when I try installing the templates they install in 2008, which of course won't let me open them. Do I have to unistall VC# 2008 whenever I want to install a XNA template? or is there a way to make it pick 2005 instead of 2008?

  • 12/16/2007 10:44 PM In reply to

    Re: Can not open any XNA templates. Some XNA function is untrusted?

    Well, I found out templates stored themselves at:

    "C:\Users\[UserName]\Documents\Visual Studio 2008\Templates\ProjectTemplates\Visual C#"

    after installing them, so I just cut/paste them into:

    "C:\Users\[UserName]\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#"

    And as assumed they were removed from VC# 2008 templates and are now in VC# 2005 project templates (took a while to load the first time.)

    EDIT: I use Vista btw, so it should be in My Documents for XP users i think.

  • 3/19/2008 6:00 PM In reply to

    Re: Can not open any XNA templates. Some XNA function is untrusted?

    I have the same problem. Any takers please?
  • 3/20/2008 2:17 PM In reply to

    Re: Can not open any XNA templates. Some XNA function is untrusted?

    Could you please clarify what problem you have? There was (unfortunately) more than one problem mentioned in this thread.

    If you are trying to create a project in VS 2008, you can expect this error. XNA Game Studio 2.0 does not support VS 2008, so if that's where you're seeing the error, there is nothing you can do to avoid it except to use VS 2005.

    If you are using VS 2005, do you only get this error for downloaded starter kits, or do you also get the error when creating Windows Game (2.0) projects?

    Have you made sure that you have XNA Game Studio 2.0 installed (and not the Beta)? Have you tried uninstalling/reinstalling XNA Game Studio 2.0?

     

    Stephen Styrchak | XNA Game Studio Developer
Page 1 of 1 (6 items) Previous Next