tinaschrepfer on tinali
Remove use of "any" content typ… (compare)
tinaschrepfer on tinali
Merge pull request #169 from Mi… Add sample support for "any" co… (compare)
tinaschrepfer on master
Update VSSDK package and remove… Merge pull request #169 from Mi… (compare)
NoSolutioncontext and then registers for the events of interested. The second approach we use is to leverage the Solution Explorer extensibility, which is completely independent of
VSPackageloading. Export an
IAttachedCollectionSourceProviderand Solution Explorer will call your component quite early. In our case, we actually do want to show a custom virtual node in Solution Explorer, so we're going to implement that interface in such a way that it selectively emits new nodes. In your case, you'd just be using it as a hook to do other work.
Hi, I'm trying to update one of my extensions to VS 2022, but it's crashing at the end when trying to open a help page:
The error message is: Method not found: 'EnvDTE.ItemOperations EnvDTE._DTE.get_ItemOperations()'.
Can I replace this with something else?
I am currently working on a custom multi-project template for VS that I want to use a Wizard Extension with in order to prompt the user to selectively generate the projects. To do so, I've implemented a Root Wizard (
RootWizard class) and Child Wizard (
ChildWizard class). The
ChildWizard class is configured in the
.vstemplate file of each project to be generated, and the
RootWizard is provided in a
WizardExtension template in the top-level
.vstemplate file. Both
ChildWizard have some stuff in common...such as Configuration, logging etc. I wanted to derive an ABSTRACT class,
WizardImplBase that implements
IWizard abstractly, and then derive
ChildWizard off of it. When I do so, however, and then run the Create New Project process in VS, then I bump into the error that VS says "There is no RootWizard class in assembly MyProjectWizard.dll".
Do the Create New Project flow and
.vstemplatenot play nice with an abstract base class implementing
What I am asking for is just a hint to the right approach to solve my task.
I have started to develop a VS extension to simplify the recurring implementation of state machines.
Creating an "Item Template Wizard" was no problem. It creates the folder structures , copies the default files and adjusts their contents, eliminates optional files if they are not needed. So far so good.
But for the further steps the approach of the "Item Template Wizard" seems to be not sufficient.
I want to be able to enter a list of states on the wizard dialog and add a file
State.<Statusname>.cs to the project for each state.
Additionally the state should be added to the enumeration
StatemachineX.States.cs and some special adjustments should be done in
Of course, I want to reuse the code to add individual states during development. But that is a task for the future.
The following illustration shows the project part to be created:
+- any other project files
+- any optional files // default files
+- StatemachineX.States.cs // default file
+- StatemachineX.Events.cs // default file
+- State.Base.cs // default file
+- State.XXXX.xs // default file
+- State.X1 //
+- State.X2 // according to the states enumeration ...
+- State.X3 // defined by the developer
+- ... //
+- State.Xn //
+-StatemachineX.Main.cs // default file - main class of the state machine
If someone has the solution ... please don't tell (before I beg on my knees).
Links to solution approaches on the other hand ...
Hi everyone, I'm trying to get my extension ready for 2022 and I'm having issues with the settings manager.
The exception is a
MissingMethodException claiming that
ShellSettingsManager doesn't have a ctor that takes an
IVsSettingsManager. But judging from the message, the exception acutally seems to relate to this line.