Skip to content

Commit

Permalink
[Template] Fix namespace changes not being carried over
Browse files Browse the repository at this point in the history
  • Loading branch information
Eideren committed Jun 14, 2020
1 parent 7ee24d0 commit 89c59e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ protected override bool Generate(SessionTemplateGeneratorParameters parameters)
Description = parameters.Description,
Package = package,
Logger = parameters.Logger,
Namespace = parameters.Namespace
};

// Generate executable projects for each platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public static IEnumerable<SolutionProject> UpdatePackagePlatforms(PackageTemplat
OutputDirectory = package.FullPath.GetFullDirectory().GetParent(),
Session = package.Session,
Description = packageParameters.Description,
Namespace = packageParameters.Namespace
};

// Setup the ProjectGameGuid to be accessible from exec (in order to be able to link to the game project.
Expand Down
1 change: 1 addition & 0 deletions sources/tools/Stride.ProjectGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private static void GenerateUnitTestProject(string outputDirectory, string templ
templateGeneratorParameters.Logger = result;
templateGeneratorParameters.Description = new TemplateDescription();
templateGeneratorParameters.Id = assetId;
templateGeneratorParameters.Namespace = projectNamespace;

if (!PackageUnitTestGenerator.Default.PrepareForRun(templateGeneratorParameters).Result)
{
Expand Down

0 comments on commit 89c59e7

Please sign in to comment.