Skip to content

Commit 014d05f

Browse files
committed
Update demo sdk to .net 6.0
1 parent 9997750 commit 014d05f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/NETCore.Encrypt.Demo/NETCore.Encrypt.Demo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

example/NETCore.Encrypt.Demo/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static void Main(string[] args)
110110

111111
Console.WriteLine($"Test str:{testStr}");
112112

113-
var saveDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory.Split("NETCore.Encrypt.Demo")[0], "Framework472.EncryptDemo\\bin\\Debug");
113+
var saveDir = AppDomain.CurrentDomain.BaseDirectory;
114114

115115
//save public key
116116
var publicKeySavePath = Path.Combine(saveDir, "privateKey.txt");

0 commit comments

Comments
 (0)