我昨天调试程序还是非常正常的呢
今天突然蹦出来这个
我一DEBUG就告诉我这个错误
[QUOTE]“DefaultDomain”: 已加载“c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll”,未加载符号。
“Sms2cn”: 已加载“D:\Workspace\c#\Sms2cn\bin\Debug\Sms2cn.exe”,符号已加载。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll”,未加载符号。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll”,未加载符号。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll”,未加载符号。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll”,未加载符号。
“Sms2cn.exe”: 已加载“d:\workspace\c#\sms2cn\bin\debug\interop.jmail.dll”,未加载符号。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll”,未加载符号。
“Sms2cn.exe”: 已加载“c:\windows\assembly\gac\mscorlib.resources\1.0.5000.0_zh-chs_b77a5c561934e089\mscorlib.resources.dll”,未加载符号。
System.IO.FileNotFoundException: 找不到文件或程序集名称“Sms2jp”,或找不到它的一个依赖项。
文件名: “Sms2jp”
at Orangetree.Sms2cn.SmsDeal.StartDeal()
at Orangetree.Sms2cn.Form_main.button1_Click_1(Object sender, EventArgs e) in d:\workspace\c#\sms2cn\form1.cs:line 750
=== Pre-bind state information ===
LOG: DisplayName = Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = D:\Workspace\c#\Sms2cn\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Sms2cn, Version=1.0.2475.24176, Culture=neutral, PublicKeyToken=null.
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.EXE.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.EXE.
System.IO.FileNotFoundException: 找不到文件或程序集名称“Sms2jp”,或找不到它的一个依赖项。
文件名: “Sms2jp”
at Orangetree.Sms2cn.SmsDeal.StartDeal()
at Orangetree.Sms2cn.Form_main.button1_Click_1(Object sender, EventArgs e) in d:\workspace\c#\sms2cn\form1.cs:line 750
=== Pre-bind state information ===
LOG: DisplayName = Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = D:\Workspace\c#\Sms2cn\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Sms2cn, Version=1.0.2475.24176, Culture=neutral, PublicKeyToken=null.
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.EXE.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.EXE.
System.IO.FileNotFoundException: 找不到文件或程序集名称“Sms2jp”,或找不到它的一个依赖项。
文件名: “Sms2jp”
at Orangetree.Sms2cn.SmsDeal.StartDeal()
at Orangetree.Sms2cn.Form_main.button1_Click_1(Object sender, EventArgs e) in d:\workspace\c#\sms2cn\form1.cs:line 750
=== Pre-bind state information ===
LOG: DisplayName = Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = D:\Workspace\c#\Sms2cn\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Sms2cn, Version=1.0.2475.24176, Culture=neutral, PublicKeyToken=null.
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Sms2jp, Version=1.0.2460.20289, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.DLL.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp.EXE.
LOG: Attempting download of new URL file:///D:/Workspace/c#/Sms2cn/bin/Debug/Sms2jp/Sms2jp.EXE.
程序“[3744] Sms2cn.exe”已退出,返回值为 0 (0x0)。[/QUOTE]
快帮俺看看什么问题
SmsDeal类的内容 帮我看看吧
[CODE]using System;
using System.Windows .Forms ;
using System.Data ;
using System.Data .SqlClient ;
using System.Collections ;
using System.IO ;
using System.Text ;
using System.Text .RegularExpressions ;
namespace ***
{
/// <summary>
/// /// </summary>
public class SmsDeal
{
public SmsDeal()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
/// <summary>
/// 处理主程序
/// </summary>
/// <returns>是否正常结束</returns>
public static bool StartDeal()
{
return true;
}
}
}[/CODE]
[此贴子已经被作者于2006-10-11 15:21:25编辑过]