Macro Running slow, then crashing Visual Studio
Wed, 10 Oct 2007 10:37:02 -0700
I wrote a macro to replace a bunch of private members that were moved from a
class into its base class. There's like 70 files that need this macro run in
them. When I run it, it renders to the screen very slowly (like 2 minutes),
then devenv.exe consumes around 1 gb of memory and procedes to crash.
This ...
|
MPLEX doesn't support UNICODE input - What next?
Wed, 10 Oct 2007 14:45:20 +0200
Hi,
I'm starting a Visual Studio Shell project for supporting a language whose
source code is *necessarily* written in UNICODE. The Managed Babel solution
was the best choice for us but I just discovered that MPLEX doesn't yet
support UNICODE. If this is a planned enhancement, when is it scheduled?
It i ...
|
[VSSDK2008] IToolboxService.AddToolboxItem very slow
Tue, 9 Oct 2007 15:27:56 +0200
Hi,
I am migrating my VS2005 package to VS2008 using the VS2008 Beta 2
and the VSSDK2008 August 2007 build.
To do this, I have created a brand new extensibility project.
This package adds items to the VS Toolbox by means of
the IToolboxService.AddToolboxItem() method (called from the
ToolboxInitialized event ...
|
Re: Need help: ToolWindowPane.Show() fails with E_UNEXPECTED
Tue, 09 Oct 2007 10:42:07 -0000
Well, if anyone reads this:
The problem was, that I did not close the windows correctly while the
package was disposing. I closed the toolwindows in the Dispose method
of the package, but this is probably too late. I found the QueryClose-
method, that you can override in a SDK package, and I placed my code
th ...
|
Re: IVsLiteTree interface
Mon, 8 Oct 2007 22:22:09 -0400
Sean,
The IVsLiteTree interface lives in the
'Microsoft.VisualStudio.Shell.Interop' namespace. You should be able to add
that assembly as a reference. If not, you can find the file located at
'C:\Program Files\Visual Studio 2005
SDK\2007.02\VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudi ...
|
Re: Need help: ToolWindowPane.Show() fails with E_UNEXPECTED
Mon, 08 Oct 2007 14:29:08 -0000
After I removed the Parameter MultiInstances from the attribute
[ProvideToolWindow(typeof(ToolWindow))], I could reopen the closed
toolwindow. But then I run into another problem: The window state
(docking) is not restored correctly after the VS startup. I tried to
close the window in the Dispose method of my pa ...
|
Re: QueryEditFiles problem
Mon, 08 Oct 2007 14:28:28 -0000
It is probably looking to see what the editable/readonly status is of
the file. It could be related to determining source control status.
Checked out
Here is some more information related to QueryEditFiles, it lists
reasons why it might be called:
http://msdn2.microsoft.com/en-us/library/microsoft.visualstu ...
|
|
|
Re: Clickonce deployment with isolated shell
Mon, 08 Oct 2007 14:20:25 -0000
On Oct 5, 1:32 pm, "Paul Skelton" <rpskelt...@hotmail.com> wrote:
> Hello,
>
> We'd really like to use the isolated shell but there's a hard requirement
> that we support clickonce deployment. I know there is some documentation on
> deploying COM apps with clickonce but will it be possible to clickonce
> depl ...
|
Re: Need help: ToolWindowPane.Show() fails with E_UNEXPECTED
Mon, 08 Oct 2007 14:02:32 -0000
Ok, after some code changes, I tried the following lines:
Window window = _dte2.Windows.Item(captionOfToolWindow);
window.Activate();
window.Visible = true;
but I still get an error: "Value does not fall within the expected
range." The funny thing is, that as long as the toolwindow was not
closed, the meth ...
|
Getting the current project?
Mon, 08 Oct 2007 13:17:02 -0000
I have been working on a custom tool and editor and I have one way to
load the current project so that I can get to the references, but that
is only working with the custom tool. I need to acces the current
project from the custom editor. What I am currently trying is the
following code.
EnvDTE80.DTE2 dte2 = ...
|