Skip to content

Commit

Permalink
Converting to dotnet (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
BySuspect authored Oct 1, 2024
2 parents f08c299 + b8dc78b commit 615de33
Show file tree
Hide file tree
Showing 37 changed files with 1,067 additions and 1,767 deletions.
385 changes: 385 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions .github/FUNDING.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 0 additions & 36 deletions .github/dependabot.yml

This file was deleted.

6 changes: 0 additions & 6 deletions App.config

This file was deleted.

213 changes: 33 additions & 180 deletions AutoPixAiCreditClaimer.csproj
Original file line number Diff line number Diff line change
@@ -1,181 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{75585175-659D-4809-8A2D-50D44E24D431}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AutoPixAiCreditClaimer</RootNamespace>
<AssemblyName>AutoPixAiCreditClaimer</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<PublisherName>BySuspect</PublisherName>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>AutoPixAiCreditClaimer.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>60579584E1941C44B920342E41E581E32D9A965B</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>
</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<HintPath>..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.dll</HintPath>
</Reference>
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Helpers\ListHelper.cs" />
<Compile Include="Helpers\Logger.cs" />
<Compile Include="Helpers\References.cs" />
<Compile Include="Helpers\SettingsHelper.cs" />
<Compile Include="Pages\AddOrEditPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pages\AddOrEditPage.Designer.cs">
<DependentUpon>AddOrEditPage.cs</DependentUpon>
</Compile>
<Compile Include="Pages\MainPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pages\MainPage.Designer.cs">
<DependentUpon>MainPage.cs</DependentUpon>
</Compile>
<Compile Include="Pages\NewVersionAlertPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pages\NewVersionAlertPage.Designer.cs">
<DependentUpon>NewVersionAlertPage.cs</DependentUpon>
</Compile>
<Compile Include="Pages\SettingsPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Pages\SettingsPage.Designer.cs">
<DependentUpon>SettingsPage.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Pages\AddOrEditPage.resx">
<DependentUpon>AddOrEditPage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pages\MainPage.resx">
<DependentUpon>MainPage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pages\NewVersionAlertPage.resx">
<DependentUpon>NewVersionAlertPage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Pages\SettingsPage.resx">
<DependentUpon>SettingsPage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="AutoPixAiCreditClaimer_TemporaryKey.pfx" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="Selenium.WebDriver">
<Version>4.24.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>

<PropertyGroup>
<Version>1.3.0</Version>
<FileVersion>1.3.0</FileVersion>
<AssemblyVersion>1.3.0</AssemblyVersion>
<AssemblyName>AutoPixAiCreditClaimer</AssemblyName>
<Authors>BySuspect</Authors>
<Description>Automation for Pixai.art</Description>
<Copyright>Copyright © 2023 Made by BySuspect</Copyright>
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<None Remove=".gitattributes" />
<None Remove=".gitignore" />
<None Remove="CHANGELOG.md" />
<None Remove="LICENSE.txt" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Selenium.WebDriver" Version="4.25.0" />
</ItemGroup>
</Project>
14 changes: 7 additions & 7 deletions AutoPixAiCreditClaimer.sln
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
VisualStudioVersion = 17.11.35219.272
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoPixAiCreditClaimer", "AutoPixAiCreditClaimer.csproj", "{75585175-659D-4809-8A2D-50D44E24D431}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoPixAiCreditClaimer", "AutoPixAiCreditClaimer.csproj", "{02F7C970-B82E-456B-ADB7-35F19620D85D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{75585175-659D-4809-8A2D-50D44E24D431}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{75585175-659D-4809-8A2D-50D44E24D431}.Debug|Any CPU.Build.0 = Debug|Any CPU
{75585175-659D-4809-8A2D-50D44E24D431}.Release|Any CPU.ActiveCfg = Release|Any CPU
{75585175-659D-4809-8A2D-50D44E24D431}.Release|Any CPU.Build.0 = Release|Any CPU
{02F7C970-B82E-456B-ADB7-35F19620D85D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02F7C970-B82E-456B-ADB7-35F19620D85D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02F7C970-B82E-456B-ADB7-35F19620D85D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02F7C970-B82E-456B-ADB7-35F19620D85D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DC154ED6-C3C0-4F43-81FD-50DEBDD554DE}
SolutionGuid = {BA807059-85D3-4F75-9A52-E8CB34E22EDA}
EndGlobalSection
EndGlobal
4 changes: 4 additions & 0 deletions GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
global using AutoPixAiCreditClaimer.Helpers;
global using AutoPixAiCreditClaimer.Models;
global using AutoPixAiCreditClaimer.Views;
global using Console = System.Diagnostics.Debug;
Loading

0 comments on commit 615de33

Please sign in to comment.