Placeholder dll with different dependency results in build-error on target platform (WSA)
Hi
We're trying to build a project for the WSA target that uses some UWP specific libraries (that only work when the project is built) - let's call this WSAdep.dll. We use these libraries from our own plugin, call that X.dll. Now we also created a second version of this dll, X_stub.dll that uses different dependencies (Stubdep.dll) (these work locally on the PC, but not on our target device) - this dll has the same namespace and is set as a placeholder for X.dll in unity.
We are getting build errors when we build for the WSA target, as unity is complaining that X.dll is referencing Stubdep.dll: this is wrong, as only the placeholder X_stub.dll is referencing Stubdep.dll, but X.dll is not.
What can we do to fix this situation, while still working with placeholder dlls?
Your answer
![](https://koobas.hobune.stream/wayback/20220612115105im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Managed plugin missing components 1 Answer
Unity Included DLLS Size 0 Answers
IAP and Unity Cloud Build 1 Answer
Cannot load "lib_burst_0_0" on Android builds 2 Answers
Remove DLLs from build 1 Answer