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

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
tomny
Posts: 37
Joined: Sat Nov 19, 2016 7:23 pm

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

Postby tomny » Tue Jan 17, 2017 10:22 am

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 351 times

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

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



Thank you.
Regards,
Tomny
Attachments
Image001.png
Image001.png (9.45 KiB) Viewed 351 times

JS-Support
Site Admin
Posts: 740
Joined: Tue Apr 08, 2014 3:42 pm

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

Postby JS-Support » Wed Jan 18, 2017 8:06 am

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


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron