- Home /
Issues With Accessing Classes Nested In System.IO (Unity 2017.1.0f3)
Hiya, I'm trying to utilize various classes in the System.IO namespace but unfortunately I'm unable to do so. For an example:
I can declare this just fine:
System.IO.File
However, the moment I try to access a class within that namespace like:
System.IO.File.Create
VS compiler states that nothing exists beyond the namespace class "(Identifier expected" because I can't even declare the full line). Interestingly object browsing the System.dll file revealed that no classes (I want to use) exist:
I've switched to the full .NET 2.0, and insured my project is on standalone. I'm out of ideas, but I bet it's probably something ridiculous.
Is there anyway to reimport the dll files into a project? The game I'm working on is quite large at the moment and it would be a HUGE pain to migrate into a new project folder.
What's your current target platform? I assume it's set to something not supporting that.
The target platform is Windows on the x86 architecture. Currently reinstalling net framework 3.5 and Unity in the hopes that perhaps installation for net framework was corrupt or missed some files or something.
Yeah it didn't work... This is super frustrating. I even reinstalled Visual Studio...