|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - <PropertyGroup> |
3 | | - <TargetFramework>netstandard2.0</TargetFramework> |
4 | | - <LangVersion>9</LangVersion> |
5 | | - <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
6 | | - </PropertyGroup> |
7 | | - <PropertyGroup> |
8 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
9 | | - </PropertyGroup> |
10 | | - <PropertyGroup> |
11 | | - <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
12 | | - </PropertyGroup> |
13 | | - <ItemGroup> |
14 | | - <PackageReference Include="StreamDeckSharp" Version="5.0.0" /> |
15 | | - </ItemGroup> |
16 | | - <ItemGroup> |
17 | | - <Reference Include="LumosLIB"> |
18 | | - <HintPath Condition="Exists('..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath> |
19 | | - <HintPath Condition="Exists('..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath> |
20 | | - <HintPath Condition="Exists('..\dep')">..\dep\LumosLIB.dll</HintPath> |
21 | | - <Private>True</Private> |
22 | | - </Reference> |
23 | | - <Reference Include="LumosProtobuf"> |
24 | | - <HintPath Condition="Exists('..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath> |
25 | | - <HintPath Condition="Exists('..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath> |
26 | | - <HintPath Condition="Exists('..\dep')">..\dep\LumosProtobuf.dll</HintPath> |
27 | | - <Private>True</Private> |
28 | | - </Reference> |
29 | | - <Reference Include="LumosToolsLIB"> |
30 | | - <HintPath Condition="Exists('..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath> |
31 | | - <HintPath Condition="Exists('..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath> |
32 | | - <HintPath Condition="Exists('..\dep')">..\dep\LumosToolsLIB.dll</HintPath> |
33 | | - <Private>True</Private> |
34 | | - </Reference> |
35 | | - </ItemGroup> |
36 | | - <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
37 | | - <Exec Command="xcopy "$(TargetPath)" "$(ProjectDir)..\Releases\" /F /R /Y /I
xcopy "$(TargetDir)$(TargetName).pdb" "$(ProjectDir)..\Releases\" /F /R /Y /I

rem copy the dependencies to build\dep
xcopy "$(TargetDir)\StreamDeckSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\OpenMacroBoard.SDK.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\SixLabors.ImageSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\HidSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I" /> |
38 | | - </Target> |
39 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFramework>netstandard2.0</TargetFramework> |
| 4 | + <LangVersion>9</LangVersion> |
| 5 | + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
| 6 | + </PropertyGroup> |
| 7 | + <PropertyGroup> |
| 8 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 9 | + </PropertyGroup> |
| 10 | + <PropertyGroup> |
| 11 | + <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
| 12 | + </PropertyGroup> |
| 13 | + <ItemGroup> |
| 14 | + <PackageReference Include="StreamDeckSharp" Version="6.0.0" /> |
| 15 | + </ItemGroup> |
| 16 | + <ItemGroup> |
| 17 | + <Reference Include="LumosLIB"> |
| 18 | + <HintPath Condition="Exists('..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath> |
| 19 | + <HintPath Condition="Exists('..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosLIB\bin\Debug\netstandard2.0\LumosLIB.dll</HintPath> |
| 20 | + <HintPath Condition="Exists('..\dep')">..\dep\LumosLIB.dll</HintPath> |
| 21 | + <Private>True</Private> |
| 22 | + </Reference> |
| 23 | + <Reference Include="LumosProtobuf"> |
| 24 | + <HintPath Condition="Exists('..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath> |
| 25 | + <HintPath Condition="Exists('..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0')">..\..\Lumos\LumosProtobuf\bin\Debug\netstandard2.0\LumosProtobuf.dll</HintPath> |
| 26 | + <HintPath Condition="Exists('..\dep')">..\dep\LumosProtobuf.dll</HintPath> |
| 27 | + <Private>True</Private> |
| 28 | + </Reference> |
| 29 | + <Reference Include="LumosToolsLIB"> |
| 30 | + <HintPath Condition="Exists('..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\3.3\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath> |
| 31 | + <HintPath Condition="Exists('..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0')">..\..\Lumos\LumosToolsLIB\bin\Debug\netstandard2.0\LumosToolsLIB.dll</HintPath> |
| 32 | + <HintPath Condition="Exists('..\dep')">..\dep\LumosToolsLIB.dll</HintPath> |
| 33 | + <Private>True</Private> |
| 34 | + </Reference> |
| 35 | + </ItemGroup> |
| 36 | + <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 37 | + <Exec Command="xcopy "$(TargetPath)" "$(ProjectDir)..\Releases\" /F /R /Y /I
xcopy "$(TargetDir)$(TargetName).pdb" "$(ProjectDir)..\Releases\" /F /R /Y /I

rem copy the dependencies to build\dep
xcopy "$(TargetDir)\StreamDeckSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\OpenMacroBoard.SDK.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\SixLabors.ImageSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I
xcopy "$(TargetDir)\HidSharp.dll" "$(ProjectDir)..\Releases\dependencies\" /F /R /Y /I" /> |
| 38 | + </Target> |
| 39 | +</Project> |
0 commit comments