mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
Copy Reference DLLs from NuGet Automatically (#885)
* Pack value should be `true` not `True` * Copy content pipeline dll references to project directory for ease of use * Forgot `/` in path
This commit is contained in:
committed by
GitHub
parent
d40ad10459
commit
792aa89809
@@ -1,7 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="$(ArtifactsPath)/bin/MonoGame.Extended.Content.Pipeline/release/*.dll" Pack="True" PackagePath="tools" />
|
||||
<Content Include="$(ArtifactsPath)/bin/MonoGame.Extended.Content.Pipeline/release/*.dll" Pack="true" PackagePath="tools" />
|
||||
<Content Include="MonoGame.Extended.Content.Pipeline.targets" Pack="true" PackagePath="build" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target Name="CopyMonoGameExtendedDlls" BeforeTargets="RunContentBuilder;BeforeBuild">
|
||||
<ItemGroup>
|
||||
<DLLsToCopy Include="$(MSBuildThisFileDirectory)\..\tools\*.dll" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(DLLsToCopy)"
|
||||
DestinationFolder="$(MSBuildProjectDirectory)/Content/references"
|
||||
OverwriteReadOnlyFiles="true"
|
||||
SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user