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)
System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Setup.PackageFailureException: Package 'Microsoft.Net.Core.SDK.2.1' failed to install
even if the vsixmanifest has no dependencies or prerequisites :) happens on some installations on VS 2017
@yannduran interestingly, vsix installer fails with
System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Setup.PackageFailureException: Package 'Microsoft.Net.Core.SDK.2.1' failed to install
even if the vsixmanifest has no dependencies or prerequisites :) happens on some installations on VS 2017
Similar error is reported to Visual Studio Community. So make sure you have the latest version of Visual Studio 2017. Also you can try repairing or completely reinstalling the instance.
I'm working on an extension that has a ToolWindow and a Team Explorer integration. If Visual Studio starts up with the Team Explorer panel visible and this extension's ToolWindow not visible, the Team Explorer portion of the extension initializes, but the main extension Package is not initialized until the ToolWindow is shown.
Is there a way to force activate the Package if needed when the Team Explorer code is activated?
@zombiepaladin Maybe this will return what you need? Environment.UserDomainName
@InTheCloudDan , that gets the signed-in Windows user, which might be the same user as the university user. But if they had their own laptop with a different user before they installed Visual Studio, it would not be the Microsoft account they signed into Visual Studio with...
Clean Solution
operation with deleting bin & obj folders.InitializeAsync
where I subscribe to BuildEvents.OnBuildDone
.@aguinet I have to deal with this situation, in terms of keeping compatibility, it's very hard to maintain honestly. The best advice I can offer you is if you can build in VS2017 then it will build on VS2019 and be able to run on VS2017. The most common issue if developing new features and finding out this API does not exist in VS2017.
Thanks for your answer! We ended up by installing both VS2017/2019 build tools + extension SDK in our builder..
UserControl
in a IPropertyPage
. I use it for my Project Properties dialog. If my UserControl
is based on Winforms
it works fine, however it has DPI issues. A WPF
based UserControl
does not display itself. I have tried using UIElementDialogPage
, that also does not help. Any suggestions how should I solve this issue?
VSPackage
initialization, and I am unable to find any APIs/samples to do so.
Just to clarify are you trying to add a tab to the project properties tab? Or to the properties window?
Maybe VS2019 Add Project Property page could help point you in the right direction, if you haven't seen it already? Or Modifying project properties of custom project system in VisualStudio ? They may not be exactly what you need, but something may spark an idea.
ElementHost
control in WinForms. I already had created the whole property page with WinForms and it worked fine. However, the issue which caused me to rethink the UI was high DPI screens e.g. a 1080p screen with 125% Scaling on Windows 10. Traditional WinForms controls do not scale well and the controls look for overlapped. Thankfully, I was able to resolve it by creating a WPF based user control and use it via the ElementHost
in WinForms. It scales correctly after that, even on a scaling of 300% on a 2160p screen.