Browse Source

增加打包项目

liuyuqi-dellpc 4 years ago
parent
commit
c4de707db0

BIN
PackagingProj/Images/LockScreenLogo.scale-200.png


BIN
PackagingProj/Images/SplashScreen.scale-200.png


BIN
PackagingProj/Images/Square150x150Logo.scale-200.png


BIN
PackagingProj/Images/Square44x44Logo.scale-200.png


BIN
PackagingProj/Images/Square44x44Logo.targetsize-24_altform-unplated.png


BIN
PackagingProj/Images/StoreLogo.png


BIN
PackagingProj/Images/Wide310x150Logo.scale-200.png


+ 49 - 0
PackagingProj/Package.appxmanifest

@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<Package
+  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
+  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
+  xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
+  IgnorableNamespaces="uap rescap">
+
+  <Identity
+    Name="30cf9d9d-0b64-44da-acaf-c1c87c830862"
+    Publisher="CN=liuyuqi"
+    Version="1.0.0.0" />
+
+  <Properties>
+    <DisplayName>PackagingProj</DisplayName>
+    <PublisherDisplayName>liuyuqi</PublisherDisplayName>
+    <Logo>Images\StoreLogo.png</Logo>
+  </Properties>
+
+  <Dependencies>
+    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
+    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
+  </Dependencies>
+
+  <Resources>
+    <Resource Language="x-generate"/>
+  </Resources>
+
+  <Applications>
+    <Application Id="App"
+      Executable="$targetnametoken$.exe"
+      EntryPoint="$targetentrypoint$">
+      <uap:VisualElements
+        DisplayName="PackagingProj"
+        Description="PackagingProj"
+        BackgroundColor="transparent"
+        Square150x150Logo="Images\Square150x150Logo.png"
+        Square44x44Logo="Images\Square44x44Logo.png">
+        <uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
+        <uap:SplashScreen Image="Images\SplashScreen.png" />
+      </uap:VisualElements>
+    </Application>
+  </Applications>
+
+  <Capabilities>
+    <Capability Name="internetClient" />
+    <rescap:Capability Name="runFullTrust" />
+  </Capabilities>
+</Package>

+ 78 - 0
PackagingProj/PackagingProj.wapproj

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
+    <VisualStudioVersion>15.0</VisualStudioVersion>
+  </PropertyGroup>
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|x86">
+      <Configuration>Debug</Configuration>
+      <Platform>x86</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x86">
+      <Configuration>Release</Configuration>
+      <Platform>x86</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|ARM">
+      <Configuration>Debug</Configuration>
+      <Platform>ARM</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|ARM">
+      <Configuration>Release</Configuration>
+      <Platform>ARM</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|ARM64">
+      <Configuration>Debug</Configuration>
+      <Platform>ARM64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|ARM64">
+      <Configuration>Release</Configuration>
+      <Platform>ARM64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|AnyCPU">
+      <Configuration>Debug</Configuration>
+      <Platform>AnyCPU</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|AnyCPU">
+      <Configuration>Release</Configuration>
+      <Platform>AnyCPU</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup>
+    <WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
+  </PropertyGroup>
+  <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
+  <PropertyGroup>
+    <ProjectGuid>761415e3-b0c6-42dc-a23c-12a3f93f3d69</ProjectGuid>
+    <TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
+    <TargetPlatformMinVersion>10.0.15063.0</TargetPlatformMinVersion>
+    <DefaultLanguage>en-US</DefaultLanguage>
+    <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
+    <EntryPointProjectUniqueName>..\ShareWifi\ShareWifi.csproj</EntryPointProjectUniqueName>
+  </PropertyGroup>
+  <ItemGroup>
+    <AppxManifest Include="Package.appxmanifest">
+      <SubType>Designer</SubType>
+    </AppxManifest>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Images\SplashScreen.scale-200.png" />
+    <Content Include="Images\LockScreenLogo.scale-200.png" />
+    <Content Include="Images\Square150x150Logo.scale-200.png" />
+    <Content Include="Images\Square44x44Logo.scale-200.png" />
+    <Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
+    <Content Include="Images\StoreLogo.png" />
+    <Content Include="Images\Wide310x150Logo.scale-200.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\ShareWifi\ShareWifi.csproj" />
+  </ItemGroup>
+  <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
+</Project>

