ErikEJ / SqlCeToolbox

SQLite & SQL Server Compact Toolbox extension for Visual Studio, SSMS (and stand alone)
Other
847 stars 174 forks source link

Toolbox Crashing Visual Studio 2022 Community #930

Closed errajeshsharma closed 2 years ago

errajeshsharma commented 2 years ago

Error VS Details

Describe what is not working as expected. After VS 2022 Community update to Version 17.1.1. Prior to update toolbox was working fine

Steps to reproduce

When opening project and clicking on any toolbox option VS crashes

Further technical details

Toolbox/Power Tools version: 4.8.740.0

Database engine: (SQL Compact 4.0)

Visual Studio or SSMS version: VS 2022 Community edition

ErikEJ commented 2 years ago

VS crashes or the Toolbox crashes?

ErikEJ commented 2 years ago

Possible duplicate of #928 ?

errajeshsharma commented 2 years ago

Thanks for your response, Visual Studio crashes when any of Toolbox option is clicked

928 worked for me by installing Microsoft.ApplicationInsights Version=2.1.0.0. Latest version of Microsoft.ApplicationInsights 2.20.0 is not working.

So my concern is why after updating Visual Studio Toolbox is failing while it was working earlier

ErikEJ commented 2 years ago

worked for me by installing Microsoft.ApplicationInsights Version=2.1.0.0

Where did you install that?

why after updating Visual Studio Toolbox is failing while it was working earlier

Sometimes things break when they are updated. I will see if I can reproduce and if I can provide a resolution.

errajeshsharma commented 2 years ago

worked for me by installing Microsoft.ApplicationInsights Version=2.1.0.0

Where did you install that?

why after updating Visual Studio Toolbox is failing while it was working earlier

Sometimes things break when they are updated. I will see if I can reproduce and if I can provide a resolution.

I installed it into my Project solution from Nuget packages. So problem is I have to install Microsoft.ApplicationInsights Version=2.1.0.0 into every solution wherever I am using Toolbox. Prior to VS update no separate or exclusive installation of Microsoft.ApplicationInsights was required for those solutions wherever I have used SQL Server CE. After simple Toolbox installing , toolbox was working fine for every solution but VS update did something unusual

ErikEJ commented 2 years ago

is I have to install Microsoft.ApplicationInsights Version=2.1.0.0 into every solution wherever I am using Toolbox

That should not be required at all. I will try to repro, and provide some sort of fix.

errajeshsharma commented 2 years ago

is I have to install Microsoft.ApplicationInsights Version=2.1.0.0 into every solution wherever I am using Toolbox

That should not be required at all. I will try to repro, and provide some sort of fix.

Thank you, it would be really helpful

ErikEJ commented 2 years ago

I have tried updating App Insights lib in the latest daily. Please give it a try.

If that does not work, I will try to remove usage of it in the next daily build.

errajeshsharma commented 2 years ago

I have tried updating App Insights lib in the latest daily. Please give it a try.

If that does not work, I will try to remove usage of it in the next daily build.

I am new user if you can guide me how to give try on daily

ErikEJ commented 2 years ago

Sure: https://github.com/ErikEJ/SqlCeToolbox#visual-studio-extension

errajeshsharma commented 2 years ago

Thanks a lot, Toolbox V4.8.742 is working fine after installation without any extra fix