-
Notifications
You must be signed in to change notification settings - Fork 5
/
BatteryNotifier.csproj
195 lines (195 loc) · 9.14 KB
/
BatteryNotifier.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?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>{E542D0A2-5EB3-4320-82A2-C09FB73B148C}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>BatteryNotifier</RootNamespace>
<AssemblyName>BatteryNotifier</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ApplicationIcon>battery-icon.ico</ApplicationIcon>
<GenerateResourceMSBuildArchitecture>CurrentArchitecture</GenerateResourceMSBuildArchitecture>
<GenerateResourceMSBuildRuntime>CurrentRuntime</GenerateResourceMSBuildRuntime>
<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>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<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>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Design" />
<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="Constants\Constant.cs" />
<Compile Include="CustomControls\FlatTabControl\FlatTabControl.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CustomControls\FlatTabControl\Win32.cs" />
<Compile Include="CustomTimer\CustomTimer.cs" />
<Compile Include="Debouncer\Debouncer.cs" />
<Compile Include="Forms\Dashboard.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Dashboard.Designer.cs" />
<Compile Include="Helpers\ApplyFontHelper.cs" />
<Compile Include="Helpers\UtilityHelper.cs" />
<Compile Include="Helpers\WindowHelper.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Providers\FontProvider.cs" />
<Compile Include="Providers\ThemeProvider.cs" />
<Compile Include="Setting\appSetting.cs" />
<Compile Include="Setting\appSetting.Designer.cs">
<DependentUpon>appSetting.settings</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="Theming\BaseTheme.cs" />
<Compile Include="Theming\DarkTheme.cs" />
<Compile Include="Theming\LightTheme.cs" />
<EmbeddedResource Include="CustomControls\FlatTabControl\FlatTabControl.resx" />
<EmbeddedResource Include="Forms\Dashboard.resx" />
<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>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include=".gitattributes" />
<Content Include=".gitignore" />
<Content Include="Assets\Fonts\Inter-Bold.ttf" />
<Content Include="Assets\Fonts\Inter-Regular.ttf" />
<Content Include="battery-icon.ico" />
<Content Include="batteryNotifier.png" />
<Content Include="BatteryNotifierBanner.png" />
<Content Include="BatteryNotifierLogo.png" />
<Content Include="LICENSE" />
<Content Include="README.md" />
<Content Include="ReleaseSpec.nuspec" />
<Content Include="Resources\BatteryFull.wav" />
<Content Include="Resources\batteryNotifierIcon.ico" />
<Content Include="Resources\batteryNotifiyerIcon.ico" />
<Content Include="Resources\battery_icon.ico" />
<Content Include="Resources\ChargingBatteryAnimated.gif" />
<Content Include="Resources\ChargingBatteryAnimatedDark1.gif" />
<Content Include="Resources\closeIconDark.png" />
<Content Include="Resources\closeIconHoverState.png" />
<Content Include="Resources\Critical.png" />
<Content Include="Resources\DarkMode2.png" />
<Content Include="Resources\Full.png" />
<Content Include="Resources\FullBatteryNotification.png" />
<Content Include="Resources\icon.png" />
<Content Include="Resources\launchatstartup.png" />
<Content Include="Resources\LightMode.png" />
<Content Include="Resources\logo.png" />
<Content Include="Resources\logo_charging.ico" />
<Content Include="Resources\logo_charging.png" />
<Content Include="Resources\logo_charging1.png" />
<Content Include="Resources\long-pop.wav" />
<Content Include="Resources\Low.png" />
<Content Include="Resources\LowBatterynotification.png" />
<Content Include="Resources\LowBatterySound.wav" />
<Content Include="Resources\music_icon.png" />
<Content Include="Resources\Normal.png" />
<Content Include="Resources\Sufficient.png" />
<Content Include="Resources\Unknown.png" />
<Content Include="Resources\Window.png" />
<Content Include="Setting\appSetting.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>appSetting.Designer.cs</LastGenOutput>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="DeltaCompressionDotNet" Version="1.1.0" />
<PackageReference Include="Lib.Extensions.System.ComponentModel" Version="22.4.12" />
<PackageReference Include="Mono.Cecil" Version="0.9.6.1" />
<PackageReference Include="NuGet.CommandLine" Version="6.8.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SharpCompress" Version="0.17.1" />
<PackageReference Include="Splat" Version="1.6.2" />
<PackageReference Include="squirrel.windows" Version="1.9.1" />
</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" />
<PropertyGroup>
<NugetTools>$(PkgNuGet_CommandLine)\tools</NugetTools>
<SquirrelTools>$(Pkgsquirrel_windows)\tools</SquirrelTools>
<NuspecFile>$(SolutionDir)ReleaseSpec.nuspec</NuspecFile>
<Version>3.0.0</Version>
</PropertyGroup>
<Target Name="GenerateRelease" AfterTargets="AfterBuild" Condition="$(Configuration) == Release">
<XmlPeek XmlInputPath="$(NuspecFile)" Query="/package/metadata/id/text()">
<Output TaskParameter="Result" ItemName="ID" />
</XmlPeek>
<Exec Command="NuGet.exe pack $(NuspecFile) -Version $(Version) -Properties Configuration=Release -OutputDirectory $(SolutionDir)Deployment\GeneratedNugets" />
<Exec Command="Squirrel.exe --releasify $(SolutionDir)Deployment\GeneratedNugets\@(ID).$(Version).nupkg --releaseDir=$(SolutionDir)Deployment\Releases" />
</Target>
</Project>