Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of SolutionDir which is not supported everywhere #763

Merged
merged 2 commits into from Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/ContentChecker/ContentChecker.csproj
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Contrib/ActivityEditor/LibAE/LibAE.csproj
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Contrib/DataCollector/DataCollector.csproj
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Contrib/TrackViewer/TrackViewer.csproj
Expand Up @@ -26,7 +26,7 @@
<HintPath>..\..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Menu/Menu.csproj
Expand Up @@ -31,7 +31,7 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.WinForms.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/ORTS.Common/ORTS.Common.csproj
Expand Up @@ -21,7 +21,7 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/ORTS.Settings/ORTS.Settings.csproj
Expand Up @@ -22,7 +22,7 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Orts.Formats.Msts/Orts.Formats.Msts.csproj
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Orts.Formats.OR/Orts.Formats.OR.csproj
Expand Up @@ -20,7 +20,7 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Orts.Parsers.Msts/Orts.Parsers.Msts.csproj
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions Source/Orts.Parsers.OR/Orts.Parsers.OR.csproj
Expand Up @@ -14,8 +14,7 @@
<DocumentationFile>..\..\Program\Orts.Parsers.OR.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework, Version=3.7.1.189, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<Reference Include="MonoGame.Framework">
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Orts.Simulation/Orts.Simulation.csproj
Expand Up @@ -19,7 +19,7 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/RunActivity/RunActivity.csproj
Expand Up @@ -32,10 +32,10 @@
<HintPath>..\3rdPartyLibs\GNU.Gettext.WinForms.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework.Content.Pipeline">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.Content.Pipeline.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.Content.Pipeline.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/Tests/Tests.csproj
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
Expand All @@ -15,7 +15,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="MonoGame.Framework">
<HintPath>$(SolutionDir)\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
<HintPath>..\3rdPartyLibs\MonoGame\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down