Skip to content

Commit

Permalink
feature: jcdcdev.Eco.Core 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Oct 9, 2023
1 parent 1d86177 commit d6fc7eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<Project>
<Target Name="CopyDLLs" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<Target Name="Copy to Local Server" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<PropertyGroup>
<ServerPath>C:\Program Files (x86)\Steam\steamapps\common\Eco Server</ServerPath>
<ModsPath>$(ServerPath)\Mods\UserCode</ModsPath>
<ModOutputPath>$(ModsPath)\$(ProjectName)</ModOutputPath>
</PropertyGroup>
<ItemGroup>
<LibFiles Include="$(MSBuildProjectDirectory)\lib\*.dll"/>
<OutputFiles Include="$(TargetDir)$(ProjectName).dll"/>
</ItemGroup>

<Copy SourceFiles="$(TargetDir)$(ProjectName).dll" DestinationFolder="$(ModOutputPath)"/>
<Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(ModOutputPath)"/>
<Copy SourceFiles="@(LibFiles)" DestinationFolder="$(ModsPath)"/>
</Target>
</Project>
5 changes: 4 additions & 1 deletion src/jcdcdev.Eco.Signs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
<TargetFramework>net7.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DebugSymbols>false</DebugSymbols>
<DebugType>None</DebugType>
<GenerateDependencyFile>false</GenerateDependencyFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ElixrMods.Framework" Version="3.4.6"/>
<PackageReference Include="jcdcdev.Eco.Core" Version="0.2.0"/>
<PackageReference Include="jcdcdev.Eco.Core" Version="0.3.0"/>
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
Expand Down

0 comments on commit d6fc7eb

Please sign in to comment.