diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs index 099b33784e..112b9e8fb0 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.SharedAssetsProjects/SharedAssetsProject.cs @@ -223,7 +223,7 @@ namespace MonoDevelop.Projects.SharedAssetsProjects pref.Flags = ProjectItemFlags.DontPersist; pref.SetItemsProjectPath (ProjItemsPath); foreach (var f in Files) { - if (pref.OwnerProject.Files.GetFile (f.FilePath) == null) { + if (pref.OwnerProject.Files.GetFile (f.FilePath) == null && f.Subtype != Subtype.Directory) { var cf = (ProjectFile)f.Clone (); cf.Flags |= ProjectItemFlags.DontPersist | ProjectItemFlags.Hidden; pref.OwnerProject.Files.Add (cf); |