Skip to content

Commit 5da2dc9

Browse files
Fix build error.
1 parent ceb226e commit 5da2dc9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

dotnet/src/dotnetframework/GxClasses/Model/GXSilentTrn.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ namespace GeneXus.Utils
99
#if !NETCORE
1010
using Jayrock.Json;
1111
#endif
12-
using System.Text;
1312
using System.Security.Cryptography;
1413
using System.Reflection;
1514
using System.Runtime.Serialization;
16-
#if !NETCORE
15+
#if NETCORE
16+
using Microsoft.AspNetCore.Mvc;
17+
#else
1718
using System.ServiceModel;
1819
#endif
1920
using Configuration;
2021
using System.Globalization;
21-
using GeneXus.Http;
2222
using System.Diagnostics;
23+
using System.Text;
2324
using System.Text.Json.Serialization;
24-
using Microsoft.AspNetCore.Mvc;
2525

2626
public interface IGxSilentTrn
2727
{
@@ -715,13 +715,17 @@ public GxGenericCollectionItem(T s)
715715
{
716716
sdt1 = s;
717717
}
718+
#if NETCORE
718719
[JsonIgnore]
720+
#endif
719721
public GxUserType Sdt
720722
{
721723
get { return sdt1; }
722724
set { sdt1 = (T)value; }
723725
}
726+
#if NETCORE
724727
[JsonIgnore]
728+
#endif
725729
public IGxContext context
726730
{
727731
get { return sdt1.context; }

0 commit comments

Comments
 (0)