从32位到64位时的绊脚石(Stumbling points when going from 32 to 64 bit)
我最近收到了一台运行Windows 7的PC用于未来的开发,因为这将更接近我们的生产环境。 我正在为我的旧机器(Windows XP 32位)上的解决方案工作,但决定开始使用新的盒子来尝试解决任何问题。 我在两个盒子上安装了visual studio 2008。
我正在使用的解决方案使用32位的NServiceBus。 开发盒上安装的oracle驱动程序虽然是64位,但这给我带来了很多麻烦。 我得到NserviceBus无法加载64位oracle dll的运行时错误。 我已经尝试过我能想到的解决方案平台和目标平台的每个组合。 我确实在一周前完成了它的工作,但我已经解除了更改并重新加载了一个搁架,我无法让它再次工作。
我正在寻找在这种混合环境中工作的一些通用指南,提示和技巧。 如果引用它们的项目使用32位汇编,我是否需要返回并将项目设置为32位? 等等。感谢任何指导。
I recently received a PC running Windows 7 for future development as this will be closer to our production environment. I was in the middle of working on a solution on my old machine (Windows XP 32 bit), but decided to start working on it with the new box to try to work out any kinks. I have visual studio 2008 installed on both boxes.
The solution I'm working on uses NServiceBus which 32 bit. The oracle drivers installed on the dev box are 64 bit though and this has been giving me a lot of trouble. I get run time errors that NserviceBus can't load the 64 bit oracle dll. I have tried every combination of Solution Platform and Target Platform I can think of. I did actually get it working perfectly about a week ago, but I have since undid changes and reloaded a shelveset and I can't get it working again.
I'm looking for some general guidelines, hints, and tips for working in this mixed environment. Do I need to go back and set projects to build as 32 bit if a project that references them makes use of a 32 bit assembly? Etc. Thanks for any guidance.
原文:https://stackoverflow.com/questions/3267222
最满意答案
首选项\编辑器\颜色和字体\文件状态\已修改
确实是正确的条目,但在Apply / OK之后它不会传播。 必须关闭文件列表并重新打开它。
Preferences\ Editor\ Colors&Fonts\ File Status\ Modified
is indeed the right entry, but it doesn't propagate after Apply/OK. One must close the filelist and reopen it.
相关问答
更多-
URI方案不是“文件”(URI scheme is not “file”)[2023-03-21]
URI“scheme”是在“:”之前出现的,例如“http://stackoverflow.com”中的“ http ”。 该错误消息告诉你, new File(fileUri)仅适用于“file:”URI(指当前系统上的路径名),而不是其他方案(如“http”)。 基本上,“file:”URI是指定File类路径名的另一种方式。 这并不是告诉File使用http从Web获取文件的一种神奇方式。 The URI "scheme" is the thing that comes before the ":", ... -
PyCharm文件方案(PyCharm file scheme)[2023-08-17]
首选项\编辑器\颜色和字体\文件状态\已修改 确实是正确的条目,但在Apply / OK之后它不会传播。 必须关闭文件列表并重新打开它。 Preferences\ Editor\ Colors&Fonts\ File Status\ Modified is indeed the right entry, but it doesn't propagate after Apply/OK. One must close the filelist and reopen it. -
文件Uri方案和相对文件(File Uri Scheme and Relative Files)[2023-11-10]
简而言之,文件URL的格式为: file://localhost/absolute/path/to/file [ok] 或者你可以省略主机(而不是斜杠): file:///absolute/path/to/file [ok] 但不是这样: file://file_at_current_dir [no way] 也不是: file://./file_at_current_dir [no way] 我只是通过Python的urllib2.urlopen() http://en.wikipedia.org ... -
你的错误包含这个: Cannot run program "/home/my_name/PycharmProjects/untitled/venv/bin/python" 这表明,你的文件没有问题,但是,pycharm却找不到python解释器。 它被配置为在项目文件夹“无标题”中使用venv,正如你所说,它被删除。 你应该选择另一位口译员 Your error contains this: Cannot run program "/home/my_name/PycharmProjects/untitle ...
-
PyCharm不支持nose-testconfig,我需要一个替代方案(PyCharm does not support nose-testconfig and I need an alternative)[2022-09-18]
Pycharm支持nose-testconfig。 它必须在Run-> Edit configurations-> Defaults-> Python tests-> Nosetests中配置,选中Params复选框并在那里设置所需的信息“--tc-file = deafault.ini” Pycharm do support nose-testconfig. It has to be configured in Run->Edit configurations->Defaults->Python test ... -
文件I / O操作 - 方案(File I/O operations - scheme)[2023-11-02]
它主要是针对具体实现的。 鉴于您使用的是球拍,请参阅指南部分和参考手册 。 It's mostly implementation-specific. Given that you're using racket, see the guide section and the reference manual. -
您可能希望将content://转换为file:// 对于图库图片,请尝试以下方法: Uri myFileUri; Cursor cursor = context.getContentResolver().query(uri,new String[]{android.provider.MediaStore.Images.ImageColumns.DATA}, null, null, null); if(cursor.moveToFirst()) { myFileUri = Uri.parse(cur ...
-
在pycharm中使用docker获取不受支持的协议方案错误(Getting Unsupported protocol scheme error with docker in pycharm)[2023-07-30]
升级到PyCharm 2017.1.2后发生在我身上 我已经通过配置Python解释器解决了这个问题 - 点击Server下拉菜单附近的“New ...”。 这将打开一个新的对话框,其中证书文件夹文本字段的值为“〜/ .docker” - 清空该值并单击确定。 (另请参阅https://www.jetbrains.com/help/pycharm/2017.1/docker-2.html ,其中声明此项目已被弃用且应为空) I raised a bug for this on jetbrains when ... -
我想我是个白痴。 看起来在打开目录/项目时,如果我没有选择具有repo的git元数据的正确目录,则它不会显示颜色差异。 Mods可以关闭这个问题,因为这是由于操作员错误/愚蠢。 I think I'm an idiot. Looks like when opening directories/projects, if I don't choose the correct directory with the git metadata for the repo, it doesn't show the col ...
-
找到解决方案 - 这里是否有其他人会遇到同样的错误:尝试在eclipse中使用scheme48时有两步: 安装插件 - 只需按照http://s48.org/sdt/ 安装解释器 - 我终于发现2我可以使用: scheme48(我使用ubuntu所以我在命令行输入了scheme48,它给了我需要安装的软件包(我认为它是sudo apt-get install scheme48 ))。 然后在eclipse中打开首选项并转到scheme48-> interpreter并检查命令行是否为scheme48。 gu ...