缺少目录类 [英] Missing Directory Class

查看:82
本文介绍了缺少目录类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

//我正在尝试使用

"字符串x = Directory.bla bla    

但  Directory类丢失

我在.NET 4.6.2中找到了它的类---- https://referencesource.microsoft.com/#mscorlib/system/io/directory.cs,b3ad5f0ba800bb28

我的MVS正在运行.NET 4.6.01586 

我如何更新.NET Framework

解决方案

朋友,

欢迎来到MSDN论坛.

       您可以下载 此处的Microsoft .NET Framework 4.6.2: https://www.microsoft.com/zh-cn/download/details.aspx?id=53345

     最好的问候,

     乔伊斯


// I am trying to use

"string x = Directory.bla bla     

but  the  Directory class is missing 

I found it class in .NET 4.6.2 ---- https://referencesource.microsoft.com/#mscorlib/system/io/directory.cs,b3ad5f0ba800bb28

my MVS is running .NET 4.6.01586 

how do i update the .NET Framework

解决方案

Hi friend,

Welcome to MSDN forum.

      You could download Microsoft .NET Framework 4.6.2 from here: https://www.microsoft.com/en-us/download/details.aspx?id=53345

      Best regards,

      Joyce


这篇关于缺少目录类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