Skip to content

Commit 00f55ec

Browse files
committed
Code migration
1 parent 3a2309a commit 00f55ec

31 files changed

+1317
-1
lines changed

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

Lines changed: 244 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
9+
# Build results
10+
[Dd]ebug/
11+
[Dd]ebugPublic/
12+
[Rr]elease/
13+
[Rr]eleases/
14+
x64/
15+
x86/
16+
build/
17+
bld/
18+
[Bb]in/
19+
[Oo]bj/
20+
21+
# Roslyn cache directories
22+
*.ide/
23+
24+
# MSTest test Results
25+
[Tt]est[Rr]esult*/
26+
[Bb]uild[Ll]og.*
27+
28+
#NUNIT
29+
*.VisualState.xml
30+
TestResult.xml
31+
32+
# Build Results of an ATL Project
33+
[Dd]ebugPS/
34+
[Rr]eleasePS/
35+
dlldata.c
36+
37+
*_i.c
38+
*_p.c
39+
*_i.h
40+
*.ilk
41+
*.meta
42+
*.obj
43+
*.pch
44+
*.pdb
45+
*.pgc
46+
*.pgd
47+
*.rsp
48+
*.sbr
49+
*.tlb
50+
*.tli
51+
*.tlh
52+
*.tmp
53+
*.tmp_proj
54+
*.log
55+
*.vspscc
56+
*.vssscc
57+
.builds
58+
*.pidb
59+
*.svclog
60+
*.scc
61+
62+
# Chutzpah Test files
63+
_Chutzpah*
64+
65+
# Visual C++ cache files
66+
ipch/
67+
*.aps
68+
*.ncb
69+
*.opensdf
70+
*.sdf
71+
*.cachefile
72+
73+
# Visual Studio profiler
74+
*.psess
75+
*.vsp
76+
*.vspx
77+
78+
# TFS 2012 Local Workspace
79+
$tf/
80+
81+
# Guidance Automation Toolkit
82+
*.gpState
83+
84+
# ReSharper is a .NET coding add-in
85+
_ReSharper*/
86+
*.[Rr]e[Ss]harper
87+
*.DotSettings.user
88+
89+
# JustCode is a .NET coding addin-in
90+
.JustCode
91+
92+
# TeamCity is a build add-in
93+
_TeamCity*
94+
95+
# DotCover is a Code Coverage Tool
96+
*.dotCover
97+
98+
# NCrunch
99+
_NCrunch_*
100+
.*crunch*.local.xml
101+
102+
# MightyMoose
103+
*.mm.*
104+
AutoTest.Net/
105+
106+
# Web workbench (sass)
107+
.sass-cache/
108+
109+
# Installshield output folder
110+
[Ee]xpress/
111+
112+
# DocProject is a documentation generator add-in
113+
DocProject/buildhelp/
114+
DocProject/Help/*.HxT
115+
DocProject/Help/*.HxC
116+
DocProject/Help/*.hhc
117+
DocProject/Help/*.hhk
118+
DocProject/Help/*.hhp
119+
DocProject/Help/Html2
120+
DocProject/Help/html
121+
122+
# Click-Once directory
123+
publish/
124+
125+
# Publish Web Output
126+
*.[Pp]ublish.xml
127+
*.azurePubxml
128+
# TODO: Comment the next line if you want to checkin your web deploy settings
129+
# but database connection strings (with potential passwords) will be unencrypted
130+
*.pubxml
131+
*.publishproj
132+
133+
# NuGet Packages
134+
*.nupkg
135+
# The packages folder can be ignored because of Package Restore
136+
**/packages/*
137+
# except build/, which is used as an MSBuild target.
138+
!**/packages/build/
139+
# If using the old MSBuild-Integrated Package Restore, uncomment this:
140+
#!**/packages/repositories.config
141+
142+
# Windows Azure Build Output
143+
csx/
144+
*.build.csdef
145+
146+
# Windows Store app package directory
147+
AppPackages/
148+
149+
# Others
150+
sql/
151+
*.Cache
152+
ClientBin/
153+
[Ss]tyle[Cc]op.*
154+
~$*
155+
*~
156+
*.dbmdl
157+
*.dbproj.schemaview
158+
*.pfx
159+
*.publishsettings
160+
node_modules/
161+
162+
# RIA/Silverlight projects
163+
Generated_Code/
164+
165+
# Backup & report files from converting an old project file
166+
# to a newer Visual Studio version. Backup files are not needed,
167+
# because we have git ;-)
168+
_UpgradeReport_Files/
169+
Backup*/
170+
UpgradeLog*.XML
171+
UpgradeLog*.htm
172+
173+
# SQL Server files
174+
*.mdf
175+
*.ldf
176+
177+
# Business Intelligence projects
178+
*.rdl.data
179+
*.bim.layout
180+
*.bim_*.settings
181+
182+
# Microsoft Fakes
183+
FakesAssemblies/
184+
185+
# SVN Repo
186+
.svn/
187+
src/c\#/.vs/GeneralUpdate/DesignTimeBuild/.dtbcache.v2
188+
src/c\#/.vs/GeneralUpdate/FileContentIndex/ff67c388-b930-4070-bddb-c39601e48c57.vsidx
189+
src/c\#/.vs/GeneralUpdate/FileContentIndex/read.lock
190+
src/c\#/.vs/ProjectEvaluation/generalupdate.metadata.v2
191+
src/c\#/.vs/ProjectEvaluation/generalupdate.projects.v2
192+
src/c\#/.vs/GeneralUpdate/v17/.futdcache.v1
193+
src/c\#/.vs/GeneralUpdate/FileContentIndex/fd0aa8da-be04-4ca1-991e-10c8e80ee628.vsidx
194+
src/c\#/.vs/GeneralUpdate/FileContentIndex/9fc368ae-1775-48f0-a214-52c699e7e221.vsidx
195+
src/c\#/.vs/GeneralUpdate/FileContentIndex/1def6f00-2acc-40db-bf3e-7ba37ac041b4.vsidx
196+
src/c\#/.vs/GeneralUpdate/FileContentIndex/f267263a-f141-4a44-949f-cdd703d36668.vsidx
197+
src/c\#/.vs/GeneralUpdate/FileContentIndex/a005be11-c821-4012-baa5-2289a67ab8f6.vsidx
198+
src/c\#/.vs/GeneralUpdate/FileContentIndex/448275cf-c03b-4a4f-8f6e-60d18910ec74.vsidx
199+
src/c\#/.vs/GeneralUpdate/FileContentIndex/338511e5-719c-4bd0-ae65-fd6bbb838bb0.vsidx
200+
src/c\#/.vs/GeneralUpdate/FileContentIndex/64a688df-32d8-4073-9b89-8beb31ec44b4.vsidx
201+
src/c\#/.vs/GeneralUpdate/FileContentIndex/8d2b0287-372f-48f3-9e33-5a5d5c769fe6.vsidx
202+
src/c\#/.vs/GeneralUpdate/FileContentIndex/a2b3df89-115b-4fdf-a412-fe433fc29551.vsidx
203+
src/c\#/.vs/GeneralUpdate/FileContentIndex/2e7a3ace-8fb7-4536-8998-f379fdf91c29.vsidx
204+
src/c\#/.vs/GeneralUpdate/FileContentIndex/29c34e92-1a7f-47bd-805e-8c19ce373b55.vsidx
205+
src/c\#/.vs/GeneralUpdate/FileContentIndex/5b48f8da-679a-4b18-b2fd-d6cc4eedc458.vsidx
206+
src/c\#/.vs/GeneralUpdate/FileContentIndex/65c4ceac-d4d8-49a0-addb-0b834a400158.vsidx
207+
src/c\#/.vs/GeneralUpdate/FileContentIndex/94a05fbf-9ec0-4027-b6c2-b491d521136e.vsidx
208+
src/c\#/.vs/GeneralUpdate/FileContentIndex/e6df826d-8988-4690-8a57-0b3788accacf.vsidx
209+
src/c\#/.vs/GeneralUpdate/FileContentIndex/200b1b0a-d9fa-4448-bb18-d5571c29d67b.vsidx
210+
src/c\#/.vs/GeneralUpdate/FileContentIndex/2185cfe1-2c53-4625-ac06-9d28b6ec05fb.vsidx
211+
src/c\#/.vs/GeneralUpdate/FileContentIndex/a97b2da3-d144-46e3-8b37-f3d072479af8.vsidx
212+
src/c\#/.vs/GeneralUpdate/v17/.futdcache.v2
213+
src/c\#/.vs/ProjectEvaluation/generalupdate.metadata.v3
214+
src/c\#/.vs/ProjectEvaluation/generalupdate.projects.v3
215+
src/c\#/GeneralUpdate.Single/Properties/Settings.Designer.cs
216+
src/c\#/GeneralUpdate.Single/Properties/Resources.Designer.cs
217+
src/c\#/GeneralUpdate.Single/Properties/Settings.Designer.cs
218+
src/c\#/GeneralUpdate.Single/Properties/Resources.Designer.cs
219+
src/c\#/GeneralUpdate.Single/Properties/Settings.Designer.cs
220+
src/c\#/GeneralUpdate.Single/Properties/Resources.Designer.cs
221+
*.cs
222+
src/c\#/GeneralUpdate.Single/Properties/Resources.Designer.cs
223+
src/c\#/.vs/GeneralUpdate/FileContentIndex/950051a4-01a2-4759-851e-bd83c8686b9c.vsidx
224+
src/c\#/.vs/GeneralUpdate/FileContentIndex/529b110a-ed93-4e10-b54c-29fe9487b85c.vsidx
225+
src/c\#/.vs/GeneralUpdate/FileContentIndex/a168245d-041c-4f84-84f4-a13f900f5f85.vsidx
226+
src/c\#/.vs/GeneralUpdate/FileContentIndex/35f48b19-ecff-4db3-97d7-3687836248bc.vsidx
227+
src/c\#/.vs/GeneralUpdate/FileContentIndex/b04ce173-ec1e-4dc4-9faa-8daca16f71d1.vsidx
228+
src/c\#/.vs/GeneralUpdate/FileContentIndex/fbf7d722-de17-49a8-80c7-ebc862ee2a11.vsidx
229+
src/c\#/.vs/GeneralUpdate/FileContentIndex/05de2949-9e3d-49c6-a77b-e80050abf9c5.vsidx
230+
src/c\#/.vs/GeneralUpdate/FileContentIndex/58649edc-5fb0-4cf4-9894-4c54dcf9ff48.vsidx
231+
src/c\#/.vs/GeneralUpdate/FileContentIndex/7f9f4839-4956-40d4-b05d-01d128ee194b.vsidx
232+
*.vsidx
233+
*.v2
234+
*.lock
235+
*.txt
236+
*.v3
237+
*.v5
238+
src/c\#/.vs/ProjectEvaluation/generalupdate.projects.v5
239+
src/c\#/.vs/ProjectEvaluation/generalupdate.metadata.v5
240+
/example/winform/TestWinForms/.vs
241+
/example/fileserver/.vs
242+
/example/fileserver/.vs
243+
/example/fileserver/.vs
244+
/example/fileserver/.vs

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
# GeneralUpdate.Tools
1+
# GeneralUpdate.Tools
2+
3+
GeneralUpdate Twin project, a tool for updating service pack builds.
4+
5+
6+
7+
## Open source address
8+
9+
https://github.com/GeneralLibrary/GeneralUpdate.Tools
10+
https://gitee.com/GeneralTeam/GeneralUpdate.Tools
11+
12+
13+
14+
## The parent project
15+
16+
https://gitee.com/GeneralTeam/GeneralUpdate
Binary file not shown.
Binary file not shown.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
6+
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
8+
<UseMaui>true</UseMaui>
9+
<SingleProject>true</SingleProject>
10+
<ImplicitUsings>enable</ImplicitUsings>
11+
<PublishReadyToRun>false</PublishReadyToRun>
12+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
13+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
14+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
15+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
16+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
17+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
18+
</PropertyGroup>
19+
20+
</Project>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
6+
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
8+
<UseMaui>true</UseMaui>
9+
<SingleProject>true</SingleProject>
10+
<ImplicitUsings>enable</ImplicitUsings>
11+
<PublishReadyToRun>false</PublishReadyToRun>
12+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
13+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
14+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
15+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
16+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
17+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
22+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
23+
</ItemGroup>
24+
<ItemGroup>
25+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />
26+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
27+
</ItemGroup>
28+
29+
</Project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version = "1.0" encoding = "UTF-8" ?>
2+
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:GeneralUpdate.PacketTool"
5+
x:Class="GeneralUpdate.PacketTool.App">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
10+
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
11+
</ResourceDictionary.MergedDictionaries>
12+
</ResourceDictionary>
13+
</Application.Resources>
14+
</Application>

0 commit comments

Comments
 (0)