Hi all. This is a question that I suppose everybody that starts with this will be questioning themselves.
- What language is build.cs written in, so that we can search for documentation? (is it c#?)
- When I move code that works on the “target.cs” file, to a plugin “build.cs” file, many variables stop working. Why?
While both files are .cs files and include barely nothing else, why do they use different variables, and what do we search for to get help?
Examples:
- Console.Log to print now should be something like Log.TraceInformation. This works. Why? . I searched Console.WriteLine and it’s a C# function, but it doesn’t work here.
- Path.GetFullPath, Path.Combine… to get paths… now doesn’t work. Path doesn’t exist. I read DirectoryReference.GetCurrentDirectory() should be used to get the current path, for example. But it doesn’t work either.