|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 | <PropertyGroup>
|
4 |
| - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 |
| - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 4 | + <Configuration Condition=" '$(Configuration)' == '' ">Windows (Debug)</Configuration> |
| 5 | + <Platform Condition=" '$(Platform)' == '' ">x64</Platform> |
6 | 6 | <ProductVersion>9.0.30729</ProductVersion>
|
7 | 7 | <SchemaVersion>2.0</SchemaVersion>
|
8 | 8 | <ProjectGuid>{CCC4A761-56D2-4188-807F-F7A547DFB031}</ProjectGuid>
|
|
21 | 21 | <OldToolsVersion>3.5</OldToolsVersion>
|
22 | 22 | <UpgradeBackupLocation />
|
23 | 23 | <IsWebBootstrapper>true</IsWebBootstrapper>
|
24 |
| - <TargetFrameworkProfile> |
25 |
| - </TargetFrameworkProfile> |
26 | 24 | <SccProjectName>SAK</SccProjectName>
|
27 | 25 | <SccLocalPath>SAK</SccLocalPath>
|
28 | 26 | <SccAuxPath>SAK</SccAuxPath>
|
|
46 | 44 | <PublishWizardCompleted>true</PublishWizardCompleted>
|
47 | 45 | <BootstrapperEnabled>true</BootstrapperEnabled>
|
48 | 46 | </PropertyGroup>
|
49 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
50 |
| - <DebugSymbols>true</DebugSymbols> |
51 |
| - <DebugType>full</DebugType> |
52 |
| - <Optimize>false</Optimize> |
53 |
| - <OutputPath>bin\Debug\</OutputPath> |
54 |
| - <DefineConstants>DEBUG;TRACE</DefineConstants> |
55 |
| - <ErrorReport>prompt</ErrorReport> |
56 |
| - <WarningLevel>4</WarningLevel> |
57 |
| - <UseVSHostingProcess>false</UseVSHostingProcess> |
58 |
| - <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
59 |
| - <Prefer32Bit>false</Prefer32Bit> |
60 |
| - </PropertyGroup> |
61 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
62 |
| - <DebugType>pdbonly</DebugType> |
63 |
| - <Optimize>true</Optimize> |
64 |
| - <OutputPath>..\InstallationScript\</OutputPath> |
65 |
| - <DefineConstants>TRACE</DefineConstants> |
66 |
| - <ErrorReport>prompt</ErrorReport> |
67 |
| - <WarningLevel>4</WarningLevel> |
68 |
| - <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
69 |
| - <Prefer32Bit>false</Prefer32Bit> |
70 |
| - </PropertyGroup> |
71 | 47 | <PropertyGroup>
|
72 | 48 | <ManifestCertificateThumbprint>D38DAF47B3CBFC190231922089F056B55D662088</ManifestCertificateThumbprint>
|
73 |
| - </PropertyGroup> |
74 |
| - <PropertyGroup> |
75 | 49 | <ManifestKeyFile>Toastify_TemporaryKey.pfx</ManifestKeyFile>
|
76 |
| - </PropertyGroup> |
77 |
| - <PropertyGroup> |
78 | 50 | <GenerateManifests>true</GenerateManifests>
|
79 |
| - </PropertyGroup> |
80 |
| - <PropertyGroup> |
81 | 51 | <SignManifests>false</SignManifests>
|
82 | 52 | </PropertyGroup>
|
83 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
| 53 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows %28Debug%29|AnyCPU'"> |
| 54 | + <DebugSymbols>true</DebugSymbols> |
| 55 | + <OutputPath>bin\Debug\Windows\</OutputPath> |
| 56 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 57 | + <DebugType>full</DebugType> |
| 58 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 59 | + <UseVSHostingProcess>false</UseVSHostingProcess> |
| 60 | + <ErrorReport>prompt</ErrorReport> |
| 61 | + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
| 62 | + </PropertyGroup> |
| 63 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows %28Debug%29|x64'"> |
84 | 64 | <DebugSymbols>true</DebugSymbols>
|
85 |
| - <OutputPath>bin\x64\Debug\</OutputPath> |
| 65 | + <OutputPath>bin\x64\Debug\Windows\</OutputPath> |
86 | 66 | <DefineConstants>DEBUG;TRACE</DefineConstants>
|
87 | 67 | <DebugType>full</DebugType>
|
88 | 68 | <PlatformTarget>x64</PlatformTarget>
|
89 | 69 | <UseVSHostingProcess>false</UseVSHostingProcess>
|
90 | 70 | <ErrorReport>prompt</ErrorReport>
|
91 | 71 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
92 |
| - <Prefer32Bit>false</Prefer32Bit> |
93 | 72 | </PropertyGroup>
|
94 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> |
95 |
| - <OutputPath>..\InstallationScript\</OutputPath> |
| 73 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows %28Release%29|AnyCPU'"> |
| 74 | + <OutputPath>bin\Release\Windows\</OutputPath> |
| 75 | + <DefineConstants>TRACE</DefineConstants> |
| 76 | + <Optimize>true</Optimize> |
| 77 | + <DebugType>pdbonly</DebugType> |
| 78 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 79 | + <ErrorReport>prompt</ErrorReport> |
| 80 | + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
| 81 | + </PropertyGroup> |
| 82 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows %28Release%29|x64'"> |
| 83 | + <OutputPath>bin\x64\Release\Windows\</OutputPath> |
96 | 84 | <DefineConstants>TRACE</DefineConstants>
|
97 | 85 | <Optimize>true</Optimize>
|
98 |
| - <DebugType>none</DebugType> |
99 | 86 | <PlatformTarget>x64</PlatformTarget>
|
100 | 87 | <ErrorReport>prompt</ErrorReport>
|
101 | 88 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
102 |
| - <Prefer32Bit>false</Prefer32Bit> |
103 |
| - <WarningLevel>4</WarningLevel> |
104 | 89 | </PropertyGroup>
|
| 90 | + <PropertyGroup> |
| 91 | + <ApplicationManifest>app.manifest</ApplicationManifest> |
| 92 | + </PropertyGroup> |
| 93 | + <Choose> |
| 94 | + <When Condition="'$(Configuration)' == 'Windows %28Release%29' OR '$(Configuration)' == 'Windows %28Debug%29'"> |
| 95 | + <PropertyGroup> |
| 96 | + <!-- |
| 97 | + <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> |
| 98 | + <TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion> |
| 99 | + --> |
| 100 | + </PropertyGroup> |
| 101 | + <ItemGroup> |
| 102 | + <Reference Include="Windows"> |
| 103 | + <HintPath>..\packages\Windows\10.0.14393\Windows.winmd</HintPath> |
| 104 | + <Private>False</Private> |
| 105 | + </Reference> |
| 106 | + </ItemGroup> |
| 107 | + <ItemGroup> |
| 108 | + <PublishFile Include="Windows"> |
| 109 | + <Visible>False</Visible> |
| 110 | + <PublishState>Exclude</PublishState> |
| 111 | + <IncludeHash>True</IncludeHash> |
| 112 | + <FileType>Assembly</FileType> |
| 113 | + </PublishFile> |
| 114 | + </ItemGroup> |
| 115 | + </When> |
| 116 | + </Choose> |
105 | 117 | <ItemGroup>
|
106 | 118 | <Reference Include="Garlic, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
107 | 119 | <HintPath>..\packages\Garlic.2.1.0.0\lib\net35\Garlic.dll</HintPath>
|
|
116 | 128 | <HintPath>..\packages\SpotifyAPI-NET.2.14.2\lib\SpotifyAPI.dll</HintPath>
|
117 | 129 | </Reference>
|
118 | 130 | <Reference Include="System" />
|
119 |
| - <Reference Include="System.Core"> |
120 |
| - <RequiredTargetFramework>3.5</RequiredTargetFramework> |
121 |
| - </Reference> |
| 131 | + <Reference Include="System.Core" /> |
122 | 132 | <Reference Include="System.Drawing" />
|
123 | 133 | <Reference Include="System.Management" />
|
124 | 134 | <Reference Include="System.Net" />
|
125 | 135 | <Reference Include="System.Windows.Forms" />
|
126 | 136 | <Reference Include="System.Xaml" />
|
127 | 137 | <Reference Include="System.Xml" />
|
128 |
| - <Reference Include="UIAutomationProvider"> |
129 |
| - <RequiredTargetFramework>3.0</RequiredTargetFramework> |
130 |
| - </Reference> |
131 |
| - <Reference Include="WindowsBase"> |
132 |
| - <RequiredTargetFramework>3.0</RequiredTargetFramework> |
133 |
| - </Reference> |
134 |
| - <Reference Include="PresentationCore"> |
135 |
| - <RequiredTargetFramework>3.0</RequiredTargetFramework> |
136 |
| - </Reference> |
137 |
| - <Reference Include="PresentationFramework"> |
138 |
| - <RequiredTargetFramework>3.0</RequiredTargetFramework> |
139 |
| - </Reference> |
| 138 | + <Reference Include="UIAutomationProvider" /> |
| 139 | + <Reference Include="WindowsBase" /> |
| 140 | + <Reference Include="PresentationCore" /> |
| 141 | + <Reference Include="PresentationFramework" /> |
140 | 142 | </ItemGroup>
|
141 | 143 | <ItemGroup>
|
142 | 144 | <ApplicationDefinition Include="src\App.xaml">
|
|
220 | 222 | <CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
221 | 223 | </None>
|
222 | 224 | <None Include="app.config" />
|
| 225 | + <None Include="app.manifest" /> |
223 | 226 | <None Include="packages.config" />
|
224 | 227 | <None Include="Properties\Settings.settings">
|
225 | 228 | <Generator>SettingsSingleFileGenerator</Generator>
|
226 | 229 | <LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
227 | 230 | </None>
|
228 | 231 | <AppDesigner Include="Properties\" />
|
229 | 232 | </ItemGroup>
|
230 |
| - <ItemGroup> |
231 |
| - <Resource Include="Resources\spotify.ico" /> |
232 |
| - </ItemGroup> |
233 |
| - <ItemGroup> |
234 |
| - <Resource Include="Resources\SpotifyLogo.png" /> |
235 |
| - </ItemGroup> |
236 |
| - <ItemGroup> |
237 |
| - <Resource Include="Resources\SpotifyToastifyLogo.png" /> |
238 |
| - </ItemGroup> |
239 | 233 | <ItemGroup>
|
240 | 234 | <ProjectReference Include="..\AutoHotkey.Interop\AutoHotkey.Interop.csproj">
|
241 | 235 | <Project>{2869dbfe-7762-4930-95ea-2b0c111cf353}</Project>
|
|
264 | 258 | </BootstrapperPackage>
|
265 | 259 | </ItemGroup>
|
266 | 260 | <ItemGroup>
|
| 261 | + <Resource Include="Resources\spotify.ico" /> |
| 262 | + <Resource Include="Resources\SpotifyLogo.png" /> |
| 263 | + <Resource Include="Resources\SpotifyToastifyLogo.png" /> |
267 | 264 | <Resource Include="Resources\WarningSmall.png" />
|
268 |
| - </ItemGroup> |
269 |
| - <ItemGroup> |
270 | 265 | <Resource Include="Resources\WarningLarge.png" />
|
271 |
| - </ItemGroup> |
272 |
| - <ItemGroup> |
273 |
| - <None Include="version" /> |
274 | 266 | <Resource Include="Resources\ToastifyAccessDenied.png" />
|
275 | 267 | <Resource Include="Resources\SpotifyAdPlaying.png" />
|
276 | 268 | <Resource Include="Resources\thumbs_down.png" />
|
277 | 269 | <Resource Include="Resources\thumbs_up.png" />
|
278 | 270 | <Resource Include="Resources\InfoLarge.png" />
|
| 271 | + <Resource Include="Resources\SpotifyToastifyUpdateLogo.png" /> |
| 272 | + <None Include="version" /> |
279 | 273 | <Content Include="Resources\ManagedWinapiNativeHelper.dll">
|
280 | 274 | <CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
281 | 275 | </Content>
|
282 |
| - <Resource Include="Resources\SpotifyToastifyUpdateLogo.png" /> |
| 276 | + </ItemGroup> |
| 277 | + <ItemGroup> |
| 278 | + <PublishFile Include="Windows"> |
| 279 | + <Visible>False</Visible> |
| 280 | + <PublishState>Exclude</PublishState> |
| 281 | + <IncludeHash>True</IncludeHash> |
| 282 | + <Group> |
| 283 | + </Group> |
| 284 | + <TargetPath> |
| 285 | + </TargetPath> |
| 286 | + <FileType>Assembly</FileType> |
| 287 | + </PublishFile> |
283 | 288 | </ItemGroup>
|
284 | 289 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
285 | 290 | <PropertyGroup>
|
286 |
| - <PostBuildEvent> |
287 |
| - </PostBuildEvent> |
| 291 | + <PostBuildEvent>"$(ProjectDir)post-build.cmd" "$(ConfigurationName)" "$(DevEnvDir)" "$(SolutionDir)" "$(TargetDir)" "$(TargetFileName)"</PostBuildEvent> |
288 | 292 | </PropertyGroup>
|
289 | 293 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
290 | 294 | Other similar extension points exist, see Microsoft.Common.targets.
|
|
0 commit comments