Skip to content

Commit

Permalink
由于.netcore版本需要额外下载运行环境,重新改为WPF项目, .net core版本暂时放入分支
Browse files Browse the repository at this point in the history
  • Loading branch information
silentmoooon committed Dec 3, 2019
1 parent 6f9e361 commit 0d8db60
Show file tree
Hide file tree
Showing 40 changed files with 895 additions and 118 deletions.
6 changes: 6 additions & 0 deletions App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
File renamed without changes.
File renamed without changes.
191 changes: 191 additions & 0 deletions ClipOne.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
<?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>{90FB9219-A219-48DF-BD87-D8EB4FAB533E}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>ClipOne</RootNamespace>
<AssemblyName>ClipOne</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</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 Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ClipOne.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="service\ClipService.cs" />
<Compile Include="service\ConfigService.cs" />
<Compile Include="util\CursorHelp.cs" />
<Compile Include="util\HotKeyManager.cs" />
<Compile Include="util\HttpUtility.cs" />
<Compile Include="util\KeyboardKit.cs" />
<Compile Include="util\WinAPIHelper.cs" />
<Compile Include="view\MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
</Compile>
<Compile Include="view\SetHotKeyForm.xaml.cs">
<DependentUpon>SetHotKeyForm.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="model\ClipModel.cs" />
<Compile Include="model\ClipType.cs" />
<Compile Include="model\Config.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Page Include="view\MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="view\SetHotKeyForm.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<Resource Include="ClipOne.ico" />
<Content Include="html\css\classic\classic.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\css\material\material.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\css\modern\modern.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\css\stand\stand.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\css\striped\striped.css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\index.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\js\jquery-3.3.1.min.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\js\jquery.nicescroll.min.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="html\js\main.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hardcodet.NotifyIcon.Wpf">
<Version>1.0.8</Version>
</PackageReference>
<PackageReference Include="HtmlAgilityPack">
<Version>1.11.17</Version>
</PackageReference>
<PackageReference Include="Microsoft.Toolkit.Wpf.UI.Controls.WebView">
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
File renamed without changes.
18 changes: 12 additions & 6 deletions ClipOne.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,29 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29519.87
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClipOne", "ClipOne\ClipOne.csproj", "{AE53DEAD-B9DF-4A9F-B333-87CC8E0EB357}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClipOne", "ClipOne.csproj", "{90FB9219-A219-48DF-BD87-D8EB4FAB533E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AE53DEAD-B9DF-4A9F-B333-87CC8E0EB357}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AE53DEAD-B9DF-4A9F-B333-87CC8E0EB357}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE53DEAD-B9DF-4A9F-B333-87CC8E0EB357}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AE53DEAD-B9DF-4A9F-B333-87CC8E0EB357}.Release|Any CPU.Build.0 = Release|Any CPU
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Debug|x64.ActiveCfg = Debug|x64
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Debug|x64.Build.0 = Debug|x64
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Release|Any CPU.Build.0 = Release|Any CPU
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Release|x64.ActiveCfg = Release|x64
{90FB9219-A219-48DF-BD87-D8EB4FAB533E}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {83751E13-8308-4E53-9BA6-F74859856FA7}
SolutionGuid = {99BDCE5C-4E54-450A-A5F2-65BCBB266EC5}
EndGlobalSection
EndGlobal
67 changes: 0 additions & 67 deletions ClipOne/ClipOne.csproj

This file was deleted.

12 changes: 0 additions & 12 deletions ClipOne/ClipOne.csproj.user

This file was deleted.

15 changes: 0 additions & 15 deletions ClipOne/Properties/PublishProfiles/FolderProfile.pubxml

This file was deleted.

6 changes: 0 additions & 6 deletions ClipOne/Properties/PublishProfiles/FolderProfile.pubxml.user

This file was deleted.

Loading

0 comments on commit 0d8db60

Please sign in to comment.