Note
Before running any scripts in this folder, please close Visual Studio.
Double-click the following script file: Build.bat.
You should do this if you have introduced any new NuGet dependencies.
-
Launch Powershell (
pwsh, notPowerShell) and switch to this folder. -
.\build.ps1 -NoMove -
.\Get-CommonAssemblyList.ps1 -Net8 > ..\CommonAssemblies.txt -
.\Get-CommonAssemblyList.ps1 > ..\CommonAssembliesNetFx.txt -
Carefully check the changes with Git diff:
- If you have introduce new NuGet dependencies, check if they have appeared in the list.
- If they do show in the list, it's expected.
- If they do not show there, do not manually add them to the list. Think carefully about whether these libraries should differ among DX/GL/XNA builds.
- If there are other libraries get removed from this list, don't just commit the changes. Does this library exist in the
Compiledfolder?- If so, we can resume this line instead of removing it.
- If not, think carefully if we should keep this item, depending on whether these libraries should differ among DX/GL/XNA builds.
- Specifically, we intend to leave
ClientUpdater.dllandClientUpdater.pdbfiles in that list since we know this library does not differ among DX/GL/XNA builds, regardless the fact that these two files are different among DX/GL/XNA builds.
- Specifically, we intend to leave
- If there are other libraries just get added in this list, check if such a library has already been shown up in previous releases of the client.
- If so, we should delete such a line, because a library showing in this list has a lower priority than the library that is not included in this list.
- If not, we can keep the changes. This means a commit after the latest release brought another dependency and forgot to update the common assembly list. It's lucky we catch it up before making a new release. Note: if this dependency change is unrelated with your current PR, don't mix it up in the current PR, but rather, use a separate PR to update the forgotten dependency in the common assembly list.
- Delete the
Compiledfolder since it is produced with-NoMoveparameter. We should absolutely not distribute these files.