Kill Wox before solution build

ref:
http://stackoverflow.com/questions/2295454/solution-wide-pre-build-event/2295583#2295583
This commit is contained in:
bao-qian
2016-03-27 18:15:49 +01:00
parent 95f3d4fffa
commit b6a42ecf48
6 changed files with 288 additions and 4 deletions

View File

@@ -35,12 +35,9 @@ namespace Wox
private void OnClosing(object sender, CancelEventArgs e)
{
UserSettingStorage.Instance.WindowLeft = Left;
UserSettingStorage.Instance.WindowTop = Top;
UserSettingStorage.Instance.Save();
e.Cancel = true;
}
private void OnLoaded(object sender, RoutedEventArgs _)

View File

@@ -406,6 +406,10 @@ cd "$(TargetDir)Plugins" & del /s /q Wox.Infrastructure.pdb
cd "$(TargetDir)Plugins" & del /s /q Newtonsoft.Json.dll
)</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">