Comments (14)
Hmm, that's interesting. That wasn't done on purpose. I'll have a look. Thanks.
from longpath.
@FuchsiaSoft when you say 4.5+, are you talking about a project in VS 2015 or 4.5.1 and 4.6?
from longpath.
@peteraritchie I tried it with 4.5 and 4.5.2, both had the issue for me
from longpath.
Also it was in vs 2015
from longpath.
ok, not seeing it in 2013. I'll have to try with 2015 later.
from longpath.
I've tried it in 2013 and have the same issue in 4.5 projects but only from the nuget package.
On downloading the source solution I can add a new project and reference Pri.LongPath internally and it works fine.
I can create a sample repository and post a link if it helps?
from longpath.
Even more interesting. Let me have more of a look and I'll let you know if I need anything else. Thanks
from longpath.
@FuchsiaSoft I tried with a 2013 project for 4.5 and 4.5.1 and I'm not seeing any problems. If you have an 2013 example of the problem, could you please attach a zip to the thread?
from longpath.
Will do... it'll be about 12 hours from now though with time diff
from longpath.
Sorry for the delay I got caught up with something else.
GitHub won't allow me to attach a zip to this thread, so I've put it into a sample repo here:
https://github.com/FuchsiaSoft/LongPathTest
Direct link to the repo as a zip here:
https://github.com/FuchsiaSoft/LongPathTest/archive/master.zip
It's a console application made in Express 2013 targeting .Net 4.5
Pri.LongPath 2.0 was added from nuget as prerelease to it
from longpath.
Cool, thanks @FuchsiaSoft
from longpath.
Fixed by commit 785f14b
from longpath.
It just happened to be a compiler constant not being defined in the Release project. I'm surprised no one noticed it until now :). Thanks.
from longpath.
Thank you very much for your time... I'd worked around it with GetFiles for the project I'm currently working on but glad I don't have to change any others now it's fixed.
Thanks again 😃
from longpath.
Related Issues (20)
- .NET Standard 2.0 support HOT 2
- DirectoryInfo.Refresh fails with UnauthorizedAccessException if executing principal has no access to parent folder HOT 1
- Path.GetPathRoot() throws ArgumentOutOfRangeException HOT 1
- The filename or extension is too long when creating a Directory on UNC
- Infinite sequence of elements when traversing the directory name consisting of single space HOT 3
- StreamWriter HOT 1
- Regression on 2.0.47.0 for DirectoryInfo HOT 2
- Can you document public methods HOT 1
- Mono support incomplete HOT 5
- File handles not being disposed HOT 2
- Path.GetPathRoot() throws IndexOutOfRangeException
- File.WriteAllText throws System.EntryPointNotFoundException on Mono HOT 1
- Endless loop
- File.Copy does two operations, for not win and then for win
- DirectoryInfo Delete mothod is throw exception HOT 1
- Have you considered merging with System.IO.Abstractions? HOT 1
- Error: Trying to create a parent directory, which exists but the current user has no permissions. HOT 1
- Consider checking for error upon subdirectory creation in Directory.CreateDirectory
- Long UNC pathname containing forward-slash (/) path separators is not normalised correctly
- Error with a really long and strange filename. HOT 5
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 longpath.