09 2012 档案
摘要:编写项目Build Events的Pre-build、Post-build时如果使用copy命令必须为绝对路径,比如预定义宏OutDir,编写如下命令:copy "$(SolutionDir)BuildLibrary" "$(OutDir)"得到exit code 1的提示,因为$(OutDir)返回相对路径,比如:“Bin\Debug\”。相对路径无法成功执行,只需要修改为如下命令:copy "$(SolutionDir)BuildLibrary" "$(TargetDir)"
阅读全文
摘要:由于某种架构的需要,许多视图(.cshtml)被分布到不同的类库项目中,在项目编译时通过post-build复制到启动项的指定目录。部分开发人员在一些项目中修改视图时出现无法智能提示。Views文件夹下有Web.config,当打开某个.cshtml文件出现提示:“ASP.NET runtime e...
阅读全文
摘要:基于TFS管理的解决方案打开时提示:“some of the properties associated with the solution could not be read”,并不影响项目加载,Output Window也没有多余提示。用记事本打开解决方案文件,查找“GlobalSection(TeamFoundationVersionControl)”,你会发现多处定义,只保留最顶部,删除重复定义。
阅读全文
摘要:开发人员提交一个dump文件(Windows Server 2008 R2),当前调试环境Windows Server 2012,加载sos.dl执行~* e !clrstack,提示如下错误:Failed to load data access DLL, 0x80004005Verify that 1) you have a recent build of the debugger (6.2.14 or newer) 2) the file mscordacwks.dll that matches your version of clr.dll is ...
阅读全文