Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IO.PathTooLongException #2

Open
Otto404 opened this issue Feb 8, 2016 · 2 comments
Open

System.IO.PathTooLongException #2

Otto404 opened this issue Feb 8, 2016 · 2 comments

Comments

@Otto404
Copy link

Otto404 commented Feb 8, 2016

In PageSystem.cs
public static DateTime SetCacheHeaders(HttpContextBase context)
{
string[] allFiles = Directory.GetFiles(context.Server.MapPath("~/"), ".", SearchOption.AllDirectories);
DateTime lastModified = allFiles.Max(f => File.GetLastWriteTime(f));

@jf26028
Copy link

jf26028 commented May 17, 2016

The cause of this is the node_modules folder. If you hide that folder in windows explorer, visual studio will ignore it and this issue will go away.

@Otto404
Copy link
Author

Otto404 commented May 18, 2016

thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants