Quantcast
Channel: Visual Studio Integrate forum
Viewing all 4410 articles
Browse latest View live

"Break when value changes" in Custom Debug Engine

$
0
0
What do I need to do to enable "Break when value changes" https://devblogs.microsoft.com/cppblog/data-breakpoints-15-8-update/ in a custom debug engine or custom vsix?

I saw this post from a while back that made me think that there is some reg value I have to edit to get this enabled but so far haven't found the thing to edit: https://social.msdn.microsoft.com/Forums/vstudio/en-us/0529285d-be50-4ccb-8bbd-d5f36df031f8/data-breakpoint-in-custom-debug-engine?forum=vsx

(basically for the post linked, to get "New DataBreakpoint" to be enabled, you have to go to the pkgdef file and adding "DataBP=1")

Owin Middleware Delays Controller Actions

$
0
0

I have developed a web site using Owin Security as middleware and using its Cookie Authentication. It is working fine on my local laptop (Windows 10) but when I deploy it to a Windows Server (2019), it is extremely slow. If I comment out the Owin Authentication (part of the codes listed below) from the Startup class, the response is fine but since this is not okay as I need to have authentication. Based on the log file content I program to generate, it looks like every time when I clicked on a link on a page, it delays about 30 seconds before my controller action kicks off - no matter what the controller action does, the delay is about the same. Anybody knows what causes the delay? I suspect it is the Owin Middleware but it is working fine on my laptop, which tells me something is wrong on the server too. Could you offer some hints as to where I should look into? Thanks!!

BTW - I also have a Web API web site on the same server and it also uses the OWIN Auth but the token authentication. The web api web site seems working fine and it is very responsive. 

            app.CreatePerOwinContext(ApplicationDbContext.Create);
            app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create);
            app.CreatePerOwinContext<ApplicationSignInManager>(ApplicationSignInManager.Create);

            System.Web.Helpers.AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
            app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                LoginPath = new PathString("/Account/Login"),
                Provider = new CookieAuthenticationProvider
                {
                    OnValidateIdentity = SecurityStampValidator.OnValidateIdentity<ApplicationUserManager, ApplicationUser>(
                        validateInterval: TimeSpan.FromMinutes(30),
                        regenerateIdentity: (manager, user) => user.GenerateUserIdentityAsync(manager))
                }
            });
            app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);

Signing VSIX installer.

$
0
0

Dear experts,

I have a VSIX extension that installs and works fine in VS2017-19. However, in the installer wizard window the Digital Signature line is "none". I decided to try to sign it with a self-signed certificate. I generated a self-signed certificate with Powershell New-SelfSignedCertificate commandlet. After that, I used VsixSignTool like that:

vsixsigntool sign /v /f Unicomsi.pfx /p <password> /fd sha256 MyVSIX.vsix

The VsixSignTool output upon completion was:

The following certificate was selected:
        Issued to  : www.unicomsi.com
        Issued by  : www.unicomsi.com
        From       : Wed Sep 18 10:55:49 2019
        Expiry     : Fri Sep 18 11:15:49 2020
        Sign Method: RSA/SHA256
        SHA1 hash  : ac ae 6b af 26 e0 89 ef  ac d4 ef cb c7 e0 6f 26
06 1d 69 b8


VsixSignTool Success: Package "PurifyPlusVSIX.vsix" was signed successfully.

Number of files successfully Signed: 1
Number of errors: 0

So far so good. Now, when I start MyVSIX.vsix, the installation wizard comes up and in the Digital Signature line I see the following: "Invalid Certificate". This is more troublesome than "none".

I have the following questions:

1. Is it possible to sign a VSIX installer with a sefl-signed certificate?

2. If certificate is not valid, why vsixsigntool reports success? This is very confusing.

3. Is there a way to diagnose VSIX digital signature and find more details on what makes a certificate invalid?

Thank you,

Victor

How to change Namespace of T4 Template

$
0
0

In my solution, i have nested folders to seperate templates but I want to give different namespaces to the the T4 template or to the class which is generated through that template..

How i can do that ?

 

Currently it is auto taking the namespaces based on the folder structure, which is not what i want..

 


IMP : There might be a delay in posting replies due to time difference (GMT +2:00) and Friday's Holiday instead of Sunday.

