Linux compilation fixes

Enter these commands to build:
nuget restore SonicAudioTools.sln
msbuild SonicAudioTools.sln /p:Configuration=Release

Change log:
* Fixed word case in SonicAudioLib.csproj
* Added bash alternative of PostBuild script in CsbBuilder.csproj
This commit is contained in:
OSA413 2019-09-01 08:33:44 +05:00 committed by Skyth
parent 6babbb5a8c
commit e01d66cfb4
2 changed files with 4 additions and 4 deletions

View File

@ -235,7 +235,7 @@
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>copy "$(SolutionDir)Dependencies\*.dll" "$(TargetDir)"</PostBuildEvent> <PostBuildEvent>copy "$(SolutionDir)Dependencies\*.dll" "$(TargetDir)" || find "$(SolutionDir)Dependencies/" -name "*.dll" -exec cp {} "$(TargetDir)" ";"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
@ -244,4 +244,4 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
</Project> </Project>

View File

@ -68,7 +68,7 @@
<Compile Include="IO\DataExtractor.cs" /> <Compile Include="IO\DataExtractor.cs" />
<Compile Include="IO\StringPool.cs" /> <Compile Include="IO\StringPool.cs" />
<Compile Include="Helpers.cs" /> <Compile Include="Helpers.cs" />
<Compile Include="IO\SubStream.cs" /> <Compile Include="IO\Substream.cs" />
<Compile Include="IO\DataPool.cs" /> <Compile Include="IO\DataPool.cs" />
<Compile Include="FileBases\FileBase.cs" /> <Compile Include="FileBases\FileBase.cs" />
<Compile Include="ProgressChangedEvent.cs" /> <Compile Include="ProgressChangedEvent.cs" />
@ -83,4 +83,4 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
</Project> </Project>