Skip to content

Commit 915c0ee

Browse files
author
aafent
committed
Add PrivateSettings.json
1 parent d94616b commit 915c0ee

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,4 +395,7 @@ FodyWeavers.xsd
395395
*.msp
396396

397397
# JetBrains Rider
398-
*.sln.iml
398+
*.sln.iml
399+
400+
# Private Files
401+
PrivateSettings.json

FAST.FBasic.InteractiveConsole/FAST.FBasicInteractiveConsole.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17+
<None Update="PrivateSettings.json">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
1720
<None Update="FBasicSettings.json">
1821
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1922
</None>

FAST.FBasic.InteractiveConsole/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
.ConfigureAppConfiguration((hostingContext, config) =>
88
{
99
config.AddJsonFile("FBasicSettings.json", optional: true, reloadOnChange: true);
10+
config.AddJsonFile("PrivateSettings.json", optional: true, reloadOnChange: true);
1011
});
12+
1113
var host = builder.Build();
1214
IConfiguration config = host.Services.GetRequiredService<IConfiguration>();
1315
FBasicIC FBASIC = new(config);

0 commit comments

Comments
 (0)