winsw.csproj 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6. <ProductVersion>9.0.21022</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{0DE77F55-ADE5-43C1-999A-0BC81153B039}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>winsw</RootNamespace>
  12. <AssemblyName>winsw</AssemblyName>
  13. <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <StartupObject>
  16. </StartupObject>
  17. <SignManifests>false</SignManifests>
  18. <SignAssembly>false</SignAssembly>
  19. <AssemblyOriginatorKeyFile>
  20. </AssemblyOriginatorKeyFile>
  21. </PropertyGroup>
  22. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  23. <DebugSymbols>true</DebugSymbols>
  24. <DebugType>full</DebugType>
  25. <Optimize>false</Optimize>
  26. <OutputPath>bin\Debug\</OutputPath>
  27. <DefineConstants>DEBUG;TRACE</DefineConstants>
  28. <ErrorReport>prompt</ErrorReport>
  29. <WarningLevel>4</WarningLevel>
  30. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  31. </PropertyGroup>
  32. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  33. <DebugType>pdbonly</DebugType>
  34. <Optimize>true</Optimize>
  35. <OutputPath>bin\Release\</OutputPath>
  36. <DefineConstants>TRACE</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  40. </PropertyGroup>
  41. <ItemGroup>
  42. <Reference Include="System" />
  43. <Reference Include="System.Management" />
  44. <Reference Include="System.Data" />
  45. <Reference Include="System.ServiceProcess" />
  46. <Reference Include="System.Xml" />
  47. </ItemGroup>
  48. <ItemGroup>
  49. <Compile Include="Advapi32.cs" />
  50. <Compile Include="Download.cs" />
  51. <Compile Include="DynamicProxy.cs" />
  52. <Compile Include="LogAppenders.cs" />
  53. <Compile Include="Main.cs">
  54. <SubType>Component</SubType>
  55. </Compile>
  56. <Compile Include="NotGettingAnywhere.cs" />
  57. <Compile Include="PeriodicRollingCalendar.cs" />
  58. <Compile Include="Properties\AssemblyInfo.cs" />
  59. <Compile Include="ServiceDescriptor.cs" />
  60. <Compile Include="Wmi.cs" />
  61. <Compile Include="WmiSchema.cs" />
  62. </ItemGroup>
  63. <ItemGroup>
  64. <Content Include="manifest.xml" />
  65. <Content Include="pom.xml" />
  66. <Content Include="winsw.xml" />
  67. </ItemGroup>
  68. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  69. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  70. Other similar extension points exist, see Microsoft.Common.targets.
  71. <Target Name="BeforeBuild">
  72. </Target>
  73. <Target Name="AfterBuild">
  74. </Target>
  75. -->
  76. <PropertyGroup>
  77. <PostBuildEvent>"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\mt.exe" -manifest "$(ProjectDir)manifest.xml" -outputresource:"$(TargetDir)$(TargetFileName)";#1
  78. "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f c:\winsw-do-not-add-to-scm.pfx /p winsw /t http://timestamp.comodoca.com/authenticode $(TargetFileName)</PostBuildEvent>
  79. </PropertyGroup>
  80. </Project>