Last active
March 4, 2016 12:51
-
-
Save milannankov/3d1d0ad2ee85a0e08b3d to your computer and use it in GitHub Desktop.
Developing Logi Plugins With Visual Studio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<!-- Path to Logi app that uses the plugin--> | |
<PluginDestionationPath>C:\dev\projects\falafel\avail\logi\app\_Plugins</PluginDestionationPath> | |
<BuildDependsOn> | |
StopIIS; | |
CopyPluginFilesToDestination; | |
$(BuildDependsOn); | |
StartIIS; | |
</BuildDependsOn> | |
</PropertyGroup> | |
<Target Name="StopIIS"> | |
<Message Text="Stopping IIS..." Importance="normal"/> | |
<Exec Command="iisreset /stop"/> | |
</Target> | |
<Target Name="CopyPluginFilesToDestination"> | |
<ItemGroup> | |
<PluginFiles Include="$(OutputPath)**\*"></PluginFiles> | |
</ItemGroup> | |
<Message Text="Copying plugin files to destination..." Importance="normal"/> | |
<Copy SourceFiles="@(PluginFiles)" DestinationFolder="$(PluginDestionationPath)\%(RecursiveDir)"></Copy> | |
</Target> | |
<Target Name="StartIIS"> | |
<Message Text="Starting IIS..." Importance="normal"/> | |
<Exec Command="iisreset /start"/> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment