mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
51 lines
2.3 KiB
XML
51 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<AssemblyName>bnhtradeCOM</AssemblyName>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<!--Added the line below to copy all dll from .nuget folder to build output folder-->
|
|
<!--CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies-->
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<!--https://learn.microsoft.com/en-us/dotnet/core/native-interop/expose-components-to-com#register-the-com-host-for-com-->
|
|
<EnableComHosting>true</EnableComHosting>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ComHostTypeLibrary Include="bnhtradeCOM.tlb" />
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<OutputPath>..\..\bin\$(AssemblyName)\Debug\</OutputPath>
|
|
<CodeAnalysisRuleSet>SecurityRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<OutputPath>..\..\bin\$(AssemblyName)\Release\</OutputPath>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<RegisterForComInterop>false</RegisterForComInterop>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\bnhtrade.Core\bnhtrade.Core.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="CsvHelper" Version="33.0.1" />
|
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
|
</ItemGroup>
|
|
<PropertyGroup />
|
|
<PropertyGroup>
|
|
<AssemblyTitle>bnhtrade COM Type Library</AssemblyTitle>
|
|
<Company>bnhtrade</Company>
|
|
<Product>bnhtradeCOMAsm</Product>
|
|
<Copyright>Copyright © 2019</Copyright>
|
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
|
<FileVersion>1.0.0.0</FileVersion>
|
|
</PropertyGroup>
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="copy "$(ProjectDir)_RegAsmInstall.bat" "$(TargetDir)"
copy "$(ProjectDir)_RegAsmRefresh.bat" "$(TargetDir)"
copy "$(ProjectDir)_RegAsmUninstall.bat" "$(TargetDir)"" />
|
|
</Target>
|
|
</Project> |