added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Contract / Service / XmlSerializerFaults / CS / service / service.csproj
blobe577852051283177cf7f401d790c03867d744358
1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
2   <PropertyGroup>
3     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5     <ProductVersion>9.0.21022</ProductVersion>
6     <SchemaVersion>2.0</SchemaVersion>
7     <ProjectGuid>{73D6E51B-9EAB-4EBE-BAA3-794D636BD176}</ProjectGuid>
8     <OutputType>Library</OutputType>
9     <AppDesignerFolder>Properties</AppDesignerFolder>
10     <RootNamespace>
11     </RootNamespace>
12     <AssemblyName>service</AssemblyName>
13     <FileUpgradeFlags>
14     </FileUpgradeFlags>
15     <OldToolsVersion>2.0</OldToolsVersion>
16     <UpgradeBackupLocation>
17     </UpgradeBackupLocation>
18     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
19     <PublishUrl>publish\</PublishUrl>
20     <Install>true</Install>
21     <InstallFrom>Disk</InstallFrom>
22     <UpdateEnabled>false</UpdateEnabled>
23     <UpdateMode>Foreground</UpdateMode>
24     <UpdateInterval>7</UpdateInterval>
25     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26     <UpdatePeriodically>false</UpdatePeriodically>
27     <UpdateRequired>false</UpdateRequired>
28     <MapFileExtensions>true</MapFileExtensions>
29     <ApplicationRevision>0</ApplicationRevision>
30     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31     <IsWebBootstrapper>false</IsWebBootstrapper>
32     <UseApplicationTrust>false</UseApplicationTrust>
33     <BootstrapperEnabled>true</BootstrapperEnabled>
34   </PropertyGroup>
35   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36     <DebugSymbols>true</DebugSymbols>
37     <DebugType>full</DebugType>
38     <Optimize>false</Optimize>
39     <OutputPath>bin\</OutputPath>
40     <DefineConstants>DEBUG;TRACE</DefineConstants>
41     <ErrorReport>prompt</ErrorReport>
42     <WarningLevel>4</WarningLevel>
43   </PropertyGroup>
44   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
45     <DebugType>pdbonly</DebugType>
46     <Optimize>true</Optimize>
47     <OutputPath>bin\</OutputPath>
48     <DefineConstants>TRACE</DefineConstants>
49     <ErrorReport>prompt</ErrorReport>
50     <WarningLevel>4</WarningLevel>
51   </PropertyGroup>
52   <ItemGroup>
53     <Reference Include="System" />
54     <Reference Include="System.Core">
55       <RequiredTargetFramework>3.5</RequiredTargetFramework>
56     </Reference>
57     <Reference Include="System.Data" />
58     <Reference Include="System.Runtime.Serialization" />
59     <Reference Include="System.ServiceModel" />
60     <Reference Include="System.Xml" />
61   </ItemGroup>
62   <ItemGroup>
63     <Compile Include="service.cs" />
64     <Compile Include="Properties\AssemblyInfo.cs" />
65   </ItemGroup>
66   <ItemGroup>
67     <Content Include="service.svc" />
68   </ItemGroup>
69   <ItemGroup>
70     <None Include="Web.config" />
71   </ItemGroup>
72   <ItemGroup>
73     <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
74       <Visible>False</Visible>
75       <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
76       <Install>true</Install>
77     </BootstrapperPackage>
78     <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
79       <Visible>False</Visible>
80       <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
81       <Install>false</Install>
82     </BootstrapperPackage>
83     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
84       <Visible>False</Visible>
85       <ProductName>.NET Framework 3.5</ProductName>
86       <Install>false</Install>
87     </BootstrapperPackage>
88   </ItemGroup>
89   <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
90   <PropertyGroup>
91     <PostBuildEvent>
92             mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples
93             mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
94             copy "$(TargetDir)service.dll" %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
95             copy "$(ProjectDir)service.svc" %SystemDrive%\inetpub\wwwroot\servicemodelsamples
96             copy "$(ProjectDir)web.config" %SystemDrive%\inetpub\wwwroot\servicemodelsamples
97         </PostBuildEvent>
98   </PropertyGroup>
99 </Project>