+ 56 - 0
ShareWifi.sln

@@ -5,16 +5,72 @@ VisualStudioVersion = 16.0.30225.117
 MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShareWifi", "ShareWifi\ShareWifi.csproj", "{6E66C6D8-938C-465A-A412-A7A17C6D86F1}"
 EndProject
+Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "PackagingProj", "PackagingProj\PackagingProj.wapproj", "{761415E3-B0C6-42DC-A23C-12A3F93F3D69}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
+		Debug|ARM = Debug|ARM
+		Debug|ARM64 = Debug|ARM64
+		Debug|x64 = Debug|x64
+		Debug|x86 = Debug|x86
 		Release|Any CPU = Release|Any CPU
+		Release|ARM = Release|ARM
+		Release|ARM64 = Release|ARM64
+		Release|x64 = Release|x64
+		Release|x86 = Release|x86
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|ARM.ActiveCfg = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|ARM.Build.0 = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|ARM64.Build.0 = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|x64.Build.0 = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Debug|x86.Build.0 = Debug|Any CPU
 		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|Any CPU.Build.0 = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|ARM.ActiveCfg = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|ARM.Build.0 = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|ARM64.ActiveCfg = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|ARM64.Build.0 = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|x64.ActiveCfg = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|x64.Build.0 = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|x86.ActiveCfg = Release|Any CPU
+		{6E66C6D8-938C-465A-A412-A7A17C6D86F1}.Release|x86.Build.0 = Release|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM.ActiveCfg = Debug|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM.Build.0 = Debug|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM.Deploy.0 = Debug|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM64.ActiveCfg = Debug|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM64.Build.0 = Debug|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|ARM64.Deploy.0 = Debug|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x64.ActiveCfg = Debug|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x64.Build.0 = Debug|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x64.Deploy.0 = Debug|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x86.ActiveCfg = Debug|x86
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x86.Build.0 = Debug|x86
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Debug|x86.Deploy.0 = Debug|x86
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|Any CPU.Build.0 = Release|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|Any CPU.Deploy.0 = Release|Any CPU
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM.ActiveCfg = Release|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM.Build.0 = Release|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM.Deploy.0 = Release|ARM
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM64.ActiveCfg = Release|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM64.Build.0 = Release|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|ARM64.Deploy.0 = Release|ARM64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x64.ActiveCfg = Release|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x64.Build.0 = Release|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x64.Deploy.0 = Release|x64
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x86.ActiveCfg = Release|x86
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x86.Build.0 = Release|x86
+		{761415E3-B0C6-42DC-A23C-12A3F93F3D69}.Release|x86.Deploy.0 = Release|x86
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 2 - 1
ShareWifi/Views/Home.Designer.cs

@@ -48,6 +48,7 @@
             // 
             // panel2
             // 
+            this.panel2.BackColor = System.Drawing.Color.White;
             this.panel2.Controls.Add(this.pictureBox3);
             this.panel2.Location = new System.Drawing.Point(175, 30);
             this.panel2.Name = "panel2";
@@ -70,7 +71,7 @@
             this.btnGenerate.Name = "btnGenerate";
             this.btnGenerate.Size = new System.Drawing.Size(174, 38);
             this.btnGenerate.TabIndex = 2;
-            this.btnGenerate.Text = "Genate Wifi  QRCode";
+            this.btnGenerate.Text = "Generate Wifi  QRCode";
             this.btnGenerate.UseVisualStyleBackColor = true;
             this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
             //