Visual Studio Publishing Bootstrap.Js as encrypted

For some reason, every time I publish either bootstrap.js or bootstrap.min.js, it is published as an encrypted file.

I am running VS2013 with bootstrap 3.0.2 and I have decrypted the files on my computer. I restarted the program by dragging it to the files.

It is really annoying, because every time I want to publish a website, I remember to remove the encryption, or no one can access the site.

+4
source share
1 answer

Use this line of code instead of using the file:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">

 <!-- Optional theme -->
 <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">

 <!-- Latest compiled and minified JavaScript -->
 <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
+1
source

All Articles