Skip to content

Commit

Permalink
fix(appsettings): Fix appsettigs (#36)
Browse files Browse the repository at this point in the history
* Fix bug.

* Fix appsettings.
  • Loading branch information
msmahdinejad authored Aug 26, 2024
1 parent 4a5532b commit d56d038
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions RelationAnalysis.Migrations/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static async Task Main(string[] args)

var configuration = host.Services.GetRequiredService<IConfiguration>();
Console.WriteLine(configuration.GetValue<string>("CONNECTION_STRING"));
Console.WriteLine(configuration.GetValue<string>("DefaultPassword"));

using (var scope = host.Services.CreateScope())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,4 @@
<ItemGroup>
<ProjectReference Include="..\RelationshipAnalysis\RelationshipAnalysis.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
3 changes: 0 additions & 3 deletions RelationAnalysis.Migrations/appsettings.json

This file was deleted.

0 comments on commit d56d038

Please sign in to comment.