-
Notifications
You must be signed in to change notification settings - Fork 22
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
Could not load file or assembly System.Configuration.ConfigurationManager even when in BeautyExcludes #48
Comments
your config is fine, this should be a bug. can you share a testcase? |
I am building a small project in which I hope will be able to demonstrate the problem. |
actually the still finding out what makes |
Thank you.
I will test behaviour on another project whitch heavily relies on DI and let you know. |
I am closing this issue, because I was able to circumvent this issue and I did not came across in another project, which heavily relies on DI. |
fixed in |
Hi.
Iam having issues with assembly System.Configuration.ConfigurationManager on net6/Windows10.
I tried to use BeautyExcludes System.;Microsoft. but to no avail.
The error message is
Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Could not find or load a specific file. (0x80131621)
I can see the file is present in output folder, but somehow its not seen by the nbloader?
I tried sharedmode / excludes nothing worked.
Is there something special about this assembly?
How can I work around this?
My Config
<BeautySharedRuntimeMode>False</BeautySharedRuntimeMode> <!-- beauty into sub-directory, default is libs, quote with "" if contains space --> <BeautyLibsDir Condition="$(BeautySharedRuntimeMode) == 'True'">../libraries</BeautyLibsDir> <BeautyLibsDir Condition="$(BeautySharedRuntimeMode) != 'True'">./libraries</BeautyLibsDir> <!-- dlls that you don't want to be moved or can not be moved --> <BeautyExcludes>System.*.dll;Microsoft.*.dll</BeautyExcludes> <!-- dlls that end users never needed, so hide them --> <!-- <BeautyHiddens>hostfxr;hostpolicy;*.deps.json;*.runtimeconfig*.json</BeautyHiddens> --> <!-- set to True if you want to disable --> <DisableBeauty>False</DisableBeauty> <!-- set to False if you want to beauty on build --> <BeautyOnPublishOnly>False</BeautyOnPublishOnly> <!-- set to True if you want to allow 3rd debuggers(like dnSpy) debugs the app --> <BeautyEnableDebugging>False</BeautyEnableDebugging> <!-- the patch can reduce the file count --> <!-- set to False if you want to disable --> <!-- SCD Mode Feature Only --> <BeautyUsePatch>False</BeautyUsePatch> <!-- <BeautyAfterTasks></BeautyAfterTasks> --> <!-- valid values: Error|Detail|Info --> <BeautyLogLevel>Info</BeautyLogLevel> <!-- set to a repo mirror if you have troble in connecting github --> <!-- <BeautyGitCDN>https://gitee.com/liesauer/HostFXRPatcher</BeautyGitCDN> --> <!-- <BeautyGitTree>master</BeautyGitTree> -->
Thanks.
The text was updated successfully, but these errors were encountered: