Skip to content

Commit 637c6e0

Browse files
committed
增加UI项目
1 parent 6b05131 commit 637c6e0

20 files changed

Lines changed: 3960 additions & 14 deletions

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>2.0.5</Version>
3+
<Version>2.0.5</Version>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
6+
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
47
<Description>github加速神器</Description>
58
<Copyright>https://github.com/dotnetcore/FastGithub</Copyright>
69
<RuntimeIdentifier>win-x64</RuntimeIdentifier>

FastGithub.Configuration/FastGithub.Configuration.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
43
<Nullable>enable</Nullable>
54
</PropertyGroup>
65

FastGithub.DomainResolve/FastGithub.DomainResolve.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
43
<Nullable>enable</Nullable>
54
</PropertyGroup>
65

FastGithub.Http/FastGithub.Http.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
43
<Nullable>enable</Nullable>
54
</PropertyGroup>
65

FastGithub.HttpServer/FastGithub.HttpServer.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
54
<Nullable>enable</Nullable>
65
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
76
</PropertyGroup>

FastGithub.PacketIntercept/FastGithub.PacketIntercept.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
54
<Nullable>enable</Nullable>
65
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
76
</PropertyGroup>

FastGithub.UI/FastGithub.UI.csproj

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{650A08B6-080B-4011-9FB8-C3C93981FED2}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>FastGithub.UI</RootNamespace>
10+
<AssemblyName>FastGithub.UI</AssemblyName>
11+
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PlatformTarget>AnyCPU</PlatformTarget>
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>..\FastGithub\bin\publish\fastgithub_win-x64\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PlatformTarget>AnyCPU</PlatformTarget>
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<PropertyGroup>
36+
<ApplicationIcon>app.ico</ApplicationIcon>
37+
</PropertyGroup>
38+
<PropertyGroup />
39+
<PropertyGroup>
40+
<ApplicationManifest>app.manifest</ApplicationManifest>
41+
</PropertyGroup>
42+
<ItemGroup>
43+
<Reference Include="System" />
44+
<Reference Include="System.Core" />
45+
<Reference Include="System.Xml.Linq" />
46+
<Reference Include="System.Data.DataSetExtensions" />
47+
<Reference Include="Microsoft.CSharp" />
48+
<Reference Include="System.Data" />
49+
<Reference Include="System.Deployment" />
50+
<Reference Include="System.Drawing" />
51+
<Reference Include="System.Net.Http" />
52+
<Reference Include="System.Windows.Forms" />
53+
<Reference Include="System.Xml" />
54+
</ItemGroup>
55+
<ItemGroup>
56+
<Compile Include="MainForm.cs">
57+
<SubType>Form</SubType>
58+
</Compile>
59+
<Compile Include="MainForm.Designer.cs">
60+
<DependentUpon>MainForm.cs</DependentUpon>
61+
</Compile>
62+
<Compile Include="Program.cs" />
63+
<Compile Include="Properties\AssemblyInfo.cs" />
64+
<EmbeddedResource Include="MainForm.resx">
65+
<DependentUpon>MainForm.cs</DependentUpon>
66+
</EmbeddedResource>
67+
<EmbeddedResource Include="Properties\Resources.resx">
68+
<Generator>ResXFileCodeGenerator</Generator>
69+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
70+
<SubType>Designer</SubType>
71+
</EmbeddedResource>
72+
<Compile Include="Properties\Resources.Designer.cs">
73+
<AutoGen>True</AutoGen>
74+
<DependentUpon>Resources.resx</DependentUpon>
75+
</Compile>
76+
<None Include="app.manifest" />
77+
<None Include="Properties\Settings.settings">
78+
<Generator>SettingsSingleFileGenerator</Generator>
79+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
80+
</None>
81+
<Compile Include="Properties\Settings.Designer.cs">
82+
<AutoGen>True</AutoGen>
83+
<DependentUpon>Settings.settings</DependentUpon>
84+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
85+
</Compile>
86+
</ItemGroup>
87+
<ItemGroup>
88+
<Content Include="app.ico" />
89+
</ItemGroup>
90+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
91+
</Project>

FastGithub.UI/MainForm.Designer.cs

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FastGithub.UI/MainForm.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Data;
5+
using System.Drawing;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
using System.Windows.Forms;
10+
11+
namespace FastGithub.UI
12+
{
13+
public partial class MainForm : Form
14+
{
15+
public MainForm()
16+
{
17+
InitializeComponent();
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)