Can I exclude / ignore files from Multi-Device Hybrid App build? (To avoid EBUSY error when building)

I am getting this error when building my hybrid multi-device app.

EXEC: error: EBUSY, busy or locked resource 'C: \ path \ to \ project \ bld \ Debug \ www \ .svn \ wc.db'

Supposed reason:

From what I can gather, when the Visual Studio Multi-Device Hybrid Apps extension builds the app, it seems to grab all files in the project directory (except for some specific files / folders like bld / bin directories and the .jsproj file) and add them to the package. This is ok but not ideal, it really only needs to grab the files in the VS project. The problem I am facing is that it grabs my SVN .db file and adds it to the package, then the TortoiseSVN status cache takes that file and blocks it - resulting in my error.

This is my specific problem, but I believe others may experience similar problems if they have other files in the directory that they don't want to be bundled with the application. I would suggest that this can be fixed by setting excluded files / folders from the build or build script without grabbing everything, just the files that are included in the visual studio project. I'm not sure how to request this, so hopefully the developers see this post ...

So my question is: Does anyone know of any way to tell the build process of a Visual Studio extension for multiple devices (or vs-mda \ vs-cli) to ignore certain files or folders?

Or does anyone have any suggestions as to how to make SVN and this VS extension enjoyable?

+3


source to share


2 answers


Unfortunately Visual Studio includes all files in the project directory except the bin \ bld folder. Currently, only the simplest solution is to save the files you want to exclude from the package outside of the project directory. You can add the file to the solution explorer using Add -> Existing Item -> Add as Link if you want the file to appear in the solution browser but not included for build or packaging.



0


source


It seems the folder with the test, as its name will be considered differently and it will be excluded from the package.



0


source







All Articles