Visual Studio 2019 Performance Profiler - c#

I am working on a C# project using Linq to query SQL server, want to tackle some performance issue with performance profiler, however facing 2 problems
The instrumentation launching Internet Explorer, any way to change the browser setting?
The Database option greyed out in my performance profiler, Microsoft said "The Database tool requires Visual Studio 2019 version 16.3 or later and a .NET Core project on Windows using either ADO.NET or Entity Framework Core."
And I am using version 16.11.19, and I am using Linq in my project, so I guess this project is using Entity Framework Core
Any work around to fix the above problems?
(I am using visual studio 2019 community version)

Related

Smart Device development for Visual Studio 2017

I am currently assigned to migrate an existing Smart Device application built using visual studio 2005. I tried to migrate the application to Visual Studio 2017 without changing the framework and settings. I have already spent some time doing some research but no luck so far.
This is the error I'm encountering:
Any leads or advice is appreciated.
I guess you are talking Windows Mobile 6.x projects. Unfortunately,
support for mobile application development for versions of Windows Phone prior to Windows Phone 7.0
has been dropped with Visual Studio 2010.
The last version that supported this application type is Visual Studio 2008. Usually, you can install different versions of Visual Studio without problems. Nonetheless, this is a very old version and it might be worth to keep it on a separate machine.
You are stuck with Visual Studio 2005 or use VS2008. That's it.

Where are Entity Framework Tools in EF6 and Visual Studio 2017?

I'm using Visual Studio 2017 and Entity Framework 6, and for the life of me, I cannot find the EDMX file, Entity Data Tools, Model Browser, or Entity Designer...
Am I losing my mind here? I've created multiple new projects trying to find these UI-based tools for working with the Entity Framework data models and can't seem to get anywhere.
Please help!
I believe I have the correct tools installed in the VS2017 Install:
For anyone looking at this, in my case the answer was that I was using a Code-First implementation of the Entity Framework, which apparently does NOT give you access to the Visual Tools.
So there is no EDMX file in Code-First Entity Framework.
I had similar issue. I reinstalled Entity Framework 6 tools without luck, even reinstalled SQL tools (sorry, forgot exact name). But solution was very simple:
right-click the edmx file-> choose Open with->choose ADO.NET Entity
Data Model Designer
At the installation of VS2017 you had to go to Individual Components to install those tools, don't think they are installed by default.
Individual Components
SDK, Libraries and Components
You can run this install from the VS Installer
Entity Framework not appearing in Add New Item list in Visual Studio 2017
Please also see the current documentation. They state that for current Visual Studio versions, the tools will be included. For previous versions, separate installers (MSI packages, not extensions) are available for download at the Microsoft Download Center. F.e., see Visual Studio Releases > Visual Studio 2013, which will tell you where to find the MSI for Visual Studio 2013.
As in response to gotmike's accepted answer, today there's an 3rd party marketplace extension called Entity Framework Visual Editor, which can be used (I didn't try it myself) to generate a visual representation out of the code first model/POCO classes.
Also note that the Entity Framework Power Tools always had the feature to preview code first entities in a designer view called "View Entity Data Model (Read-only)". This option appears in your context menu when you select a model class derived from DbContext.

Setup Visual Studio's Server Explorer to work with postgresql

I'm trying to setup Visual Studio's Server Explorer to connect to a postgresql database. I am using ASP.NET Core & EF Core with npgsql.
This feature works fine with SQL Server but there's no option to connect to postgresql and my attempts (including this guide) have failed. I'm using Visual Studio 2017 RC with MSBuild .NET Core, but I could downgrade to 2015 if necessary for this to work.
My aim is to be able to edit data from within VS and have a development 'localdb' similar to the one provided with SQL Server.
Solved this by downloading the ODBC driver, entring my credentials, then adding it to Visual Studio through 'Add Connection'. For some reason only the 32-bit version worked (on my 64-bit machine).

Compatibility.... Downgrade a project from vs2012 to vs2008

I have a project created on my own pc with Visual Studio 2012, initialy with Entity Framework 4.5
I made it compatible with Entity Framework 3.5 because the computers where the application will run are Vista ones.. ( O_o )
After lot of debug, creating a new db compatible, creating the model of the new database, I finally performed this first downgrade and it's working on my computer with Entity Framework 3.5 as we can see in this screenshot: http://imagik.fr/view/128976
I can start the .exe on my computer without any problem. I have modified the App.Config connection string to give the right path for the database on their computer and then have tried, just insta crash when it works on mine..
Finally I have installed vs 2008 on one vista computer and I can't import my vs 2012 project, too recent. If I create a new project on 2008 and just create the classes with copy/paste, add libraries and references, I have a problem with my DB. the database.mdf version is 706 and can't be upper than 655.
I'm completely lost with these compatibilities problems... I know we can upgrate a 2008 project to 2012, but is it possible in the other way? Should it be a solution?
If not, what am I supposed to do? They told me "free technology", finally it isn't free at all.....
If anyone already met those kind of problems..
Thanks in advance for your help.
ps: If you need other informations, I can give screens, just ask me.
psĀ°2: I know there is a lot of problems like mine on the web and on StackOverflow, but I have already done what they said (Edit the properties of the project and make its EntityFramework to 3.5, adding the .csproj of the 2012 on a blank vs 2008 project, etc.)

Why can't I create an OData service?

My machine has VS 2010 Premium installed and I'm having a bit of trouble with item templates.
I'm wanting to follow along with a simple MSDN Tutorial to build an OData service so I can learn about them. It says I need to create an ASP.Net application, which I did. Next it says to add an "ADO.NET Entity Data Model" item, which I don't have available in my item templates.
Even worse, there is no "WCF Data Service" which is kind of crucial for this exercise. What am I missing? Is there some type of SDK or other download that installs OData/WCF Data Service components and templates?
Update
I looked at the install logs for ADO.Net Entity Framework Tools and it appears that it installed all the templates into an old VS 2010 *express edition folder. I no longer have that installed, is there a tool or a method to remove any traces of express so the installer will deploy files to the premium edition I have installed?
Problem Source: ADO.Net Entity Framework Tools must have been installed with VS 2010 Express which was installed before Premium. When I uninstalled Express it must have kept ADO.Net EF tools and it's references to Express. This is what I did to fix it:
Uninstalled "Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools" from Control Panel
On the VS 2010 Setup disc, navigated to \WCU\EFTools with the command line
Used msiexec: msiexec /i ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 to install by itself (VS 2010 maintenance mode wouldn't install it again after I removed it)
Now I have all the appropriate templates to create OData services :)

Categories