Mysql.Command error in visual Studio 2010 C# Project

Aagha Ali 0 Reputation points
2023-09-10T10:04:59.2466667+00:00

I am facing this problem as shown in picture. i am using visual studio 2010 on windows 11. the project is in C# language.

Untitled

<?xml version="1.0"?>

<configuration>

<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Developer technologies Visual Studio Other
Developer technologies C#
{count} votes

2 answers

Sort by: Most helpful
  1. P a u l 10,761 Reputation points
    2023-09-10T10:22:12.5+00:00

    Have you tried restoring the NuGet packages? If not, right click the solution on the right hand side and click "Restore NuGet Packages".


  2. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2023-09-10T14:33:10.8166667+00:00

    For performing a restore, open a PowerShell window to the root of your project and execute dotnet restore then back in Visual Studio, unload the project followed by reloading the project.

    For ease you can create a external tools menu under under the tools menu (unsure if this is possible in VS2010).

    restore


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.