Skip to content

Commit ff04f43

Browse files
committed
Fix csproj generating with wrong path
1 parent 563f7a4 commit ff04f43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/Sandbox.SolutionGenerator/Generator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ public void Run( string gameExePath, string managedFolder, string solutionPath,
133133
{
134134
ProjectName = p.Name,
135135
ProjectReferences = "",
136-
ManagedRoot = AttemptAbsoluteToRelative( managedFolder, p.CsprojPath ),
137-
GameRoot = AttemptAbsoluteToRelative( relativePath, p.CsprojPath ),
136+
ManagedRoot = AttemptAbsoluteToRelative( p.CsprojPath, managedFolder ),
137+
GameRoot = AttemptAbsoluteToRelative( p.CsprojPath, relativePath ),
138138
References = p.References,
139139
GlobalStatic = p.GlobalStatic,
140140
GlobalUsing = p.GlobalUsing,

0 commit comments

Comments
 (0)