Skip to content

Commit

Permalink
Merge branch 'fix/168-bug-with-csharpproject-resourcespath-and-' into…
Browse files Browse the repository at this point in the history
… 'main'

Fixed bug with CSharpProject.ResourcesPath and .ContentPath that default to the root of the drive

See merge request Sharpmake/sharpmake!504
  • Loading branch information
baudronp committed Feb 28, 2024
2 parents 44f3abe + e5dc5e0 commit 7e0f234
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 7e0f234

Please sign in to comment.