Issue in Visual Studio SSDT

$
0
0
While working on SSIS package on Visual studio 2017 *SSDT) build 15.9.15, I found an issue. When you create any Data Flow Task and assign any database server and go for the table, It is not showing the table list even though the connection is proper and succeeded. Is there any solution to that? It is also there in 15.9.11. But It is perfectly working fine in SSDT 15.9.4. 

DpiAwareness: Type exists in two assemblies

$
0
0

Hi,

recent changes in VS2019 introduced DpiAwareness for VS Extensions. However, legacy/WinForms controls won't work out of the box: Currently, those controls are not rendered (they remain blank/transparent). Some info can be found here: Resharper-Blog_DpiAwareness

There is a proposed solution from Microsoft which sounds fine but doesn't work for me, because I get the error: "The Type DpiAwareness exists in both Microsoft.VisualStudio.DpiAwareness [...] and Microsoft.VisualStudio.Utilities [...]". Both of these references are, however, "part of the BulidSystem" and cannot be removed.

So how can I resolve this conflict? My project basicall references Microsoft.VisualStudio.SDK and Microsoft.VSSDK.BuildTools.

Or is there any other way to disable/change/whatever DpiAwareness so that my WinForm ToolWindows will show up again?

I am also aware of the Option "Optimize rendering for screens with different pixel densities...", but I don't want the customers to change settings to make my windows show...

Thanks and regards,

f_max

IVsUIShellOpenDocument.OpenDocumentViaProject taskbar issue

$
0
0

Hi,

I have a strange issue regarding documents that are opened via IVsUIShellOpenDocument.OpenDocumentViaProject. In brief, I am using the IVsUIShellOpenDocument to open a document and then I use this document to host inside my user control. This works great except that now I have an issue when user tries to open the same document via solution explorer - icon and window frame title are shown on the taskbar, although there is no visible window.

So, here's what I am doing:

First I call:

IVsUIHierarchy hierarchy = null;
uint itemid;
Guid logicalView = Guid.Empty;
IVsWindowFrame windowFrame;
Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp;

ErrorHandler.ThrowOnFailure(shellOpenDoc.OpenDocumentViaProject(TargetFile, ref logicalView, out psp, out hierarchy, out itemid, out windowFrame));
 

This will give me the correct IVsWindowFrame object which I then associate with my parent window:

windowFrame.Hide();

var window = VsShellUtilities.GetWindowObject(VisualStudioServices.Frame);
windowFrame.SetProperty((int)__VSFPROPID2.VSFPROPID_ParentHwnd, window.HWnd);
windowFrame.SetProperty((int)__VSFPROPID2.VSFPROPID_ParentFrame, VisualStudioServices.Frame);

In this way any "navigation" done by VS will be correctly dispatched to my user control, but there is a catch, now if someone double-clicks on the same document in the solution explorer an icon with the window frame title will be shown in the windows taskbar. It would be like document is explicitly opened in the VS (not docked inside the VS). So, now, for every open document that is hosted by my user control if user double-clicks the solution explorer (or in "find all references" window for instance), there will be a new taskbar item. Is there a way to prevent this? 

I have tried to call IVsWindowFrame.Hide function, but it won't hide the taskbar item, but if I call IVsWindowFrame.Close function, it will close the item from the taskbar but in that case, my hosted document is no longer associated to the window frame of my usercontrol and if user now double clicks on the solution explorer a new separate standalone document will be opened of the same file. So, the question is, what is the correct way to associate IVsWindowFrame to given parent (with windowFrame.SetProperty and __VSFPROPID2.VSFPROPID_ParentFrame property)? Is there any additional steps needed to perform before associating child's window frame to parent?

Thanks,



Hosting VS Document in WPF control

$
0
0

I want to create the WPF control with hosting the VS document. I have the good example

_childWindowFrame.Hide();

varwindow= VsShellUtilities.GetWindowObject(parentWindowFrame);
_childWindowFrame.SetProperty((int)__VSFPROPID2.VSFPROPID_ParentHwnd,window.HWnd);
_childWindowFrame.SetProperty((int)__VSFPROPID2.VSFPROPID_ParentFrame,parentWindowFrame);


but it does not work because after setting focus in editor I see the duplicating window in taskbar.

