build.xml编译打包时报错: 解决方法: build.xml —— 右键 —— Run As —— External Tools Configuration 在这个页面的顶端就会看到有红叉叉的报错,报错信息就是Specified VM install not found: type Standard VM. 然后选择JRE tab页 在这里可以重新指定所使用的JRE 选定使用的jdk,这样就完成了.…
Xamarin Android 编译报错: COMPILETODALVIK : UNEXPECTED TOP-LEVEL error java.lang.OutOfMemoryError: Java heap space 解决: 用记事本打开 xamarin android的项目文件 *.csproj 找到<JavaMaximumHeapSize>节点,我的配置是空的,加上1G后,编译通过. 参考: The fix was to add this section in your .csproj…
添加OutLook API using OutLook = Microsoft.Office.Interop.Outlook; 发送邮件方法 public void SendEmail() { OutLook.Application app = new OutLook.Application(); OutLook.NameSpace ns = app.GetNamespace("mapi"); ns.Logon("ServerName\\UserName", &qu…