Skip to content

Commit

Permalink
Leftover commit files
Browse files Browse the repository at this point in the history
  • Loading branch information
trigger-segfault committed Sep 25, 2017
1 parent 4a1df9c commit 79820f3
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions TConvert/TConvert.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<Compile Include="Extract\DtxUtil.cs" />
<Compile Include="Processing.cs" />
<Compile Include="Startup.cs" />
<Compile Include="TerrariaLocator.cs" />
<Compile Include="Util\TerrariaLocator.cs" />
<Compile Include="Convert\PngConverter.cs" />
<Compile Include="Convert\WavConverter.cs" />
<Compile Include="Convert\XCompress.cs" />
Expand All @@ -160,8 +160,7 @@
<Compile Include="Extract\LzxBuffer.cs" />
<Compile Include="Extract\LzxDecoder.cs" />
<Compile Include="Extract\XnbExtractor.cs" />
<Compile Include="Util\EmbeddedApps.cs" />
<Compile Include="Util\Extensions.cs" />
<Compile Include="Util\EmbeddedResources.cs" />
<Compile Include="Util\Helpers.cs" />
<Compile Include="Util\Xnb.cs" />
</ItemGroup>
Expand Down Expand Up @@ -231,4 +230,18 @@
<Target Name="AfterBuild">
</Target>
-->
<!-- https://gist.github.com/thoemmi/3724333 -->
<Target Name="EmbedReferencedAssemblies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<!-- get list of assemblies to copy -->
<!--<AssembliesToEmbed Include="@(ReferenceCopyLocalPaths)" Condition="'%(Filename)%(Extension)' == 'Newtonsoft.Json.dll'" />-->
<!-- add these assemblies to the list of embedded resources -->
<EmbeddedResource Include="@(AssembliesToEmbed)">
<LogicalName>%(Filename)%(Extension)</LogicalName>
</EmbeddedResource>
<!-- no need to copy the assmblies locally anymore -->
<ReferenceCopyLocalPaths Remove="@(AssembliesToEmbed)" />
</ItemGroup>
<Message Importance="high" Text="Embedding: @(AssembliesToEmbed->'%(Filename)%(Extension)', ', ')" />
</Target>
</Project>

0 comments on commit 79820f3

Please sign in to comment.