Comments (9)
upm package does not include managed dlls.
https://github.com/Cysharp/ZString/tree/master/src/ZString.Unity/Assets/Plugins
require to add manually(outside of package).
from zstring.
There are UPM packages that provide DLLS, though. Is there any reason those DLLs can't be split off into separate packages that ZString uses as a dependency?
from zstring.
Other packages that using System.Memory etc(ZLogger, MessagePack-CSharp, etc) are exists.
If you include System.Memory, etc., the possibility of conflicts occurs.
from zstring.
Those are all your packages, right? So can't you make all of them depend on these DLLs (or just the ones that they need at least)? Given how popular your packages are, I bet if you wrapped System.Memory
and the like in UPM packages everyone would coalesce around them quickly.
from zstring.
These packages are certainly under my control, but System.* itself is used by others, so there is always the possibility of conflicts.
Unity does not have a binding redirection mechanism, so if the dll versions are different, it will not work properly.
Unless the UPM mechanism itself changes (or unless System.Memory is included in the standard libs to support netstandard2.1/net5), there is no good solution.
from zstring.
Dang. Is there any reason you couldn't prepare a package containing a version of these libraries that's known to work with your packages but is technically an optional dependency? Right now ZString and ZLogger are the only libraries I use that require System.Memory
and company (and if that changes I'll worry about it then).
from zstring.
i recommend using the samples of the package just to import the dlls
from zstring.
Yeah that's what I do now, but I'd rather keep dependencies out of my git repo where possible.
from zstring.
merged, thanks all.
from zstring.
Related Issues (20)
- ZString not compatible with Unity 2023.2 HOT 1
- Unittest failed HOT 1
- Naming conflict with TextMeshPro and their Extensions
- Feature request: make `Length` writable HOT 2
- Are there any precautions when repeating the passing method? HOT 1
- Still have GC?? HOT 1
- Unity 2021.3.2f1 is getting over 1kb of gc collection from zstring HOT 3
- Should not promote TMP_Text.SetCharArray because it allocates too much HOT 1
- ZString.Join is looklike bad HOT 4
- Any planned support for a Format() that takes a param array? HOT 1
- Workaround for nested ZString.Format calls HOT 1
- Utf8JsonWriter HOT 1
- Joining HashSets does not work, see PR with test HOT 2
- Compilation errors HOT 1
- About .NET 7.0 Support
- Mac os 13.4 Test("{0,-20} {1,5:F}", "Adam", decimal 40); HOT 1
- .Append(string) does not work when ZString is created as a readonly class member HOT 1
- v2.5.1 compile error: BitOperations duplicate in System.Runtime HOT 11
- Huge amounts of GC when appending floats HOT 2
- How does this compare to MikePopoloski/StringFormatter? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zstring.