Skip to content

Commit

Permalink
Create Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
just-ero committed Apr 22, 2024
1 parent e8bff61 commit f477988
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.fleet/

# Build artifacts
artifacts/
bin/
obj/
publish/
Expand Down
24 changes: 24 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project>

<!-- Imports `Directory.Build.props` from the above directory, if it exists. -->
<!-- If it does not, the properties `LsSrcPath`, `LsLibPath`, and `ComponentsDir` must be provided via the command line. -->
<!-- Example: `dotnet build -p:LsSrcPath=path/to/LiveSplit/src` -->

<Import Project="..\Directory.Build.props"
Condition="Exists('..\Directory.Build.props')" />

<PropertyGroup Label="Project Settings">
<TargetFramework>net4.6.1</TargetFramework>

<Nullable>disable</Nullable>
</PropertyGroup>

<PropertyGroup Label="Common Directories">
<RootPath>$(MSBuildThisFileDirectory)</RootPath>
</PropertyGroup>

<PropertyGroup Label="Output Settings">
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>

</Project>
3 changes: 0 additions & 3 deletions src/LiveSplit.Racetime/LiveSplit.Racetime.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutDir>..\..\..\..\bin\$(Configuration)\Components</OutDir>
<TargetFramework>net4.6.1</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>

<EnableDynamicLoading>true</EnableDynamicLoading>
<Nullable>disable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f477988

Please sign in to comment.