Skip to content
Browse files

[Assets] Stop adding default folders in Package ctor

  • Loading branch information
xen2 committed Sep 19, 2018
1 parent 17d9b26 commit f7a8e099f4a4476be0d0ad6e63fcbbf33723527d
@@ -93,9 +93,6 @@ public Package()
Bundles = new BundleCollection(this);
IsDirty = true;
settings = new Lazy<PackageUserSettings>(() => new PackageUserSettings(this));

AssetFolders.Add(new AssetFolder("Assets"));

// Note: Please keep this code in sync with Asset class
@@ -217,6 +217,9 @@ public static SolutionProject GenerateTemplate(TemplateGeneratorParameters param
IsDirty = true,

package.AssetFolders.Add(new AssetFolder("Assets"));

var projectTemplate = PrepareTemplate(parameters, package, templateRelativePath, platformType, graphicsPlatform, projectType);
projectTemplate.Generate(outputDirectoryPath, projectName, projectGuid, parameters.Logger, options, generatedFiles);

0 comments on commit f7a8e09

Please sign in to comment.
You can’t perform that action at this time.