I have found the similar problem. But it is not resolved

- Mstislav Sakidon



Toolbox configuration in VS 2019 v16.3 for .NET Core 3.0 framework assemblies

$
0
0
Hi Support,

We are configuring our custom WinForms and WPF controls in VS 2019 toolbox by using a .pkgdef file with VSIX extension package installation. This is working for .NET Framework assemblies in 4.6 framework up to previous VS 2019 updates.

Working Example .pkgdef format in the VSIX:

[$RootKey$\ToolboxControlsInstaller\{Assembly_Name}, Version=X.X.X.X, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL] 
@="WPF 4.6-VS2019 Toolbox X.X.X.X"
"Codebase"="{Path\To\Assembly\4.6\FileName.dll}"
"WPFControls"="1"

Now we are trying the same method to configure the .NET Core 3.0 framework in VS 2019 v16.3 toolbox like below, but we couldn’t achieve this. Also manual drag and dropping the assembly in toolbox also not working.

[$RootKey$\ToolboxControlsInstaller\{Assembly_Name}, Version=X.X.X.X, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL] 
@="WPF netcoreapp3.0-VS2019 Toolbox X.X.X.X"
"Codebase"="{Path\To\Assembly\netcoreapp3.0\FileName.dll}"
"WPFControls"="1"

Could you please let us know is there something we could do to configure our controls in .NET Core 3.0 framework in VS 2019 update v16.3 version?

Note: We have updated the Visual Studio to 2019 v16.3 and also installed .NET Core 3.0 official update released in September 23rd, 2019.

Regards,
Balaji R

-ji

Visual Studio Debugger Samlple

$
0
0
Hi, I have a command line debugger for my custom language. I am looking to integrate that with the Visual Studio Debugger UI. Is there any documentation/sample which can help me get started? I had a look at - https://code.msdn.microsoft.com/Visual-Studio-Debug-Engine-c2e21c0e, but this code does not compile in the latest versions of Visual Studio.

Error 1 Unable to copy file "obj...

$
0
0

Hi there! I am specifically using Visual Studio 2013:Windows Forms Application version 3.5 and this error log keeps popping up! I keep seeing stuff like visual C#, buthow do I fix this?

Error Log:

Error 1 Unable to copy file "obj\Debug\Project.exe" to "bin\Debug\Project.exe". Access to the path 'obj\Debug\Project.exe' is denied. Project

Visual Studio not allowing to select authentication

$
0
0

Below error message showing up when trying to create an MVC application with Azure authentication.

Any ideas to solve this issue is highly appreciated.

Thanks

Converting Add-in to Extension package

$
0
0

Hello,

I have an Add-in that runs in VisStudio 2012 and VisStudio 2013.
It does not have any UI; it monitors and responds to focus events.

When I converted the add-in to an Extension package (starting with the template provided by the VS2013 SDK), it works as expected when I have a menu item.
However, until the menu command is used, the package doesn't seem to get fully initialized.

How can I force the full initialization of the extension package when it has no UI?

Thanks for any insights --


UI unresponsiveness message shows in our custom extension

$
0
0

installed our custom extensions like project template in VS, created project from that extension. After creation of project the report message on top "Visual Studio Stopped responding for 9 seconds. disabling the custom extension it might help"

Also shows in  UnResponsive UI tab fromhelp->Visual Studio Performance Manager 

How to avoid this report while install our extensions? How to remove from Ui Unresponsive tab?

Visual C++ Build Tools 2017 extension support missing assemblies

$
0
0

I installed the Visual Studio Build Tools 2017 (Version 15.9.17). I then selected the following workflows:

* Visual C++ build tools
* .Net desktop build tools
* Visual Studio extension development

