Installing VS2017 community and uninstalling seems “solved” the error, but that error is one I met in teh process.
The thing is. I’ve a game I finished last year, it took long to develop and got its final update on steam past year. I wanted to port to Windows Store. Game was developed in Unity 4.7.2 so targeting WSA 8.1, not universal.
I installed 8.1SDK and the program files\reference assembiles\frameworks.netcore\4.5.1 folder was missing, installed " .NET Framework 4.5.1 Developer Pack" from here: https://www.microsoft.com/en-us/download/details.aspx?id=40772
and still was missing, after installing a ton of stuff finally got it appear by installing VS2013.U1.
So, first question would be. To target WSA 8.1 having VS installed is neccesary?. If yes what version?
Gonna asume answer is no cause uninstalling all VS all frameworks everything leaves the folder and the game does (almost) compile. The thing is. The System.IO is missing a class that is not in teh ones is meant to be missing like File.Close etc…
Theh error in the first post is the one I got when I after uninstalling absolutelly everything wiping the .netcore folders I did install unity, 8.1sdk and posibly I did unrar the backup of .netcore 4.5.1
So, questions. What is the minimum I need to target WSA from Unity 4.7.2?
Why do I get the SearchOption name space cant be found when compiling when I use as this?:
Without the file saving and serialization part the game does build but obviously I need those but I silenced those scripts to see if there was something else that was interfering but I’ve already sorted everything but the file saving and serialization that I was planning to solve using Unified IO and a Bson serializer.
.NET for Windows Store Apps for 8.1 was missing a lot of classes that were added back by Microsoft to .NET for UWP (even though it’s still missing a lot compared to full .NET 3.5 that Unity uses on other platforms and on il2cpp on UWP).