Skip to content

Commit

Permalink
auto build/copy native deps for win/lin
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrak1 committed May 8, 2021
1 parent 7a063dc commit 2a18258
Show file tree
Hide file tree
Showing 8 changed files with 507 additions and 40 deletions.
Binary file added ReleaseFiles/classdata.tpk
Binary file not shown.
361 changes: 361 additions & 0 deletions ReleaseFiles/classdatabase_license.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ReleaseFiles/uabea.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UABEA is a small clone of UABE in c#. It supports all versions Unity 5.5 and up.
UABEA uses the class database from UABE under the CC BY-NC-SA 3.0 license.
18 changes: 15 additions & 3 deletions TexToolWrap/TexToolWrap.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
Expand All @@ -46,7 +46,7 @@
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
Expand All @@ -72,16 +72,24 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<TargetExt>.dll</TargetExt>
<OutDir>bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -111,6 +119,8 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>PVRTexLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)PVRTexLib\Windows_x86_32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand Down Expand Up @@ -141,6 +151,8 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>PVRTexLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)PVRTexLib\Windows_x86_64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
90 changes: 83 additions & 7 deletions TexturePlugin/TexturePlugin.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AssetsTools.NET" Version="2.0.9" />
<PackageReference Include="Avalonia" Version="0.10.0" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.0" />
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.0" />
Expand All @@ -19,11 +21,85 @@
<ItemGroup>
<ProjectReference Include="..\UABEAvalonia\UABEAvalonia.csproj" />
</ItemGroup>

<PropertyGroup>
<UABEANativeConfig>unknown</UABEANativeConfig>
</PropertyGroup>

<!-- this will only execute once while building the solution -->
<!-- this should set UABEANativeConfig with the config, but -->
<!-- the actual copying has to be copy and pasted to work -->
<!-- with msbuild since targets can only execute once -->
<Target Name="BuildNativeAndSetConfig">
<!-- build textoolwrap for windows with vcxproj -->
<MSBuild Condition="$([MSBuild]::IsOsPlatform(Windows))" Projects="$(SolutionDir)TexToolWrap\TexToolWrap.vcxproj" Targets="Build" Properties="Configuration=$(Configuration);Platform=$(Platform)" />

<ItemGroup>
<Reference Include="AssetsTools.NET">
<HintPath>..\..\..\GitReposLocal\AssetsTools.NET\AssetTools.NET\bin\Debug\netstandard2.0\AssetsTools.NET.dll</HintPath>
</Reference>
</ItemGroup>
<!-- build textoolwrap for linux with make -->
<Exec Condition="$([MSBuild]::IsOsPlatform(Linux))" Command="make" WorkingDirectory="$(SolutionDir)TexToolWrap" />

<!-- g++ doesn't build the same as $(Platform) so check the os's platform instead -->
<!-- yes I know this is bad hack -->
<Exec Condition="$([MSBuild]::IsOsPlatform(Linux))" Command="uname -m" ConsoleToMSBuild="true">
<Output TaskParameter="ConsoleOutput" PropertyName="LinuxUnameM" />
</Exec>

<!-- anycpu will build x64, I have to choose one or another -->
<!-- and I figure most people have 64bit computers -->
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform(Windows)) AND ('$(Platform)' == 'x64' OR '$(Platform)' == 'AnyCPU')">
<UABEANativeConfig>win-x64</UABEANativeConfig>
<TexToolWrapBinDir>$(SolutionDir)TexToolWrap\bin\x64\$(Configuration)\TexToolWrap.dll</TexToolWrapBinDir>
<PVRTexToolBinDir>$(SolutionDir)TexToolWrap\PVRTexLib\Windows_x86_64\PVRTexLib.dll</PVRTexToolBinDir>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform(Windows)) AND '$(Platform)' == 'x86'">
<UABEANativeConfig>win-x86</UABEANativeConfig>
<TexToolWrapBinDir>$(SolutionDir)TexToolWrap\bin\Win32\$(Configuration)\TexToolWrap.dll</TexToolWrapBinDir>
<PVRTexToolBinDir>$(SolutionDir)TexToolWrap\PVRTexLib\Windows_x86_32\PVRTexLib.dll</PVRTexToolBinDir>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform(Linux)) AND '$(LinuxUnameM)' == 'x86_64'">
<UABEANativeConfig>linux-x64</UABEANativeConfig>
<TexToolWrapBinDir>$(SolutionDir)TexToolWrap\libtextoolwrap.so</TexToolWrapBinDir>
<PVRTexToolBinDir>$(SolutionDir)TexToolWrap\PVRTexLib\Linux_x86_64\libPVRTexLib.so</PVRTexToolBinDir>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform(Linux)) AND ('$(LinuxUnameM)' == 'i386' OR '$(Platform)' == 'i686')">
<UABEANativeConfig>linux-x86</UABEANativeConfig>
<TexToolWrapBinDir>$(SolutionDir)TexToolWrap\libtextoolwrap.so</TexToolWrapBinDir>
<PVRTexToolBinDir>$(SolutionDir)TexToolWrap\PVRTexLib\Linux_x86_32\libPVRTexLib.so</PVRTexToolBinDir>
</PropertyGroup>

