vcredist_arm.exe 不是有效的Win32应用程序
今天遇到一个错误:vcredist_arm.exe 不是有效的Win32应用程序。查阅后,了解了一些信息。 Microsoft Visual C++ 2012 Redistributable (arm) 是vc运行库,部署应用程序时,需要部署支持该应用程序所需的文件。 如果其中有一些文件由 Microsoft 提供,需要检查是否允许你重新发布这些文件。 如果……
error LNK2038 检测到_MSC_VER 的不匹配项: 值1800不匹配值1700
项目原本的平台工具集设置为V120,修改为v110后发生错误:错误 146 error LNK2038: 检测到“_MSC_VER”的不匹配项: 值“1800”不匹配值“1700”(AssemblyInfo.obj 中) CefSharp\CefSharp.Core\libcef_dll_wrapper.lib(libcef_dll_wrapper.obj)……
error MSB8020: The builds tools for v120 错误
从Git获取的CefSharp项目源码,用VS2012 打开,生成时候报错:错误 1 error MSB8020: The builds tools for v120 (Platform Toolset = ‘v120‘) cannot be found. To build using the v120 build tools, ei……
CefSharp ChromiumWebBrowser设置Cookie的方式
C# Winform 开发中使用到了开源控件 CefSharp,用于模拟浏览器操作,目标网站需要登录,Cef中有专门的Cookie管理接口,即ICookieManager,设置Cookie的方法在接口中的定义如下: // // 摘要: // Sets a cookie given a valid URL and explicit user-provided ……
C# Winform 运行异常 CefSharp.core.dll 找不到指定的模块
C# Winform开发中使用了CefSharp,之前在VS2012中运行很正常,今天换了一台Windows XP 打开VS2010 运行时,发生异常:System.IO.FileNotFoundException;Coloud not load file or assembly ‘CefSharp.core.dll’ or one ……
Nhibernate LINQ DateTime.AddDay 异常 NotSupportedException
在C# Nhibernate开发中使用了linq 查询,我需要对比2个DateTime类型的时间,其中用到DateTime.AddDay(),代码如下: <code>var patients = from c in session.Query<Patient>() where c.DateAdded.AddDays(1) < c……
XP系统 VS2010 NuGet 提示需要PowerShell 2.0
之前程序在VS2012开发使用过程中一切正常,换了一台XP系统电脑,环境VS2010,使用NuGet时出现错误:Error: The Package Manager Console requires PowerShell 2.0 runtime, which is not detected on this machine. Please install th……