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)
await VS.Commands.ExecuteAsync(Microsoft.VisualStudio.VSConstants.VSStd2KCmdID.FORMATDOCUMENT)
in the execute async method. I tried googling that but no luck. Is there any chance anyone here knows why this could be happening? Or any other way to format my document to have a workaround on this issue. Many thanks in advance
Hi, I'm developing a C++ extension for VS2022 which updates the solution dependencies based on the C++ project's libraries. I'm using dte.Solution.SolutionBuild to obtain the solution BuildDependencies. The problem is that it stopped working after recent VS2022 update and it returns null for EnvDTE.BuildDependency.Project. Is there any alternative API how can I access the solution build dependencies and adjust it (add/remove) ?
EnvDTE.DTE dte = await VS.GetServiceAsync<EnvDTE.DTE, EnvDTE.DTE>();
var build = dte.Solution.SolutionBuild;
foreach (EnvDTE.BuildDependency iter in build.BuildDependencies)
{
if (proj.FullPath == iter.Project?.FileName)
return iter;
}
Any help is appreciated :-)
Assembly.Load
calls?
Hello, I have added the Community.VisualStudio.Toolkit to my VSIX project to get the theme styles right, but after adding the nuget package (for vs2022) and inserting the tags as shown in the sample code,
<UserControl x:Class="mine.GeneralOptionsControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:dw="clr-namespace:mine"
xmlns:toolkit="clr-namespace:Community.VisualStudio.Toolkit;assembly=Community.VisualStudio.Toolkit"
toolkit:Themes.UseVsTheme="True"
I get XAML errors: error MC3072: The property 'Themes.UseVsTheme' does not exist in XML namespace 'clr-namespace:Community.VisualStudio.Toolkit;assembly=Community.VisualStudio.Toolkit'.
any ideas what I am doing wrong?
Hi folks! I am setting up extension publishing pipeline to Marketplace using VsixPublisher. When I run it, I get the following error:
VSSDK: error VsixPub0029 : An error occurred while communicating with the marketplace: vsixId: The VSIX ID in the provided file is already in use. Every extension needs to have an unique ID. Provide a file with an unique ID.
I have published extension previously via Marketplace but it seems it tries to publish as a new, instead of updating the old one. I am publishing using the same extension ID as well as bumped up version. Do you know what could be the problem? Thank you!
@SteveTrautmanPEI Not sure about C++ but you can use IVsEditorFactory and WindowPane to host a WPF control. I have a prototype of it but can't share that particular project. Maybe search GitHub for an example.
I saw this yesterday and it's a great API to make life simpler and has an example of a menu, or just create the sample project template.
https://docs.microsoft.com/en-us/visualstudio/extensibility/vsix/get-started/first-extension?view=vs-2022
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.interop.ivseditorfactory?view=visualstudiosdk-2022
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.windowpane?view=visualstudiosdk-2022
Hello! I am new to visual studio extensions and have an idea of extending the visual studio debugger but am having a hard time finding any samples for this kind of extension. Can someone here point me in the right direction? Would be highly appreciated.