winsw.csproj 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="12.0" 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. <FileUpgradeFlags>
  21. </FileUpgradeFlags>
  22. <UpgradeBackupLocation>
  23. </UpgradeBackupLocation>
  24. <OldToolsVersion>3.5</OldToolsVersion>
  25. <PublishUrl>publish\</PublishUrl>
  26. <Install>true</Install>
  27. <InstallFrom>Disk</InstallFrom>
  28. <UpdateEnabled>false</UpdateEnabled>
  29. <UpdateMode>Foreground</UpdateMode>
  30. <UpdateInterval>7</UpdateInterval>
  31. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  32. <UpdatePeriodically>false</UpdatePeriodically>
  33. <UpdateRequired>false</UpdateRequired>
  34. <MapFileExtensions>true</MapFileExtensions>
  35. <ApplicationRevision>0</ApplicationRevision>
  36. <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
  37. <IsWebBootstrapper>false</IsWebBootstrapper>
  38. <UseApplicationTrust>false</UseApplicationTrust>
  39. <BootstrapperEnabled>true</BootstrapperEnabled>
  40. </PropertyGroup>
  41. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  42. <DebugSymbols>true</DebugSymbols>
  43. <DebugType>full</DebugType>
  44. <Optimize>false</Optimize>
  45. <OutputPath>bin\Debug\</OutputPath>
  46. <DefineConstants>DEBUG;TRACE</DefineConstants>
  47. <ErrorReport>prompt</ErrorReport>
  48. <WarningLevel>4</WarningLevel>
  49. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  50. </PropertyGroup>
  51. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  52. <DebugType>pdbonly</DebugType>
  53. <Optimize>true</Optimize>
  54. <OutputPath>bin\Release\</OutputPath>
  55. <DefineConstants>TRACE</DefineConstants>
  56. <ErrorReport>prompt</ErrorReport>
  57. <WarningLevel>4</WarningLevel>
  58. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  59. </PropertyGroup>
  60. <ItemGroup>
  61. <Reference Include="System" />
  62. <Reference Include="System.Drawing" />
  63. <Reference Include="System.Management" />
  64. <Reference Include="System.Data" />
  65. <Reference Include="System.ServiceProcess" />
  66. <Reference Include="System.Windows.Forms" />
  67. <Reference Include="System.Xml" />
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Compile Include="Advapi32.cs" />
  71. <Compile Include="Download.cs" />
  72. <Compile Include="DynamicProxy.cs" />
  73. <Compile Include="Kernel32.cs" />
  74. <Compile Include="LogAppenders.cs" />
  75. <Compile Include="Main.cs">
  76. <SubType>Component</SubType>
  77. </Compile>
  78. <Compile Include="PeriodicRollingCalendar.cs" />
  79. <Compile Include="Properties\AssemblyInfo.cs" />
  80. <Compile Include="ServiceDescriptor.cs" />
  81. <Compile Include="SigIntHelper.cs" />
  82. <Compile Include="Wmi.cs" />
  83. <Compile Include="WmiSchema.cs" />
  84. </ItemGroup>
  85. <ItemGroup>
  86. <Content Include="manifest.xml" />
  87. <Content Include="pom.xml" />
  88. <Content Include="winsw.xml" />
  89. </ItemGroup>
  90. <ItemGroup>
  91. <None Include="winsw_cert.pfx" />
  92. </ItemGroup>
  93. <ItemGroup>
  94. <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
  95. <Visible>False</Visible>
  96. <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
  97. <Install>false</Install>
  98. </BootstrapperPackage>
  99. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  100. <Visible>False</Visible>
  101. <ProductName>.NET Framework 3.5 SP1</ProductName>
  102. <Install>true</Install>
  103. </BootstrapperPackage>
  104. </ItemGroup>
  105. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  106. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  107. Other similar extension points exist, see Microsoft.Common.targets.
  108. <Target Name="BeforeBuild">
  109. </Target>
  110. <Target Name="AfterBuild">
  111. </Target>
  112. -->
  113. <PropertyGroup>
  114. <PostBuildEvent>"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\mt.exe" -manifest "$(ProjectDir)manifest.xml" -outputresource:"$(TargetDir)$(TargetFileName)";#1
  115. "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>
  116. </PropertyGroup>
  117. </Project>