<Message Importance="High" Text="TEXTUREPLUGIN BUILD INFO" />
<Message Importance="High" Text=" ONWINDOWS: $([MSBuild]::IsOsPlatform(Windows))" />
<Message Importance="High" Text=" PLATFORM: $(Platform)" />
<Message Importance="High" Text=" CONFIG: $(UABEANativeConfig)" />
</Target>

<!-- there seems to be no flag for checking if building -->
<!-- or publishing, so we just have two separate targets -->

<!-- build event -->
<Target Name="CopyLibrariesBuild" DependsOnTargets="BuildNativeAndSetConfig" AfterTargets="AfterBuild" Condition="'$(SolutionDir)' != '*Undefined*'">
<PropertyGroup>
<UABEABinDir>$(SolutionDir)UABEAvalonia\$(OutputPath)</UABEABinDir>
</PropertyGroup>

<!-- copy textoolwrap and pvrtexlib -->
<Copy SourceFiles="$(TexToolWrapBinDir)" DestinationFolder="$(UABEABinDir)runtimes\$(UABEANativeConfig)\native" ContinueOnError="true" />
<Copy SourceFiles="$(PVRTexToolBinDir)" DestinationFolder="$(UABEABinDir)runtimes\$(UABEANativeConfig)\native" ContinueOnError="true" />

<!-- copy textureplugin -->
<Copy SourceFiles="$(OutputPath)TexturePlugin.dll" DestinationFolder="$(UABEABinDir)plugins" ContinueOnError="true" />
</Target>

<!-- publish event -->
<Target Name="CopyLibrariesPublish" DependsOnTargets="BuildNativeAndSetConfig" AfterTargets="Publish" Condition="'$(SolutionDir)' != '*Undefined*'">
<PropertyGroup>
<UABEABinDir>$(SolutionDir)UABEAvalonia\$(PublishDir)</UABEABinDir>
</PropertyGroup>

<!-- copy textoolwrap and pvrtexlib -->
<Copy SourceFiles="$(TexToolWrapBinDir)" DestinationFolder="$(UABEABinDir)runtimes\$(UABEANativeConfig)\native" ContinueOnError="true" />
<Copy SourceFiles="$(PVRTexToolBinDir)" DestinationFolder="$(UABEABinDir)runtimes\$(UABEANativeConfig)\native" ContinueOnError="true" />

