Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Publishing Web App Project with Visual Studio

I am using Visual Studio 2008 and trying to publish a Web Application Project, but it keeps failing when trying to add files in the project. Below is a sample of the message;

Publishing folder JavaScript... Unable to add 'JavaScript/hoverIntent.js' to the Web site. Unable to add file 'JavaScript\hoverIntent.js'. The specified file could not be encrypted.

This happens for image files too. I am lost as to why it is happening. I should add that I am using Windows 7 build 7100, not sure if this is casuing the issue??

Any help greatly appreciated

like image 962
macou Avatar asked Dec 02 '22 07:12

macou


1 Answers

I know this is an old topic, but I found it when I googled for the same problem.

My solution was to remove the "Encrypt" flag from Windows Explorer for the files listed (Right click -> Properties -> Advanced)

like image 78
Brage Tukkensæter Avatar answered Dec 22 '22 07:12

Brage Tukkensæter