added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Contract / Message / UseAndStyle / CS / service / service.csproj
blobd84cdddf7f8e6f359292fbf974d7d6108e65254a
1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2   <PropertyGroup>
3     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5     <ProductVersion>8.0.50301</ProductVersion>
6     <SchemaVersion>2.0</SchemaVersion>
7     <ProjectGuid>{66C5F965-7C66-479A-9960-A3CA6080A71B}</ProjectGuid>
8     <OutputType>Library</OutputType>
9     <AppDesignerFolder>Properties</AppDesignerFolder>
10     <RootNamespace>
11     </RootNamespace>
12     <AssemblyName>service</AssemblyName>
13   </PropertyGroup>
14   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
15     <DebugSymbols>true</DebugSymbols>
16     <DebugType>full</DebugType>
17     <Optimize>false</Optimize>
18     <OutputPath>bin\</OutputPath>
19     <DefineConstants>DEBUG;TRACE</DefineConstants>
20     <ErrorReport>prompt</ErrorReport>
21     <WarningLevel>4</WarningLevel>
22   </PropertyGroup>
23   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
24     <DebugType>pdbonly</DebugType>
25     <Optimize>true</Optimize>
26     <OutputPath>bin\</OutputPath>
27     <DefineConstants>TRACE</DefineConstants>
28     <ErrorReport>prompt</ErrorReport>
29     <WarningLevel>4</WarningLevel>
30   </PropertyGroup>
31   <ItemGroup>
32     <Reference Include="System" />
33     <Reference Include="System.Data" />
34     <Reference Include="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
35     <Reference Include="System.Xml" />
36   </ItemGroup>
37   <ItemGroup>
38     <Compile Include="service.cs" />
39     <Compile Include="Properties\AssemblyInfo.cs" />
40   </ItemGroup>
41   <ItemGroup>
42     <Content Include="service.svc" />
43   </ItemGroup>
44   <ItemGroup>
45     <None Include="Web.config" />
46   </ItemGroup>
47   <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
48   <PropertyGroup>
49     <PostBuildEvent>
50             mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples
51             mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
52             copy "$(TargetDir)service.dll" %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
53             copy "$(ProjectDir)service.svc" %SystemDrive%\inetpub\wwwroot\servicemodelsamples
54             copy "$(ProjectDir)web.config" %SystemDrive%\inetpub\wwwroot\servicemodelsamples
55         </PostBuildEvent>
56   </PropertyGroup>
57 </Project>