コードに追加using Microsoft.VisualBasicしましたが、コンパイラがエラーCS0234を報告します。
タイプまたは名前空間の名前「FileSystem」が名前空間「Microsoft.VisualBasic」に存在しません(アセンブリ参照がありませんか?)
この「アセンブリリファレンス」とは何ですか?また、それを追加する方法は何ですか?
写真にも示されているエラー http://img16.imageshack.us/img16/6517/errorcup.jpg
コードに追加using Microsoft.VisualBasicしましたが、コンパイラがエラーCS0234を報告します。
タイプまたは名前空間の名前「FileSystem」が名前空間「Microsoft.VisualBasic」に存在しません(アセンブリ参照がありませんか?)
この「アセンブリリファレンス」とは何ですか?また、それを追加する方法は何ですか?
写真にも示されているエラー http://img16.imageshack.us/img16/6517/errorcup.jpg
You've got a using directive for the Microsoft.VisualBasic namespace, but the fact that you're fully-qualifying the name Microsoft.VisualBasic.FileSystem makes that irrelevant.
I suspect you just haven't added a reference to the Microsoft.VisualBasic.dll assembly. (Assemblies and namespaces are very different things.)
Personally I would attempt to avoid VB-specific assemblies in the first place, to be honest.