YW.SDK.weixin 2024/3/12 22:09:18: System.IO.IOException: 文件“D:\HD.WX.Web\Logs\Log\2024\3\12\202403122209189610.txt”正由另一进程使用,因此该进程无法访问此文件。 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append) 在 System.IO.File.CreateText(String path) 在 YW.Common.SysLogs.LogLogWriteln(String text) 位置 d:\微信开发\微信\YW.Common\SysLogs.cs:行号 36 在 YW.SDK.AutoResponse.AutoSendMsg(SendXML sendXML) 位置 d:\微信开发\微信\YW.SDK\AutoResponse.cs:行号 105 在 YW.SDK.AutoResponse.AutoReply() 位置 d:\微信开发\微信\YW.SDK\AutoResponse.cs:行号 68 在 YW.SDK.weixin.ResponseMsg(RequestXML requestXML) 位置 d:\微信开发\微信\YW.SDK\weixin.cs:行号 344