-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better dll refrence paths #663
Comments
read registry: https://docs.microsoft.com/en-us/archive/blogs/msbuild/new-registry-syntax-in-msbuild-v3-5 |
I'd keep the following line too in case registry key not set or invalid (unlikely, but does no harm to have a fallback to program files approach):
|
@aubergine10
all other interested mod owners can simply copy paste the code :) |
kvavks installed his Skylines in
which can be done using parsing of BaseInstallFolder and reg exp. I think I still can use the registry too:
|
I could not access I am guessing reading Another approach s to parse the file as I explained |
Also worth looking into shortcuts I think even now we can use soft links without any actual changes :) |
On my screenshot you can see it was installed to |
Currently we need to copy reference paths to
Dependencies/
folder in order to built this mod.This means that we have duplicated version of each library and sometimes both get loaded by de-cpompilers slowing them down.
To add insult to injury the libraries are then copied into the bin folder creating triple version of each library.
One is good enough. It would be better to instruct .csproj to look into the application installation folder first (using
ProgramFiles
macro) -if that failed then we can look intoDependencies/
. The copy local should also be set to false. Something like this:EDIT: this way it also makes the job of first time user developers easier.
The text was updated successfully, but these errors were encountered: