Skip to content

Temp path created for model loading is too long #396

Closed

Description

@yaeldekel

In some environments access to the file system is restricted, so when we deserialize a model file first extract the entries in the zip repository to temporary files. The path for the temporary file contains the system's temporary folder name, followed by "TLC_" and a guid. Sometimes this creates a path that is too long because Windows doesn't allow paths that are over 260 characters.

Activity

  1. TomFinley commented on Jun 22, 2018

    @TomFinley
    Contributor

    Hi @yaeldekel ! Is more comprehensive description possible? What is the problem with the current situation? What problem is occurring as a result of it? These would help also with determining whether the current proposed fix is appropriate, or perhaps whether some other fix would be appropriate.

  2. Ivanidzo4ka commented on Jun 25, 2018

    @Ivanidzo4ka
    Contributor

    This is for .net framework 4.6.2 but....
    https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2/#bcl

    Long Path Support (MAXPATH)
    We fixed the 260 character (MAXPATH) file name length limitation in the System.IO APIs. Over 4500 of you voted for this issue on UserVoice!

    I actually wonder is it even a case for .net standard...

  3. ghost locked as resolved and limited conversation to collaborators on Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions