使用函数: System.IOUtils.TDirectory.IsEmpty class function IsEmpty(const Path: string): Boolean; static; 说明:参数为给定目录,返回布尔值 异常处理:指定目录为空或无效 代码: var sDir: string; procedure TForm1.Button1Click(Sender: TObject); begin if not SelectDirectory('', 'H:\', sDir) t
1.The Silverlight 4 SDK is not installed. 打开对应的Build Definition,Process -> Advanced -> MSBuild Platform,设置:X86 2.使用Silverlight Toolkit在xaml上出现类似如下错误: The property 'ContextMenu' does not exist on the type 'Grid' in the XML namespace 'clr-namespace:Sy
CSC : fatal error CS0042: Unexpected error creating debug information file 'xxxx.PDB' -- 'c:\Builds\xxxx.pdb: The process cannot access the file because it is being used by another process. 查看了详细的Build Log, 发现了同样的一文件被build了两次. 原因是 Solution 中的 Project