From 395843c8ccffd74e0b6694a862f36106b5047d2d Mon Sep 17 00:00:00 2001 From: Mauro Palumbo Date: Tue, 3 Oct 2017 10:37:34 +0200 Subject: [PATCH 1/3] Added Unity DLLs path relative to Unity installation directory --- docs/contributing/how-to-build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing/how-to-build.md b/docs/contributing/how-to-build.md index 597a624aa..77c4fec8a 100644 --- a/docs/contributing/how-to-build.md +++ b/docs/contributing/how-to-build.md @@ -40,11 +40,11 @@ To be able to authenticate in GitHub for Unity, you'll need to: - [Register a new developer application](https://github.com/settings/developers) in your profile. - Copy [common/ApplicationInfo_Local.cs-example](../../common/ApplicationInfo_Local.cs-example) to `common/ApplicationInfo_Local.cs` and fill out the clientId/clientSecret fields for your application. -The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from your Unity installation into the `lib` directory in order for the build to work. +The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from `Unity/Editor/Data/Managed` into the `lib` directory in order for the build to work. ### Visual Studio -To build with Visual Studio 2015 open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu. +To build with Visual Studio 2015+ open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu. ### Mono and Bash (windows and mac) From 1f32865d0661a57e9f7a502b020f0cda33b2b2e4 Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Thu, 19 Oct 2017 19:00:27 +0200 Subject: [PATCH 2/3] Tweak the message to be clearer --- docs/contributing/how-to-build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing/how-to-build.md b/docs/contributing/how-to-build.md index 77c4fec8a..22d96be49 100644 --- a/docs/contributing/how-to-build.md +++ b/docs/contributing/how-to-build.md @@ -40,11 +40,11 @@ To be able to authenticate in GitHub for Unity, you'll need to: - [Register a new developer application](https://github.com/settings/developers) in your profile. - Copy [common/ApplicationInfo_Local.cs-example](../../common/ApplicationInfo_Local.cs-example) to `common/ApplicationInfo_Local.cs` and fill out the clientId/clientSecret fields for your application. -The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from `Unity/Editor/Data/Managed` into the `lib` directory in order for the build to work. +The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from `[your Unity installation path]\Unity\Editor\Data\Managed` into the `lib` directory in order for the build to work. ### Visual Studio -To build with Visual Studio 2015+ open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu. +To build with Visual Studio 2015+, open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu. ### Mono and Bash (windows and mac) From fffc9f02e289915339f337fe49b890cd03de0186 Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Thu, 19 Oct 2017 19:09:04 +0200 Subject: [PATCH 3/3] Add OSX instructions --- docs/contributing/how-to-build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing/how-to-build.md b/docs/contributing/how-to-build.md index 22d96be49..3e9169196 100644 --- a/docs/contributing/how-to-build.md +++ b/docs/contributing/how-to-build.md @@ -9,14 +9,14 @@ This repository is LFS-enabled. To clone it, you should use a git client that su - Visual Studio 2015+ or Mono 4.x + bash shell (git bash). - Mono 5.x will not work - `UnityEngine.dll` and `UnityEditor.dll`. - - If you've installed Unity in the default location of `C:\Program Files\Unity` or `C:\Program Files (x86)\Unity`, the build will be able to reference these DLLs automatically. Otherwise, you'll need to copy these DLLs from your Unity installation into the `lib` directory in order for the build to work + - If you've installed Unity in the default location of `C:\Program Files\Unity` or `C:\Program Files (x86)\Unity`, the build will be able to reference these DLLs automatically. Otherwise, you'll need to copy these DLLs from `[Unity installation path]\Unity\Editor\Data\Managed` into the `lib` directory in order for the build to work ### MacOS - Mono 4.x required. - Mono 5.x will not work - `UnityEngine.dll` and `UnityEditor.dll`. - - If you've installed Unity in the default location of `/Applications/Unity`, the build will be able to reference these DLLs automatically. Otherwise, you'll need to copy these DLLs from your Unity installation into the `lib` directory in order for the build to work + - If you've installed Unity in the default location of `/Applications/Unity`, the build will be able to reference these DLLs automatically. Otherwise, you'll need to copy these DLLs from `[Unity installation path]/Unity.app/Contents/Managed` into the `lib` directory in order for the build to work ## How to Build