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