mirror of https://github.com/winsw/winsw
76 lines
3.2 KiB
XML
76 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<PropertyGroup>
|
||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||
<ProductVersion>9.0.21022</ProductVersion>
|
||
<SchemaVersion>2.0</SchemaVersion>
|
||
<ProjectGuid>{0DE77F55-ADE5-43C1-999A-0BC81153B039}</ProjectGuid>
|
||
<OutputType>Exe</OutputType>
|
||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||
<RootNamespace>winsw</RootNamespace>
|
||
<AssemblyName>winsw</AssemblyName>
|
||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||
<FileAlignment>512</FileAlignment>
|
||
<StartupObject>
|
||
</StartupObject>
|
||
<SignManifests>false</SignManifests>
|
||
<SignAssembly>false</SignAssembly>
|
||
<AssemblyOriginatorKeyFile>
|
||
</AssemblyOriginatorKeyFile>
|
||
</PropertyGroup>
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||
<DebugSymbols>true</DebugSymbols>
|
||
<DebugType>full</DebugType>
|
||
<Optimize>false</Optimize>
|
||
<OutputPath>bin\Debug\</OutputPath>
|
||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<WarningLevel>4</WarningLevel>
|
||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||
</PropertyGroup>
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||
<DebugType>pdbonly</DebugType>
|
||
<Optimize>true</Optimize>
|
||
<OutputPath>bin\Release\</OutputPath>
|
||
<DefineConstants>TRACE</DefineConstants>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<WarningLevel>4</WarningLevel>
|
||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||
</PropertyGroup>
|
||
<ItemGroup>
|
||
<Reference Include="System" />
|
||
<Reference Include="System.Management" />
|
||
<Reference Include="System.Data" />
|
||
<Reference Include="System.ServiceProcess" />
|
||
<Reference Include="System.Xml" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<Compile Include="Download.cs" />
|
||
<Compile Include="DynamicProxy.cs" />
|
||
<Compile Include="Main.cs">
|
||
<SubType>Component</SubType>
|
||
</Compile>
|
||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||
<Compile Include="ServiceDescriptor.cs" />
|
||
<Compile Include="Wmi.cs" />
|
||
<Compile Include="WmiSchema.cs" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<Content Include="manifest.xml" />
|
||
<Content Include="winsw.xml" />
|
||
</ItemGroup>
|
||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||
<!-- 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">
|
||
</Target>
|
||
<Target Name="AfterBuild">
|
||
</Target>
|
||
-->
|
||
<PropertyGroup>
|
||
<PostBuildEvent>"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\mt.exe" -manifest "$(ProjectDir)manifest.xml" –outputresource:"$(TargetDir)$(TargetFileName)";#1
|
||
|
||
"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>
|
||
</PropertyGroup>
|
||
</Project> |