However, when I attempt to build my Visual Studio extension using these tools, I see several warnings about missing assemblies, such as:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets (2110,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.VisualStudio.Shell.Framework, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [VSPlugin.csproj]

Some of the other assemblies that the build warns are missing are:

* Microsoft.VisualStudio.OLE.Interop
* Microsoft.VisualStudio.Shell.15.0
* Microsoft.VisualStudio.Shell.Framework
* Microsoft.VisualStudio.Shell.Immutable.10.0
* Microsoft.VisualStudio.Shell.Interop
* Microsoft.VisualStudio.Shell.Interop.8.0
* Microsoft.VisualStudio.Shell.Interop.9.0
* Microsoft.VisualStudio.Shell.Interop.10.0
* Microsoft.VisualStudio.VCProject
* Microsoft.VisualStudio.VCProjectEngine

The build then exits with a code of 1, causing a failure.

As I understand it, these assemblies should be located in:

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\PublicAssemblies

However there is only one file in that directory: Microsoft.VSSDK.TestHostFramework.dll

Why were these assemblies not installed as part of the Visual Studio extension development workflow, and how do I install them?



Conditional vstemplate

$
0
0
I need to create a solution template that contains many project templates which could be included or not based on the user selection. I wanted to know if the VS Orcas SDK has support for adding conditional expressions in the vstemplate to include the project templates.

Thanks,
-Adrian

Could not load file or assembly 'EnvDTE,

$
0
0
I thought of writing the whole issue that I am facing.

I did not do anything out of ordinary and suddenly started getting this error

 I  get this error when i try to view any of the active report file in designer mode.
As i need to edit them.,.,...


The project as such runs fine and report runs fine.

This is the issue with all my  visual studio projects.....


Could not load file or assembly 'EnvDTE, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Hide    

at Microsoft.VisualStudio.Design.VSTypeResolutionService.EnsurePopulated(Boolean fPopulateProject)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, Boolean fastSearch)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Assembly& assembly, ReferenceType refType)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)



somebody suggested me to add this to devenv.exe ,
 <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-
        com:asm.v1" appliesTo="v2.0.50318">
      <dependentAssembly>
        <assemblyIdentity name="EnvDTE" publicKeyToken=
                "b03f5f7f11d50a3a"/>
        <bindingRedirect oldVersion="7.0.3300.0"
        newVersion="8.0.50727.42"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


or add it to the application as a configuration file.

As I did not find any devenv.exe.config, i chose the second option and added it to the config file of my project, but it diid not solved the problem


Any suggestions?

Connect and run powershell script in Azure functions

$
0
0

When I try to run Powershell script in Azure AD function with credentials authorized to update a user details i'm getting below error message--

Please let me know if it rings any bells to fix the issue with authentication credentials to be passed in the script for now because I'm trying to update the details of the user from another tenant.

Microsoft.Azure.WebJobs.Script.Rpc.RpcException : Result: ERROR: Login-AzAccount : Username + Password authentication is not supported in PowerShell Core.  Please use device code authentication for interactive log in, or Service Principal authentication for script log in.

Thanks

Siva Pokuri.

VS 2019: running an extensibility project (VSX) always compiles an unknown external project.

