0
0

C#のエラー:CS1069の原因と解決方法

Posted at

きっかけ

C#でSqlExceptionをtry~catchで実装する際、このエラーが出たこと

原因

NuGetの参照が足りてなかった。必要なパッケージがインストールされていないため。

エラー解消法

ソリューションを右クリック、「Nugetパッケージの管理」から
「System.Data.SqlClient」をインストール

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0