Skip to content

Commit

Permalink
Updated to latest versions
Browse files Browse the repository at this point in the history
CloudTheWolf committed Apr 15, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8cc1c9a commit 98ae11e
Showing 4 changed files with 13 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -365,3 +365,4 @@ FodyWeavers.xsd
# Development appsettings.json

CloudTheWolf.DSharpPlus.Scaffolding.Worker/appsettings.Development.json
/build_linux.bat
Original file line number Diff line number Diff line change
@@ -17,15 +17,15 @@ internal Database()
var MySql = true;
sda = MySql ? new MySqlDataAccess() : new SqlSvrDataAccess();

sda.LoadConnectionString($"Server={Options.MySqlHost};Port={Options.MySqlPort};Uid={Options.MySqlUsername};Pwd={Options.MySqlPassword};Database={Options.MySqlDatabase};");
sda.LoadConnectionString($"Server={Options.MySqlHost};Port={Options.MySqlPort};Uid={Options.MySqlUsername};Pwd={Options.MySqlPassword};Database={Options.MySqlDatabase};",Example.Logger);

}


internal JArray GetConfig()
{

var json = sda.Request("SELECT * FROM config;");
var json = sda.Request("SELECT * FROM config;", Example.Logger);
return JArray.Parse(json);
}

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Data" Version="1.0.1.9" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Shared" Version="1.0.1.11" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Data" Version="2.0.0.1" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Shared" Version="2.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<UserSecretsId>dotnet-CloudTheWolf.DSharpPlus.Scaffolding.Worker-0A60E053-6D97-4B88-9050-870BA0C51813</UserSecretsId>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
@@ -12,23 +12,19 @@
<None Remove="appsettings.json.example" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>G:\aaaProjects18\</OutputPath>
</PropertyGroup>

<ItemGroup>
<Content Include="appsettings.json.example">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Data" Version="1.0.1.9" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Shared" Version="1.0.1.11" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="5.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="5.0.1" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Data" Version="2.0.0.1" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Shared" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="6.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
</ItemGroup>

<ItemGroup>

0 comments on commit 98ae11e

Please sign in to comment.