Skip to content

Commit

Permalink
Made clear which props are for what use case.
Browse files Browse the repository at this point in the history
  • Loading branch information
CptMoore committed Dec 23, 2024
1 parent e48e3d0 commit 953347b
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion HarmonyXInterop/Harmony109Interop/Harmony109Interop.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Common.props" />
<Import Project="..\..\CommonBattleTech.props" />
<PropertyGroup>
<RootNamespace>0Harmony109</RootNamespace>
<AssemblyName>0Harmony109</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion HarmonyXInterop/Harmony12Interop/Harmony12Interop.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Common.props" />
<Import Project="..\..\CommonBattleTech.props" />
<PropertyGroup>
<RootNamespace>0Harmony12</RootNamespace>
<AssemblyName>0Harmony12</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion HarmonyXInterop/HarmonyXInterop/HarmonyXInterop.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Common.props" />
<Import Project="..\..\CommonBattleTech.props" />
<Target Name="CopyFilesToGame" AfterTargets="CopyFilesToOutputDirectory">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(ModTekLibDir)" />
</Target>
Expand Down
2 changes: 1 addition & 1 deletion ModTek.Common/ModTek.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CommonStandard.props" />
<Import Project="..\CommonNetStandard.props" />

<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion ModTek.InjectorRunner/ModTek.InjectorRunner.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CommonStandard.props" />
<Import Project="..\CommonNetStandard.props" />

<ItemGroup>
<InternalsVisibleTo Include="ModTek.Preloader" />
Expand Down
2 changes: 1 addition & 1 deletion ModTek.Preloader/ModTek.Preloader.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Common.props" />
<Import Project="..\CommonBattleTech.props" />

<Target Name="CopyFilesToGame" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
Expand Down
6 changes: 2 additions & 4 deletions ModTek/ModTek.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Common.props" />
<Import Project="..\CommonBattleTech.props" />

<PropertyGroup>
<!-- Suppress warnings for fields never assigned to (e.g. json deserialization works via reflection, not direct assignment) -->
Expand Down Expand Up @@ -96,12 +96,10 @@
</ItemGroup>

<!-- helpful direct access to resources in BT, might trigger IDE indexing -->
<!--
<ItemGroup>
<None Include="$(BattleTechGameDir)\Mods\.modtek\*.txt;$(BattleTechGameDir)\Mods\.modtek\*.log" LinkBase=".modtek" />
<None Include="$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.json;$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.csv" LinkBase="BattleTech_Data"/>
<!-- <None Include="$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.json;$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.csv" LinkBase="BattleTech_Data"/>-->
</ItemGroup>
-->

<ItemGroup>
<ProjectReference Include="..\ModTek.Common\ModTek.Common.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion ModTekInjector/ModTekInjector.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\CommonStandard.props" />
<Import Project="..\CommonNetStandard.props" />

<Target Name="CopyFilesToGame" AfterTargets="CopyFilesToOutputDirectory">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(BattleTechGameDir)\Mods\ModTek\Injectors\" />
Expand Down

0 comments on commit 953347b

Please sign in to comment.