Git Product home page Git Product logo

Comments (7)

tommck avatar tommck commented on June 17, 2024

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.

tommck avatar tommck commented on June 17, 2024

OK... getting weirder; stopped debugging; deleted files; restarted debugging.

It's still getting amplify.js somehow?

from cassette.

tommck avatar tommck commented on June 17, 2024

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.

andrewdavey avatar andrewdavey commented on June 17, 2024

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.

pilavdzic avatar pilavdzic commented on June 17, 2024

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.

pilavdzic avatar pilavdzic commented on June 17, 2024

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.

tommck avatar tommck commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.