<!-- copy textureplugin -->
<Copy SourceFiles="$(OutputPath)TexturePlugin.dll" DestinationFolder="$(UABEABinDir)plugins" ContinueOnError="true" />
</Target>
</Project>
1 change: 1 addition & 0 deletions TexturePluginPreview/TexturePluginPreview.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.0" />
Expand Down
52 changes: 27 additions & 25 deletions UABEAvalonia.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,48 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x64.ActiveCfg = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x64.Build.0 = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x86.ActiveCfg = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x86.Build.0 = Debug|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x64.ActiveCfg = Debug|x64
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x64.Build.0 = Debug|x64
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x86.ActiveCfg = Debug|x86
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Debug|x86.Build.0 = Debug|x86
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|Any CPU.Build.0 = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x64.ActiveCfg = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x64.Build.0 = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x86.ActiveCfg = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x86.Build.0 = Release|Any CPU
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x64.ActiveCfg = Release|x64
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x64.Build.0 = Release|x64
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x86.ActiveCfg = Release|x86
{5DF4DE55-1498-470C-A7FC-A7D64A15F2E0}.Release|x86.Build.0 = Release|x86
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x64.ActiveCfg = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x64.Build.0 = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x86.ActiveCfg = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x86.Build.0 = Debug|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x64.ActiveCfg = Debug|x64
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x64.Build.0 = Debug|x64
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x86.ActiveCfg = Debug|x86
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Debug|x86.Build.0 = Debug|x86
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|Any CPU.Build.0 = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x64.ActiveCfg = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x64.Build.0 = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x86.ActiveCfg = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x86.Build.0 = Release|Any CPU
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x64.ActiveCfg = Release|x64
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x64.Build.0 = Release|x64
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x86.ActiveCfg = Release|x86
{253D4BE6-A4B4-4215-9CB3-3858EFA3FB5E}.Release|x86.Build.0 = Release|x86
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x64.ActiveCfg = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x64.Build.0 = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x86.ActiveCfg = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x86.Build.0 = Debug|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x64.ActiveCfg = Debug|x64
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x64.Build.0 = Debug|x64
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x86.ActiveCfg = Debug|x86
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Debug|x86.Build.0 = Debug|x86
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|Any CPU.Build.0 = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x64.ActiveCfg = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x64.Build.0 = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x86.ActiveCfg = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x86.Build.0 = Release|Any CPU
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x64.ActiveCfg = Release|x64
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x64.Build.0 = Release|x64
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x86.ActiveCfg = Release|x86
{407F80BC-7B93-40DB-ADE0-DD4BCC749D1C}.Release|x86.Build.0 = Release|x86
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|Any CPU.ActiveCfg = Debug|Win32
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|Any CPU.Build.0 = Debug|Win32
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|x64.ActiveCfg = Debug|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|x64.Build.0 = Debug|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|x86.ActiveCfg = Debug|Win32
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Debug|x86.Build.0 = Debug|Win32
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|Any CPU.ActiveCfg = Release|Win32
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|Any CPU.ActiveCfg = Release|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|Any CPU.Build.0 = Release|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|x64.ActiveCfg = Release|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|x64.Build.0 = Release|x64
{00E173EB-6B49-4055-A00E-18DBB1283C5B}.Release|x86.ActiveCfg = Release|Win32
Expand Down
23 changes: 18 additions & 5 deletions UABEAvalonia/UABEAvalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,31 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AssetsTools.NET" Version="2.0.9" />
<PackageReference Include="Avalonia" Version="0.10.0" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.0" />
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.0" />
<PackageReference Include="BCnEncoder.Net" Version="2.0.3" />
<PackageReference Include="MessageBox.Avalonia" Version="1.0.5" />
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.3" />
</ItemGroup>
<ItemGroup>
<Reference Include="AssetsTools.NET">
<HintPath>..\..\..\GitReposLocal\AssetsTools.NET\AssetTools.NET\bin\Debug\netstandard2.0\AssetsTools.NET.dll</HintPath>
</Reference>
</ItemGroup>

<Target Name="UABEAAfterBuild" AfterTargets="AfterBuild" Condition="'$(SolutionDir)' != '*Undefined*'">
<ItemGroup>
<ReleaseFiles Include="$(SolutionDir)ReleaseFiles\**\*" />
</ItemGroup>
<Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
<MakeDir Directories="$(OutputPath)plugins" ContinueOnError="true" />
</Target>

<Target Name="UABEAAfterPublish" AfterTargets="Publish" Condition="'$(SolutionDir)' != '*Undefined*'">
<ItemGroup>
<ReleaseFiles Include="$(SolutionDir)ReleaseFiles\**\*" />
</ItemGroup>
<Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(PublishDir)" ContinueOnError="true" />
<MakeDir Directories="$(PublishDir)plugins" ContinueOnError="true" />
</Target>
</Project>

0 comments on commit 2a18258

Please sign in to comment.