UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.
https://nuget.org/packages/ZetaLongPaths
MIT License
142 stars 28 forks source link

ZetaLongPaths compatible with .Net Core 8 #44

Open MustafaDaoud90 opened 1 month ago

MustafaDaoud90 commented 1 month ago

Please I want to use this package ZetaLongPaths.NetStandard or ZetaLongPaths in .net core 8, can you update the packages on the nuget?!

UweKeim commented 1 month ago

For .NET Core, please use Zeta Short Paths.

UweKeim commented 1 month ago

Please tell me which feature you are missing in particular.

MustafaDaoud90 commented 1 month ago

I have a project .net framework 4.7.2, I already use ZetaLongPaths on my project to working on the long file path, and now I migrate my project to .net core 8(target framework .net8.0) to working on cross-platform.

but when build and run the project the warning message display: " Package 'ZetaLongPaths 1.0.17' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net8.0'. This package may not be fully compatible with your project."

UweKeim commented 1 month ago

I see, thanks.

The Pinvoke calls in do in my code are, to my best knowledge, not cross-plattform.

Would a version for .NET Core that runs on Windows be sufficient for your needs?

MustafaDaoud90 commented 1 month ago

thanks for reply,

No, I need ZetaLongPaths compatible with Windows, macOS and Linux environments.

UweKeim commented 1 month ago

Honestly, I do not think, this is technically possible.

MustafaDaoud90 commented 1 month ago

You can help me, such as any ideas to do this in all enviroments.

MustafaDaoud90 commented 1 month ago

for now ZetaLongPath already supports on .net core 8 on Windows environment only, Right?!