1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\csharp\NQuantLib.csproj" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition=" '$(OS)' == 'Windows_NT' ">
<Exec Command="copy "$(ProjectDir)..\..\cpp\NQuantLibc.dll" "$(TargetDir)"" />
</Target>
</Project>
|