gkngkc / UnityStandaloneFileBrowser

A native file browser for unity standalone platforms
MIT License
2.01k stars 317 forks source link

The type or namespace name `Windows' does not exist in the namespace `System #14

Closed jBachalo closed 7 years ago

jBachalo commented 7 years ago

Get the following 3 errors, whether I open using Unity in Windows or on the Mac the moment I target Windows in Build Settings.

Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs(5,14): error CS0234: The type or namespace name Windows' does not exist in the namespaceSystem'. Are you missing an assembly reference?

Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs(7,7): error CS0246: The type or namespace name `Ookii' could not be found. Are you missing an assembly reference?

Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs(15,34): error CS0246: The type or namespace name `IWin32Window' could not be found. Are you missing an assembly reference?

gkngkc commented 7 years ago

Probably dll import platform checks are wrong. Be sure Ookii.Dialogs.dll and System.Windows.Forms.dll platform dependencies are correct, Editor & Standalone ( Windows ) settings should checked

jBachalo commented 7 years ago

Thanks..seems to be it . Also, as mentioned elsewhere, need to remember to not use .Net subset