Commit 64f7fca
committed
Ignore .vs folder in template.json
More recent versions of MonoDevelop create a .vs folder. If a
.template.config folder is created for the solution, so this folder
is next to the .vs folder, then when you try to create a new project
from the template you will get a sharing violation error:
Could not create template. Id='MyTemplate.Test' CreateFailed
Error while processing file /.vs/Test/xs/sqlite3/db.lock
Sharing violation on path Test/.vs/Test/xs/sqlite3/db.lock
To workaround this the template.json file now includes a sources
section that excludes the .vs directory and all its files.
Fixes #41 parent 38e8f64 commit 64f7fca
File tree
1 file changed
+11
-0
lines changed- src/MonoDevelop.TemplateCreator/ConfigurationFiles
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
0 commit comments