Comments (7)
Actually, it looks like it's getting every file that's in the directory, not just those that are in the Project.
Can that be stopped?
from cassette.
OK... getting weirder; stopped debugging; deleted files; restarted debugging.
It's still getting amplify.js somehow?
from cassette.
OK, that last part was cache, which is a Cassini problem (my app doesn't cache anything during debug, but Cassini ignores that). Switching to IIS for sanity
from cassette.
Assets are located using a regular Directory.GetFiles
call. So even if they are not added to the VS project they will be found.
I need to document why the default behaviour includes all scripts.
For now please read #36 (comment)
That should go some way to explaining things.
from cassette.
I have this same problem as well. It is very annoying. For me it is behaving even worse, not only does it include script files not in the project, it includes entire folders of script files (modules) that should not be included at all and that I am not telling it to include anywhere.
from cassette.
P.S. It does this even when I rename the folder to an entirely different one. It finds it - no idea how, and includes it.
For example, I had files in /Scripts/NotInUse.
I renamed this to /OldScripts and STILL it tries to include them all (creating errors for me in the process).
from cassette.
Yeah, in addition, when you're developing, you may sometimes do something
like making a backup copy of files or something in a subdirectory, or a
"Copy Of XXXX.js" or something.
This causes duplicate naming errors,etc.
I think the module definitions need to be tied into the Project definition
somehow.
On Tue, Aug 30, 2011 at 10:34 AM, pilavdzic <
[email protected]>wrote:
P.S. It does this even when I rename the folder to an entirely different
one. It finds it - no idea how, and includes it.For example, I had files in /Scripts/NotInUse.
I renamed this to /OldScripts and STILL it tries to include them all
(creating errors for me in the process).Reply to this email directly or view it on GitHub:
#32 (comment)
from cassette.
Related Issues (20)
- Infinite loop between ExceptionCatchingBundleCollectionInitializer and BundleCollection.GetReadLock HOT 3
- Remove legacy classic pipeline web.config transforms HOT 1
- Strange behavior using Web Deploy HOT 1
- Azure + Release = 500 on cassette.axd HOT 10
- Change ID of html template
- cassette rebuild is slow HOT 1
- Sorting assets in HtmlTemplateBundles
- Cassette.RequireJS breaks with most recent version of AjaxMin
- 304 Not Modified HOT 1
- When minifing comma operator syntax, the behaviour of the minified code changes
- Cassette stripping timing units from 0 values making CSS properties invalid HOT 1
- Support "defer" and "async" on scripts
- Support ASP.NET core HOT 3
- Fonts and CSS Animations for Semantic UI not working once bundled HOT 1
- Cassette does not include files in /fonts and /images.
- Cached Manifest.xml being empty breaks website
- CSS minification breaking calc() HOT 1
- setTimeout with lambda causes incorrect minification
- Can Cassette be used in react-native?
- Could not load type 'Cassette.Trace' from assembly 'Cassette, Version=2.4.2.13844, Culture=neutral, PublicKeyToken=null'. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassette.