Hello,
I am working on a project, and I need to use the System.IO.File.CreateText(string path) function. I already used it in another project and it has been well detected. But in my new project, it says that “File does not contain a defintion for CreateText”. Then I right click on “File” and “Go to definition”, and it opens a file [from metadata] in which there is no “CreateText” function… But the problem is that in my other project, it opens another file in which does contain a definition for it ! (and lot of additionnal functions)
So how can I access this function from my new project ? Why do I get different definition files for the same class ?
(I use Microsoft Visual studio for the scripting)
Thanks in advance.