Page 1 of 1

LoadJavaScriptFile calls a multi-directory file can not be added to the Resources

Posted: Tue Jan 17, 2017 10:22 am
by tomny
Dear JS-Support,

If LoadJavaScriptFile calls a multi-level directory, it can not be added to the Resources directory.
I try to manually copy to the Resources directory, but when I regenerate the project, the compiler will regenerate Resources.

After testing, if the js file in the root directory or only a directory inside, it is working properly. But not on the multi-level catalog.

Image002.png
Image002.png (9.51 KiB) Viewed 4996 times

Image003.png
Image003.png (4.97 KiB) Viewed 4996 times

Image002.png
Image002.png (9.51 KiB) Viewed 4996 times



Thank you.
Regards,
Tomny

Re: LoadJavaScriptFile calls a multi-directory file can not be added to the Resources

Posted: Wed Jan 18, 2017 8:06 am
by JS-Support @Userware
Hi,

We have been unable to reproduce the issue. Please double-check the following:

1. Total length of the destination path should not exceed 255 characters

2. Try manually deleting the "bin/Debug/Output" folder and forcing a "Rebuild" of the project

If you still encounter the issue, please send us a ZIP file containing a solution where you get this issue. You can attach the file to this forum topic if you wish, or you can send it to us to support@cshtml5.com

Thanks.
Regards,
JS-Support