Hello,
I am trying to create a Visual Studio Extension (either Add-In or VSPackage) that will do the following:
1) Find all selected projects in the current solution.
2) Obtain access to each project's app.config or web.config file and modify it.
I have been able to figure out step 1 for both an Add-In and a VSPackage. I haven't manage...
I just finished for creating Visual Studio Integration Package. But I don't know how to create setup project for this. I only test on Visual Studio 2008 SP1 under Experimental hive. Everything works fine.
What's requirements for setup project of integration package?
Provide Key like this
Update
I just found answer about how to inst...
I have a custom domain specific language project which was developed a while back, was deployed and run on the same machine inside the normal Visual Studio hive with no problems.
Server has been reinstalled and I'm trying to setup the environment again, so that the normal hive (which is a Visual Studio VSIP Edition SP1, with Visual Stud...
I'm developing a Visual Studio Integration Package. When I try to run the Unit Tests that are included in the unit test project that is included in the template I get the following failure on the first test:
The test adapter 'VsIdeHostAdapter'
threw an exception while running test
'MenuItemCallback'. Call was rejected
by calle...
Hi,
I have been reading the MSDN documentation on VSPackages about the editors and so-forth, but I am failing to see anything in the samples or on MSDN regarding watching the built-in editors from a VSPackage. It all seems to be information on building custom editors.
I would like to receive notifications when the current selected file...
I'm trying to force a ToolWindow into the right docking area without success using :
windowFrame.SetFramePos(VSSETFRAMEPOS.SFP_fDockRight, ref viewGuid, 0, 0, 0, 0);
But I found out on MSDN that SFP_fDockRight, SFP_fDockLeft and SFP_fDockRight are now obsolete. MSDN doesn't says what to use instead.
I know we can use the registry t...
Is there a way to hide the "X" closing icon of a ToolWindow or is there a way to use IVsWindowFrameNotify3's OnShow method to discard (ignore) the event?
It seems that the OnClose method is called only when VS exit. When the ToolWindow is called, the OnShow method is called with the __FRAMESHOW.FRAMESHOW_WinHidden state.
thanks
...
For the project I'm working on, I want to have a custom form designer.
I want to use WPF to create custom XAML. I don't know exactly which changes will be in the XAML but it will be custom XML tags. At the moment if I add those tags in a XAML file and try to edit it with VS, I get errors.
The custom tag data would come from custom Tool...
I'm trying to use IVsMonitorSelection to know when the user is selection a control (label, textbox, etc.) on the designer. So far I get events when the user click on item from the "Solution Explorer" window and when he click on the designer window, but when the focus is already on the designer window and he select another control, there'...
Hi,
I'm currently developing a VSPackage, and it will have some log-in functionality external to the system, so I thought I would use Client Application Services.
I have followed online tutorials word for word and cannot seem to get a VSPackage to return true for the following:
Membership.ValidateUser("username", "password")
I have ...
I have created VSPackage for my custom editor,
I have written my save code in EditorPane 's
int IPersistFileFormat.Save(string pszFilename, int fRemember, uint nFormatIndex)
method,
when i click save its working fine,
But when i click save all files button from IDE this function wont get call ?
Any idea why ? What is work around for thi...
Hello all,
I have created ToolWindowPane (ToolBar for VS2008) using VSPackage
but I am not able to access current opened file by the user. Is there any way to do this ?
I wrote following code which travels through project and find out all elements in opened solution.
EnvDTE.DTE dte = (EnvDTE.DTE)Microsoft.VisualStudio.Shell.Package.GetG...
Given a type name, is it possible to use DTE to find the ProjectItem that the type is located in? Something similar to how the Navigate To... dialog works in Visual Studio 2010.
The closest I could find is Solution.FindProjectItem, but that takes in a file name.
Thanks!
...
I think the title pretty much says everything. But just to be safe...
I've got a VSPackage developed on my main machine that has the VS2008 SDK SP1 installed on it. When debugging in the experimental hive, all works fine. I got a PLK, applied it, and followed the directions for testing the PLK (i.e. pass in /noVSIP on the command lin...
We are looking to turn an internal tool we have developed into a Visual Studio Package that we would sell to other developers. The tool will impact the custom editor and/or custom languages.
Visual Studio 2010 has redesigned the API's heavily to simplify much of the work involved for these types of integration but the key question we hav...
Arg! I have a custom "harness" executable running my class library project. Every time I step into the harness's code, I get that "No Source Available" pane popping up. As I know there is no source available, and that this is completely expected, I don't want this very intrusive and useless pane popping up every time. How can I suppr...
I have an open source VSPackage that I would like to release with support for Visual Studio 2005, Visual Studio 2008, and Visual Studio 2010. I'm trying to figure out how to create the installer and how to perform the package registration with each edition of Visual Studio.
The deployment research I've done indicates my best bet for an...
Hi everyone.
I'd like to have new project type in MSVS. The instances of this ptoject type would have their own characteristics: such as
- they would be linked against my custom dynamic libraries
- there would be some specific controls for this project type
- and so on...
But all code in this projects would be written in C++.
At fi...
Hi folks. How do you create a VSPackage that has a dependency on functionality in another VSPackage? In other words, if I have VSPackage A that exports a certain feature that I need in VSPackage B, how do I ensure that VSPackage B is loaded first?
Thanks
Matt
...
I am wondering whether the result VSIX artifact of a VSPackage project created and written in Visual Studio 2010 can be deployed to Visual Studio 2008 - provided, of course, that the package does not use/rely on any .NET 4 assemblies?
Alternatively, what other paths may exist, that allow me to create an installable extension targetting ...