问题标签 [vshost.exe]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
winforms - VS 2012 生成的 App.exe 和 App.vshost.exe 显示形式不同
我有一个用作数据输入向导的表单。它承载一系列面板,每个面板都停靠以填充显示区域。我一直在使用 VS 2010 和 VS 2012 RC 使用显示器,一段时间以来没有任何问题。
但是,我最近安装了 VS 2012 RTM 并遇到了这个奇怪的问题:在 IDE 中使用 F5 运行应用程序时,App.vshost.exe 显示的表单太窄了几个像素,并且会弄乱停靠面板的显示在向导中。直接运行 App.exe 时(通过 IDE 中的 Ctrl-F5 或直接运行 .exe),窗体大小正确。调试和发布配置都会出现同样的问题。
我在 VS 2010 中测试了代码,对于这个特定的向导和页面,App.vshost.exe 和 App.exe 的显示相同。
我已将其缩小为将表单显示为对话框,其中显示的表单将其 FormBorderStyle 设置为 FixedSingle。例子:
在上面的示例中,显示的 SubForm 的大小取决于您运行的是 App.vshost.exe 还是 App.exe。(在我的实际代码中,表单边框样式设置为基本表单的 .Designer.cs 文件的一部分。)
有谁知道为什么编译后的 App.vshost.exe 会以不同的方式显示?更好的是,有谁知道我可以如何调整 VS 2012 以便我可以信任 App.vshost.exe 的显示输出?谢谢!
.net - App.vshost.exe 在 Visual Studio 2012 中加载解决方案时崩溃
比方说,我完全绝望了,在最后一天半的时间里试图调试这个问题,重要的截止日期即将到来......
我正在使用 C# 开发一个针对 4.0 在 Windows 7 64 位和 Visual Studio 2012 上的项目(因此,安装了 4.5 .NET Framework),截至昨天下午,VSHOST 因错误 0xc000007b 崩溃(应用程序无法正确启动...消息)每次我打开解决方案时(如果在加载时被禁用,则启用调试主机)。这只发生在针对 4.0 的应用程序(但它也发生在 4.0 解决方案更改为 4.5,所以它无助于更改为另一个框架版本,我也不能,因为客户端没有(也不能)有 4.5工作站)。
至于应用程序,它是 WinForms,我从 12 月中旬开始使用 VS2012 有一段时间了,一切都很好,直到昨天。至于电脑,我已经将Win7(Pro,SP1)重新安装到香草,然后它工作了一段时间,现在它又崩溃了。我已经运行了内存测试并且计算机通过了它...
当我创建针对 4.5 的 vanilla 项目 (winforms) 时,一切顺利并且加载了 VSHOST。但是将其更改为4.0,即使是香草也开始崩溃...
如果您偶然发现了相同的问题甚至更好的问题,请找到解决方案,请尝试提供帮助。
visual-studio-2012 - 为什么 Visual Studio 2012 会生成 *.vshost.exe?
“启用 Visual Studio 托管进程”未勾选:http: //i.imgur.com/kuGnZZk.png
我错过了什么吗?
请原谅我的问题的简单性。我的 Google-fu 不够强大,无法通过所有“vshost 做什么?”
c# - Visual studio Oracle client 11g use Oracle.DataAccess Intalation/configuration
I'm a bit lost here.
I have a 64-bit Windows 7 and I'm trying to do something on Visual Studio 2008 (I want to build something that works on 32 and 64 bit systems).
I'm also trying to use ODP.net and i had installed, a long time ago, the oracle 11g client, but unfortunatly for me i ended up with 2 oracle clients homes and one oradb home (i did found it to be very confusing, i mean the installation and i remmember i got a lot of troubles during the installations). i tried to correct this by removing what i had extra but never made it, not even with the Oracle uninstall (the official one they provide). Until now i used OLeDB to connect to an oracle DB but i want to start using ODP and so the Oracle.DataAccess.dll.
First i used the 32 bit version and it did not worked, saying it could not load it in the assembly. I found the reason was that my visual studio project properties had to be changed to work only on 32 bit systems. Even this way when i execute the command
I got an error saying that vshost32 crashed.
I then decided to download the ODP-64 bit. This time it did not gave me the assembly error having my project for all types of systems, but the vshost crash happened anyway, although this time it was vshost and not vshost32, guessing visual studio is executing a different one depending on my project properties.
I'm trying to avoid reinstalling everything (oracle clients and vs2008) for 2 reasons. One, untill now i wasn't able to uninstall completely an oracle client, second because i have many work dependent and can't really do it fast enough and 100% sure it will work or it will not make thing worst.
So... any help? Any advice? I'm i missing something? Is the vshost crashing because i failed to install the ODP correctly? I can't find much information on web, basicly i only find code on how to use the ODP.
I would appreciate any help. I do think i should be starting from zero-ground (uninstalling everything) but only if it is safe and fast to do.
==============================================
Not sure its relevant but i found the oracle.dataaccess.dll in both GAC_64 and GAC_32 under C:\Windows\Microsoft.NET\assembly. I can also find the Policy in both cases.
visual-studio-2010 - Visual Studio 在“发布”模式而不是“调试”模式下运行项目
我完全不知道发生了什么。这个问题不知从何而来。我检查了输出窗口,它给了我一些信息:
MyApplication.vshost.exe:托管 (v4.0.30319)' 已退出,代码为 -1073740771 (0xc000041d)
看起来 vshost32.exe 有问题。我已经重新安装了 VS2010,但没有运气。
有人有一些线索吗?当我找到更多信息时,我会更新我的问题。非常感谢所有提前提供帮助的人。
c# - MAF AddIn process exits when running outside vshost
I have a MAF AddIn so i can show a Windows Forms application from WPF app. It all works perfectly when run from Visual Studio in vshost but when I run the app outside VS then most of the time the AddIn process exits:
Do you have any experience with MAF and can possibly explain what kind of difference running it under vshost can make?
c# - PDF IFilter V6 Backgroundworker 线程问题 - 去掉 VSHost?
我目前正在编写一个文件扫描实用程序,并在 WinForms 应用程序中使用 IFilters。
我将扫描文件的代码移到了 Backgroundworker,因为我已经完成了 PDF IFilter 应用程序抛出错误。
这是我在事件日志中遇到的错误:
令人担忧的是,它正在淘汰 VSHost 并且不会在每个 PDF 上发生。其中一些很好。
有没有其他人有这个错误,或者任何人都可以解释可能导致它的原因吗?
c# - Visual Studio Professional 2012 svhost32.exe 错误运行 hello world
我是 Microsoft Visual Studio 的新手,刚刚在我的计算机上安装了 Visual Studio 2012。我正在尝试运行一个简单的 hello world 控制台应用程序。这是我的代码:
当我运行它进行调试或发布时,它会在控制台中正确显示 hello world 但随后立即给我此错误消息:“vshost32.exe 已停止工作” 在研究了问题后我想出了如何进入属性并取消选择“启用 Visual Studio 托管进程”,这似乎可以解决其他人的问题。但是当我再次尝试运行代码时,我得到的只是“HelloWorld 已停止工作”。有人对我接下来可以尝试什么有任何想法吗?这个问题的大多数解决方案都与人们代码中的错误有关,但这似乎有点难以想象,因为它是你好世界。
当我启用本机代码调试时,这是我得到的错误消息:
HelloWorld.exe 中 0x77e3f9f2 处的第一次机会异常:0xC0000008:指定了无效句柄。
这是调用堆栈
这是遵循从微软获取符号的建议后的新堆栈调用。
visual-studio-2010 - Visual Studio 托管进程锁定了我的文件
在每次构建时,我都会将一些托管和非托管库复制到我的 $(TargetDir)libs\ 文件夹中。但是,由于我在 Visual Studio 中引用托管 dll 之一,因此Visual Studio 托管进程( vshost.exe ) 会以某种方式锁定文件,从而导致复制退出代码 1。
我能做些什么呢?