You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,22 @@ Every library ever needed for Illusion game modding, almost.
20
20
4. Right click on your project and "Manage NuGet packages..."
21
21
5. Change "Package source" on right to "IllusionMods". You should now see all of the packages from this repository (and more).
22
22
23
+
## How to prevent dll files from these packages from being copied to the build output
24
+
Open your project in VisualStudio or similar and find it in the Solution Explorer, then:
25
+
26
+
- For old format .csproj files
27
+
- Expand References
28
+
- Select all of them (except for the Analyzers element if it exists)
29
+
- Go to the Properties window
30
+
- In "Copy Local" type in "False"
31
+
- For new format .csproj files (sdk)
32
+
- Expand Dependencies\Packages
33
+
- Select all of the packages (except for analyzers if any)
34
+
- Go to the Properties window
35
+
- In "Included Assets" type in "compile" and in "Private Assets" type in "All"
36
+
37
+
Finally, manually delete the dlls from your build output. Now whenever you build your project the package dlls should no longer get copied to the build directory.
38
+
23
39
## How to update nuget packages in this repository
24
40
This is necessary only if you want to update or add new dlls to this repository. To do that you will have to prepare the dlls and update nuspec files.
0 commit comments