当建立在Windows 7上我的VS2008 C#项目,我得到这样的输出:Visual Studio 2008中生成失败,并没有错误输出
------ Build started: Project: C:\...\OutsideWeb\, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/OutsideWeb/js/'.
Building directory '/OutsideWeb/'.
Validation Complete
------ Build started: Project: C:\...\InsideWeb\, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/InsideWeb/js/'.
Building directory '/InsideWeb/'.
Validation Complete
========== Build: 0 succeeded, 2 failed, 3 up-to-date, 0 skipped ==========
如果我建立一个与web.config文件打开时,我得到的线和线这些消息。几分钟前刚刚注意到这一点。
消息1未能找到元素“http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration”的架构信息。 C:\在iis \的Inetpub \ wwwroot的\ SQLEmergencyRequest \ InsideWeb \ Web.config中2 2 C:\ InsideWeb \
我没有得到任何错误或警告,该项目不会启动。任何人都可以指给我一个有用的日志文件去?
让我确认我是否得到它,如果你关闭(web.config)文件来构建项目,那么项目的构建和运行是否正常? – 2010-11-16 12:27:08
打开web.config时会有其他警告,但它不会以任何方式运行。 – Sam 2010-11-16 17:08:48
重建但首先更改配置(x86而不是任何CPU)。 – 2010-11-17 15:09:39