痛苦的Windows下的temp目录
2007不能运行了,错误:
[MSBuild Error] “DCC”任务意外失败。
System.Configuration.ConfigurationErrorsException: 配置系统未能初始化 ---> System.Configuration.ConfigurationErrorsException: 无法识别的配置节 startup。 (D:\Program Files\Borland\BDS2007liteV8\bin\bds.exe.Config line 2)
在 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
在 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
在 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
在 System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
在 System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
在 System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
在 System.Diagnostics.DiagnosticsConfiguration.Initialize()
在 System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()
在 System.Diagnostics.Switch.InitializeConfigSettings()
在 System.Diagnostics.Switch.InitializeWithStatus()
在 System.Diagnostics.Switch.get_SwitchSetting()
在 System.Diagnostics.BooleanSwitch.get_Enabled()
在 System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
在 System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
在 System.Xml.Serialization.XmlSerializer..ctor(Type type)
在 Borland.Build.Tasks.Common.Metadata.TaskFactory.get_Metadata()
在 Borland.Build.Tasks.Common.ToolTaskManager.GetMetadata(String name)
在 Borland.Build.Tasks.Common.BaseTask.get_Metadata()
在 Borland.Build.Tasks.Delphi.DCC.TargetOutOfDate()
在 Borland.Build.Tasks.Common.BaseTask.SkipTaskExecution()
在 Microsoft.Build.Utilities.ToolTask.Execute()
在 Borland.Build.Tasks.Common.BaseTask.Execute()
在 Borland.Build.Tasks.Delphi.DCC.Execute()
在 Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
其中蛛丝马迹就是windows目录下有个temp目录被什么电脑管家之类的把权限收掉了,导致这样的错误!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报