草庐IT

clr-module-initializer

全部标签

windows - 无法加载 DLL 'e_sqlite3' : The specified module could not be found

我有一个XamarinForms解决方案。我添加了sqlite-net-pcl作为所有项目的引用。它在Android上运行良好,但在Windows8.1和WindowsPhone8.1上崩溃。我有一个IOS项目,但我目前没有OSX来尝试。我在Windows项目中使用它来访问数据库:usingSystem.IO;usingSQLite;usingXamarin.Forms;usingHelloXamarin.Windows;usingWindows.Storage;[assembly:Dependency(typeof(SQLiteDb))]namespaceHelloXamarin.W

node.js - 有没有办法在不从本地驱动器打开每个项目的情况下删除所有 node_module?

我有多个使用node_modules的项目,我一个月都没有碰过。如果我只能删除node_module可以节省我的5到8GB存储空间。我找到了CommandlinetooltodeletefolderwithaspecifiednamerecursivelyinWindows但这显示删除特定文件夹中的文件,如D:\Project\Doing\prject1\D:\Project\Complete\Project1\FOR/d/r.%dIN(project1)DO@IFEXIST"%d"rd/s/q"%d"Butidon'twanttosearcheverydirectorytolookf

c++ - "unable to initialize application 0xc000005"

我为SFML编写了一个包装器,如果需要,它可以让我替换我的游戏的渲染器。有效。然后我重构,虽然它仍在编译,但我现在在运行编译的可执行文件时得到“无法初始化应用程序0xc000005”。什么会导致这样的错误?谷歌没有帮助。我使用的是WindowsXP。 最佳答案 0xc000005是ERROR_ACCESS_VIOLATION--你在某处有一个野指针。 关于c++-"unabletoinitializeapplication0xc000005",我们在StackOverflow上找到一个类

c# - ICorProfilerCallback2 : CLR profiler does not log all Leave calls

我正在尝试编写一个记录进程中所有.Net方法调用的分析器。目标是使其具有高性能,并在内存中保留最后5-10分钟(固定缓冲区,循环覆盖旧信息),直到用户触发将该信息写入磁盘。预期用途是追踪很少重现的性能问题。我从https://github.com/appneta/SimpleCLRProfiler的SimpleCLRProfiler项目开始.分析器使用.Net分析的ICorProfilerCallback2回调接口(interface)。我让它在我的环境中编译和工作(Win8.1、.Net4.5、VS2012)。但是,我注意到有时记录了Enter调用的Leave调用会丢失。Consol

windows - .ebignore 不跳过 node_modules (Amazon)

当我尝试运行ebcreate(Windows)时,出现以下错误:ERROR:FileNotFoundError::[WinError3]Thesystemcannotfindthepathspecified:'./website\\frontend\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\sass-graph\\node_modules\\yargs\\node_modules\\read-pkg-up\\node_modules\\read-pkg\\node_modules\\normaliz

c++ - 寻找 "The specified module could not be found"的 dll

这个问题在这里已经有了答案:UnabletoloadDLL(ModulecouldnotbefoundHRESULT:0x8007007E)(20个答案)关闭1年前。我有一个调用C++dll的32位.Net应用程序winform。我们将该应用程序打包到一个安装程序中,它在至少20台左右的机器上安装和运行良好。该应用程序最初是在Win7x64机器(我的)上开发并运行良好的。但是,当我在老板桌面(Win7x64)上运行它时,应用程序将无法启动。哦是的...当我尝试启动应用程序时,我得到一个JIT对话框System.IO.FileNotFoundException:找不到指定的模块。(HRE

c++ - Windows下编译时如何使用CMake的pkg_search_module()?

我正在编写一个使用SDL2和CMake的游戏。为了链接和包含SDL2,我使用以下CMake代码:include(FindPkgConfig)pkg_search_module(SDL2REQUIREDsdl2)target_link_libraries(MYLIBSDL2)在Linux(Fedora)下编译时,这非常有效。但是Windows呢?我没有DLL/a文件和包含文件夹的标准系统位置。甚至没有pkg​​-config。这是我得到的错误:CouldNOTfindPkgConfig(missing:PKG_CONFIG_EXECUTABLE)checkingforoneofthemo

windows - 属性错误 : 'module' object has no attribute 'testmod' Python doctest

每当我尝试在python中进行doctest时,基本上每当我运行代码时if__name__=="__main__":importdoctestdoctest.testmod()我从口译员那里得到了这个回应AttributeError:'module'对象没有属性'testmod'我可以很好地运行这段代码,但是每当我在我的Windows机器上运行它时,它就无法运行。我的机器运行的是Windows他们的是OSX,但运行的是python2.7.5。谢谢你:) 最佳答案 确保您没有尝试将测试文件保存为doctest.py。上面建议的打印语句

node.js - 没有嵌套 node_modules 的 NPM 安装包

我遇到了Windows路径字符限制。例如,当我运行“gulp”安装时,通过npminstall--save-devgulp在“C:\Users\MyUsername\VisualStudio2015\Projects\MyProject”这样的文件夹中,我发现所有的依赖关系都嵌套得很深,比如:C:\Users\MyUsername\VisualStudio2015\Projects\MyProject\node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modul

c# - 嵌入 IronPython,内置帮助命令,我的 CLR 对象

我将IronPython(2.6.1)嵌入到C#程序集中,并将多个对象暴露给使用PythonEngine.ExecuteFile执行的脚本。我用scope.SetVariable("SomeObject",newSomeObject())或engine.Execute("fromMyNamespaceimportSomeObject",scope)取决于脚本如何使用它们。我的应用程序集被添加到引擎中engine.Runtime.LoadAssembly(Assembly.GetExecutingAssembly())现在脚本可以执行help(SomeObject)并转储漂亮的小帮助信息