mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Project - Ensured every project only has x64 build configs Project - Removed WPF from projects where not needed
48 lines
2.1 KiB
XML
48 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<ShouldIncludeNativeSkiaSharp>false</ShouldIncludeNativeSkiaSharp>
|
|
<AssemblyName>Artemis.Plugins.Devices.WS281X</AssemblyName>
|
|
<RootNamespace>Artemis.Plugins.Devices.WS281X</RootNamespace>
|
|
<UseWPF>true</UseWPF>
|
|
<Platforms>x64</Platforms>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<None Remove="Views\WS281XConfigurationView.xaml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="plugin.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="MaterialDesignThemes" Version="3.1.3" />
|
|
</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>
|
|
</Reference>
|
|
<Reference Include="RGB.NET.Devices.WS281X">
|
|
<HintPath>..\..\..\..\RGB.NET\bin\netstandard2.0\RGB.NET.Devices.WS281X.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> |