Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 10fdab0

Browse files
authored
Merge pull request #348 from mpOzelot/patch-1
Added Unity DLLs path relative to Unity installation directory
2 parents 1f1678f + fffc9f0 commit 10fdab0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/contributing/how-to-build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ This repository is LFS-enabled. To clone it, you should use a git client that su
99
- Visual Studio 2015+ or Mono 4.x + bash shell (git bash).
1010
- Mono 5.x will not work
1111
- `UnityEngine.dll` and `UnityEditor.dll`.
12-
- 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
12+
- 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
1313

1414
### MacOS
1515

1616
- Mono 4.x required.
1717
- Mono 5.x will not work
1818
- `UnityEngine.dll` and `UnityEditor.dll`.
19-
- 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
19+
- 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
2020

2121
## How to Build
2222

@@ -40,11 +40,11 @@ To be able to authenticate in GitHub for Unity, you'll need to:
4040
- [Register a new developer application](https://github.com/settings/developers) in your profile.
4141
- 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.
4242

43-
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.
43+
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.
4444

4545
### Visual Studio
4646

47-
To build with Visual Studio 2015 open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu.
47+
To build with Visual Studio 2015+, open the solution file `GitHub.Unity.sln`. Select `Build Solution` in the `Build` menu.
4848

4949
### Mono and Bash (windows and mac)
5050

0 commit comments

Comments
 (0)