vs2012 XNA

When I install vs2012 with XNA. it has some issue. With the stackoverflow site, I find the solution, but it still have an issue, seems xna dll does not configured successfully. The issue like "The project type is not supported by this installation" or "could not load successfully", so I give you a way to solve. You can just add the dll to GAC, so that everything will be fine.

1. First of all, check the public key token is the same as you want: 

C:\Windows\System32>"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NET
FX 4.0 Tools\x64\sn.exe" -T "D:\Program Files (x86)\Microsoft Visual Studio 10.0
\Common7\IDE\VPDExpressExtensions\Microsoft\XNA Game Studio 4.0\Microsoft.Xna.Ga
meStudio.Core.dll"

Microsoft(R) .NET Framework 强名称实用工具 版本 4.0.30319.1
版权所有(C) Microsoft Corporation。保留所有权利。

公钥标记为 6d5c3888ef60e27d

 

2. install the dll to GAC:

C:\Windows\system32>"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NET
FX 4.0 Tools\x64\gacutil.exe" -i "D:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE\VPDExpressExtensions\Microsoft\XNA Game Studio 4.0\Microsoft.X
na.GameStudio.Core.dll"
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.17929
Copyright (c) Microsoft Corporation. All rights reserved.

Assembly successfully added to the cache

C:\Windows\system32>

this is very easy to have you solve the issue.

转载于:https://www.cnblogs.com/knightluffy/p/3203567.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值