Skip to content

Commit 7f4815f

Browse files
authored
Merge pull request #763 from twpol/bugfix/remove-solutiondir-variable
build: Remove use of SolutionDir which is not supported everywhere
2 parents fbeaf73 + 12e250d commit 7f4815f

File tree

15 files changed

+17
-18
lines changed

15 files changed

+17
-18
lines changed

Source/ContentChecker/ContentChecker.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515
<ItemGroup>
1616
<Reference Include="MonoGame.Framework">
17-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
17+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
1818
</Reference>
1919
</ItemGroup>
2020
<ItemGroup>

Source/Contrib/ActivityEditor/ActivityEditor/ActivityEditor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818
<ItemGroup>
1919
<Reference Include="MonoGame.Framework">
20-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
20+
<HintPath>..\..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
2121
</Reference>
2222
</ItemGroup>
2323
<ItemGroup>

Source/Contrib/ActivityEditor/LibAE/LibAE.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515
<ItemGroup>
1616
<Reference Include="MonoGame.Framework">
17-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
17+
<HintPath>..\..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
1818
</Reference>
1919
</ItemGroup>
2020
<ItemGroup>

Source/Contrib/DataCollector/DataCollector.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616
<ItemGroup>
1717
<Reference Include="MonoGame.Framework">
18-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
18+
<HintPath>..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
1919
</Reference>
2020
</ItemGroup>
2121
<ItemGroup>

Source/Contrib/TrackViewer/TrackViewer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<HintPath>..\..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
2727
</Reference>
2828
<Reference Include="MonoGame.Framework">
29-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
29+
<HintPath>..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
3030
</Reference>
3131
</ItemGroup>
3232
<ItemGroup>

Source/Menu/Menu.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<HintPath>..\3rdPartyLibs\GNU.Gettext.WinForms.dll</HintPath>
3232
</Reference>
3333
<Reference Include="MonoGame.Framework">
34-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
34+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
3535
</Reference>
3636
<Reference Include="WindowsBase" />
3737
</ItemGroup>

Source/ORTS.Common/ORTS.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
2222
</Reference>
2323
<Reference Include="MonoGame.Framework">
24-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
24+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
2525
</Reference>
2626
</ItemGroup>
2727
<ItemGroup>

Source/ORTS.Settings/ORTS.Settings.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
2323
</Reference>
2424
<Reference Include="MonoGame.Framework">
25-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
25+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
2626
</Reference>
2727
</ItemGroup>
2828
<ItemGroup>

Source/Orts.Formats.Msts/Orts.Formats.Msts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616
<ItemGroup>
1717
<Reference Include="MonoGame.Framework">
18-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
18+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
1919
</Reference>
2020
</ItemGroup>
2121
<ItemGroup>

Source/Orts.Formats.OR/Orts.Formats.OR.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
2121
</Reference>
2222
<Reference Include="MonoGame.Framework">
23-
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
23+
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
2424
</Reference>
2525
</ItemGroup>
2626
<ItemGroup>

0 commit comments

Comments
 (0)