Here is the code that I'm looking at -
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
namespace CSharpPracticeProject
{
class Testing
{
public static void main()
{
SqlConnection myConnection = null;
int x = 25;
Console.WriteLine(x/4);
}
}
}
Error message - 'The type or namespace 'SqlConnection' could not be found.
It seems like other posts seem to solve the issue with the import, so Im just not sure what the issue is. This is Microsoft Visual Studio 2017.
.NET Framework X Client Profile?