1<?xml version="1.0" encoding="utf-8"?> 2<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <PropertyGroup> 4 <ProjectGuid>{A2FC4D71-1ED9-40D4-B746-FE6AB3C7D55E}</ProjectGuid> 5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 6 <Platform Condition=" '$(Platform)' == '' ">x86</Platform> 7 <OutputType>Library</OutputType> 8 <RootNamespace>Plugin</RootNamespace> 9 <AssemblyName>Sound.MP3</AssemblyName> 10 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 11 <AppDesignerFolder>Properties</AppDesignerFolder> 12 <AllowUnsafeBlocks>False</AllowUnsafeBlocks> 13 <NoStdLib>False</NoStdLib> 14 <WarningLevel>4</WarningLevel> 15 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> 16 <TargetFrameworkProfile> 17 </TargetFrameworkProfile> 18 </PropertyGroup> 19 <PropertyGroup Condition=" '$(Platform)' == 'x86' "> 20 <PlatformTarget>AnyCPU</PlatformTarget> 21 <RegisterForComInterop>False</RegisterForComInterop> 22 <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> 23 <BaseAddress>4194304</BaseAddress> 24 <FileAlignment>4096</FileAlignment> 25 </PropertyGroup> 26 <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> 27 <OutputPath>bin\Debug\Data\Plugins\</OutputPath> 28 <DebugSymbols>True</DebugSymbols> 29 <DebugType>Full</DebugType> 30 <Optimize>False</Optimize> 31 <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> 32 <DefineConstants>DEBUG;TRACE</DefineConstants> 33 </PropertyGroup> 34 <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> 35 <OutputPath>bin\Release\Data\Plugins\</OutputPath> 36 <DebugSymbols>false</DebugSymbols> 37 <DebugType>None</DebugType> 38 <Optimize>True</Optimize> 39 <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> 40 <DefineConstants>TRACE</DefineConstants> 41 </PropertyGroup> 42 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> 43 <OutputPath>..\..\..\bin_debug\</OutputPath> 44 <PlatformTarget>AnyCPU</PlatformTarget> 45 <LangVersion>6</LangVersion> 46 <Prefer32Bit>false</Prefer32Bit> 47 </PropertyGroup> 48 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> 49 <OutputPath>..\..\..\bin_release\</OutputPath> 50 <PlatformTarget>AnyCPU</PlatformTarget> 51 <LangVersion>6</LangVersion> 52 <Prefer32Bit>false</Prefer32Bit> 53 </PropertyGroup> 54 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 55 <ItemGroup> 56 <Reference Include="NAudio, Version=1.10.0.0, Culture=neutral, processorArchitecture=MSIL"> 57 <HintPath>..\..\..\packages\NAudio.1.10.0\lib\net35\NAudio.dll</HintPath> 58 </Reference> 59 <Reference Include="NLayer, Version=1.12.0.0, Culture=neutral, processorArchitecture=MSIL"> 60 <HintPath>..\..\..\packages\NLayer.1.12.0\lib\net35\NLayer.dll</HintPath> 61 <Private>True</Private> 62 </Reference> 63 <Reference Include="NLayer.NAudioSupport, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> 64 <HintPath>..\..\..\packages\NLayer.NAudioSupport.1.0.0\lib\net35\NLayer.NAudioSupport.dll</HintPath> 65 </Reference> 66 <Reference Include="System" /> 67 </ItemGroup> 68 <ItemGroup> 69 <Compile Include="Plugin.Parser.cs"> 70 <DependentUpon>Plugin.cs</DependentUpon> 71 </Compile> 72 <Compile Include="Plugin.cs" /> 73 <Compile Include="Properties\AssemblyInfo.cs" /> 74 </ItemGroup> 75 <ItemGroup> 76 <ProjectReference Include="..\..\OpenBveApi\OpenBveApi.csproj"> 77 <Project>{27134980-4415-4375-A564-40A9014DFA5F}</Project> 78 <Name>OpenBveApi</Name> 79 <Private>True</Private> 80 </ProjectReference> 81 </ItemGroup> 82 <ItemGroup> 83 <None Include="app.config" /> 84 <None Include="packages.config" /> 85 </ItemGroup> 86 <Target Name="AfterBuild"> 87 <ItemGroup> 88 <OutputFiles Include="$(TargetDir)$(TargetName).*" /> 89 </ItemGroup> 90 <Move SourceFiles="@(OutputFiles)" DestinationFolder="$(TargetDir)Data\Plugins\" /> 91 </Target> 92</Project>