Added Newtonsoft.Json into installer

This commit is contained in:
Viacheslav Demydiuk
2024-03-09 17:37:54 +02:00
parent 2d3e36ec8c
commit 75b9aabfbd
4 changed files with 8 additions and 6 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
using System; namespace MtApi5
namespace MtApi5
{ {
public class Mt5TradeTransactionEventArgs : EventArgs public class Mt5TradeTransactionEventArgs : EventArgs
{ {
+1
View File
@@ -5,6 +5,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<VersionPrefix>2.0.0</VersionPrefix> <VersionPrefix>2.0.0</VersionPrefix>
<BaseOutputPath>$(SolutionDir)build\products</BaseOutputPath> <BaseOutputPath>$(SolutionDir)build\products</BaseOutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
+1 -3
View File
@@ -1,9 +1,7 @@
using System.Collections; using Newtonsoft.Json;
using Newtonsoft.Json;
using MtClient; using MtClient;
using MtApi5.MtProtocol; using MtApi5.MtProtocol;
using MtApi5.MtProtocol.ICustomRequest; using MtApi5.MtProtocol.ICustomRequest;
using System.Xml.Linq;
namespace MtApi5 namespace MtApi5
{ {
+5
View File
@@ -83,6 +83,11 @@
src="$(var.ProductPath)MtClient.dll"/> src="$(var.ProductPath)MtClient.dll"/>
</Component> </Component>
<Component Id="NewtonsoftJsondll" Directory="INSTALLFOLDER">
<File Id="Newtonsoft.Json.dll" Name="Newtonsoft.Json.dll" KeyPath="yes"
src="$(var.ProductPath)Newtonsoft.Json.dll"/>
</Component>
<Component Id="MtApi5Expert" Directory="ExpertFolder"> <Component Id="MtApi5Expert" Directory="ExpertFolder">
<File Id="MtApi5.ex5" Name="MtApi5.ex5" KeyPath="yes" <File Id="MtApi5.ex5" Name="MtApi5.ex5" KeyPath="yes"
Source="..\mq5\MtApi5.ex5" /> Source="..\mq5\MtApi5.ex5" />