Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater.终极解决方法

原文地址:http://www.cnblogs.com/kkun/archive/2008/02/21/1076533.html今天想试试XNA2.0好玩不好玩,结果上来就遇到难题,从网上DOWN下来XNA STUDIO后安装一切顺利,之后安装了DX9,一切顺利,新建一个项目,运行,报错!Could not find a Direct3D device that has a Direct3D9 …… 阅读全文

.net 物理引擎收集

ODE介紹:開源免費好用。ODE is an open source, high performance library for simulating rigid body dynamics. It is fully featured, stable, mature and platform independent with an easy to use C/C++ API. It has a …… 阅读全文

pdfsharp开源项目编译报错

好久没有写blog了,靠,为什么那些高手有那么多时间写博客的呢,一时心血来潮也来写两句吧— —|||...最近因项目需要使用了一下pdfsharp,编译报编码错误。因为pdfsharp的代码默认使西欧编码。解决方法:找到出现编码错误的代码,右键-》打开方式-》选择[带编码的功能的CSharp编辑器] -》选择[西欧(Windows)-代码页1252]-》打开cs文件-》拷贝cs页面内容 …… 阅读全文

asp.net web api

1:修改App_Start/WebApiConfig.cs文件,使用json以及修改路由using System;using System.Collections.Generic;using System.Linq;using System.Web.Http;using System.Net.Http.Formatting;using Newtonsoft.Json.Conver …… 阅读全文

System.Security.Cryptography.CryptographicException

项目背景: asp.net mvc升级到5.2.0.0,web.config的System.Web設置了machineKey错误:在cshtml的@Html.AntiForgeryToken()抛出System.Security.Cryptography.CryptographicException异常解决:重置web.config的静态机器码 参考:http:/ …… 阅读全文

去掉VSS代码控制

1:删除.vssscc、vssver.scc 、项目名.csproj.vspscc文件2:.csproj文件删除以下内容 SccProjectName = "SAK" SccLocalPath = "SAK" SccAuxPath = "SAK" SccProvider = "SAK"3:最后在.sln文件中找VSS的相关信息,并将其删除 …… 阅读全文

VS2017下载更新

一:官网地址https://www.visualstudio.com/zh-hans/downloads/二:下载vs下载器比如我们将它下载放在C:\Users\baijinwen\Downloads\vs_community.exe三:下载离线安装文件我们希望将离线安装文件下载到H:\vs2017文件夹, 打开cmd,输入cd C:\U …… 阅读全文

CMD常用命令

一:Windows命令winver---------检查Windows版本wmimgmt.msc----打开windows管理体系结构wupdmgr--------windows更新程序winver---------检 查Windows版本wmimgmt.msc----打开windows管理体系结构wupdmgr--------windows更新程序wscript-- …… 阅读全文