$
0
0
  1. I created a fresh project in Visual Studio 2019 using the VSX c# template.
  2. I moved a bunch of files from an older VSX project (for VS 17).
  3. I compiled and ran the project - errors started emerging.
  4. I addressed one error, ran the project - got another error.
  5. I started addressing the second error and in the process of fixing it I noticed that now VS is for some reason compiling an unknown external project whenever I run my project. I realized it because once the program hit the error and instead of jumping into my code and showing me the line, it showed me this message: "The source file is different from when the module was built. Would you like the debugger to use it anyway?" Also whenever I changed something in my code files now - the changes never apply. Moreover, the first error (which I have already fixed) resurfaced again, and when the debugger tried showing me the place of the error - it clearly used the new file, thinking that it's an old one (even if I change the new file to have empty space in the line where the error was, the debugger will still stand on that empty line, talking about the error).
  6. Now whenever I create a new VSX project, even an empty one, and compile/run it - the studio runs that unidentified external project (I have absolutely no clue where that project is, even the files that the debugger uses have no influence on that project.

Team Explorer Everywhere runtime error in Eclipse on Catalina (MacOS 10.15)

$
0
0

Hi,

TEE plugin in Eclipse on MacOS Catalina (10.15) gives me runtime error with TEE 2019-03 or later versions

I am stuck! Please help

//------------------------------

org.eclipse.core.runtime.CoreException: Plug-in "com.microsoft.tfs.client.common.ui" was unable to instantiate class "com.microsoft.tfs.client.common.ui.views.TeamExplorerView".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:216)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:208)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:934)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:62)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:104)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:305)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:343)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:411)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:333)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1015)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:560)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:544)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:73)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1015)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1295)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:693)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:51)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:82)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:105)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:64)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:693)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:140)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:72)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:665)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:689)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1099)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206)
... 105 more
Caused by: java.lang.RuntimeException: Could not instantiate provider for extension point id com.microsoft.tfs.client.common.ui.productPluginProvider
at com.microsoft.tfs.client.common.util.ExtensionLoader.loadSingleExtensionClass(ExtensionLoader.java:88)
at com.microsoft.tfs.client.common.util.ExtensionLoader.loadSingleExtensionClass(ExtensionLoader.java:30)
at com.microsoft.tfs.client.common.ui.TFSCommonUIClientPlugin.getProductPlugin(TFSCommonUIClientPlugin.java:221)
at com.microsoft.tfs.client.common.ui.teamexplorer.TeamExplorerContext.getDefaultRepository(TeamExplorerContext.java:50)
at com.microsoft.tfs.client.common.ui.teamexplorer.TeamExplorerContext.isConnectedToCollection(TeamExplorerContext.java:328)
at com.microsoft.tfs.client.common.ui.teamexplorer.TeamExplorerContext.isConnected(TeamExplorerContext.java:324)
at com.microsoft.tfs.client.common.ui.teamexplorer.TeamExplorerContext.getSourceControlCapability(TeamExplorerContext.java:336)
at com.microsoft.tfs.client.common.ui.teamexplorer.TeamExplorerContext.<init>(TeamExplorerContext.java:42)
at com.microsoft.tfs.client.common.ui.views.TeamExplorerView.<init>(TeamExplorerView.java:64)
... 111 more
Caused by: org.eclipse.core.runtime.CoreException: Plug-in com.microsoft.tfs.client.eclipse.ui was unable to load class com.microsoft.tfs.client.eclipse.ui.productplugin.EclipseProductPluginProvider.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:216)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:198)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:934)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at com.microsoft.tfs.client.common.util.ExtensionLoader.loadSingleExtensionClass(ExtensionLoader.java:74)
... 119 more
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle com.microsoft.tfs.client.eclipse.ui (586).
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:612)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)
... 123 more
Caused by: org.osgi.framework.BundleException: Error loading bundle activator.
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:760)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
at org.eclipse.osgi.container.Module.doStart(Module.java:589)
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
... 133 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:799)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:752)
... 139 more
Caused by: java.lang.NoClassDefFoundError: com/microsoft/tfs/client/eclipse/ui/connectionconflict/EclipseUIConnectionConflictHandler
at com.microsoft.tfs.client.eclipse.ui.TFSEclipseClientUIPlugin.<init>(TFSEclipseClientUIPlugin.java:62)
... 146 more
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle com.microsoft.tfs.client.eclipse (584).
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 147 more
Caused by: org.osgi.framework.BundleException: Exception in com.microsoft.tfs.client.eclipse.TFSEclipseClientPlugin.start() of bundle com.microsoft.tfs.client.eclipse.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:836)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:765)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
at org.eclipse.osgi.container.Module.doStart(Module.java:589)
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
... 155 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at com.microsoft.applicationinsights.internal.config.TelemetryConfigurationFactory.<init>(TelemetryConfigurationFactory.java:65)
at com.microsoft.applicationinsights.internal.config.TelemetryConfigurationFactory.<clinit>(TelemetryConfigurationFactory.java:54)
at com.microsoft.applicationinsights.TelemetryConfiguration.getActive(TelemetryConfiguration.java:72)
at com.microsoft.tfs.core.telemetry.TfsTelemetryHelper.initializeTelemetryChannel(TfsTelemetryHelper.java:43)
at com.microsoft.tfs.core.telemetry.TfsTelemetryHelper.getTelemetryClient(TfsTelemetryHelper.java:58)
at com.microsoft.tfs.core.telemetry.TfsTelemetryHelper.sendSessionBegins(TfsTelemetryHelper.java:138)
at com.microsoft.tfs.client.eclipse.TFSEclipseClientPlugin.start(TFSEclipseClientPlugin.java:113)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:815)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:552)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:808)
... 162 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by com.microsoft.tfs.core_14.134.0.201804261732
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 173 more

//------------------------------

Thanks,

Viewing all 4410 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>