Skip to content

Commit

Permalink
Bug with CSharpProject.ResourcesPath and .ContentPath that default to…
Browse files Browse the repository at this point in the history
… the root of the drive

- Closes #168 [Bug with CSharpProject.ResourcesPath and .ContentPath that default to the root of the drive](https://gitlab-ncsa.ubisoft.org/Sharpmake/sharpmake/-/issues/168)
  • Loading branch information
bchampoux committed Feb 27, 2024
1 parent 44f3abe commit e5dc5e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sharpmake/Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2434,8 +2434,8 @@ private void InitCSharpSpecifics()
AssemblyName = "[project.Name]";
IsFileNameToLower = false;
IsTargetFileNameToLower = false;
ResourcesPath = RootPath + @"\Resources\";
ContentPath = RootPath + @"\Content\";
ResourcesPath = @"[project.RootPath]\Resources\";
ContentPath = @"[project.RootPath]\Content\";
ImportProjects.Add(new ImportProject { Project = DefaultImportProject });
ApplicationDefinitionFilenames.Add("App.xaml", "MainApplication.xaml");

Expand Down

0 comments on commit e5dc5e0

Please sign in to comment.