mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-01 18:23:32 +00:00
57 lines
2.4 KiB
XML
57 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<ShouldIncludeNativeSkiaSharp>false</ShouldIncludeNativeSkiaSharp>
|
|
<AssemblyName>Artemis.Plugins.Devices.Novation</AssemblyName>
|
|
<RootNamespace>Artemis.Plugins.Devices.Novation</RootNamespace>
|
|
<Platforms>x64</Platforms>
|
|
<GenerateDependencyFile>False</GenerateDependencyFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="x64\**" />
|
|
<Compile Remove="x86\**" />
|
|
<EmbeddedResource Remove="x64\**" />
|
|
<EmbeddedResource Remove="x86\**" />
|
|
<None Remove="x64\**" />
|
|
<None Remove="x86\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="plugin.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Sanford.Multimedia.Midi" Version="6.6.0">
|
|
<NoWarn>NU1701</NoWarn>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Artemis.Core\Artemis.Core.csproj">
|
|
<Private>false</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="RGB.NET.Core">
|
|
<HintPath>..\..\..\..\RGB.NET\bin\netstandard2.0\RGB.NET.Core.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="RGB.NET.Devices.Novation">
|
|
<HintPath>..\..\..\..\RGB.NET\bin\netstandard2.0\RGB.NET.Devices.Novation.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Update="Images\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Layouts\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(BuildingInsideVisualStudio)' == 'true'">
|
|
<Exec Command="echo Copying resources to plugin output directory
XCOPY "$(ProjectDir)Images" "$(TargetDir)Images" /s /q /i /y
XCOPY "$(ProjectDir)Layouts" "$(TargetDir)Layouts" /s /q /i /y
echo Copying plugin to Artemis.UI output directory
XCOPY "$(TargetDir.TrimEnd('\'))" "$(SolutionDir)\Artemis.UI\$(OutDir)Plugins\$(ProjectName)" /s /q /i /y" />
|
|
</Target>
|
|
</Project> |