added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Extensibility / DataContract / Surrogate / CS / Service / Service.csproj
blob9228e3126e92ad9f74f35ef316b24f7ba708efe9
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.50727</ProductVersion>
6     <SchemaVersion>2.0</SchemaVersion>
7     <ProjectGuid>{C915C9DD-F25C-4465-B1EC-7E5EFD4D59D4}</ProjectGuid>
8     <OutputType>Library</OutputType>
9     <AppDesignerFolder>Properties</AppDesignerFolder>
10     <RootNamespace>Service</RootNamespace>
11     <AssemblyName>Service</AssemblyName>
12   </PropertyGroup>
13   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14     <DebugSymbols>true</DebugSymbols>
15     <DebugType>full</DebugType>
16     <Optimize>false</Optimize>
17     <OutputPath>bin\</OutputPath>
18     <DefineConstants>DEBUG;TRACE</DefineConstants>
19     <ErrorReport>prompt</ErrorReport>
20     <WarningLevel>4</WarningLevel>
21   </PropertyGroup>
22   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
23     <DebugType>pdbonly</DebugType>
24     <Optimize>true</Optimize>
25     <OutputPath>bin\Release\</OutputPath>
26     <DefineConstants>TRACE</DefineConstants>
27     <ErrorReport>prompt</ErrorReport>
28     <WarningLevel>4</WarningLevel>
29   </PropertyGroup>
30   <ItemGroup>
31     <Reference Include="System" />
32     <Reference Include="System.Data" />
33     <Reference Include="System.Runtime.Serialization" />
34     <Reference Include="System.ServiceModel" />
35     <Reference Include="System.Xml" />
36   </ItemGroup>
37   <ItemGroup>
38     <Compile Include="AllowNonSerializableTypesAttribute.cs" />
39     <Compile Include="AllowNonSerializableTypesSurrogate.cs" />
40     <Compile Include="Service.cs" />
41     <Compile Include="Properties\AssemblyInfo.cs" />
42   </ItemGroup>
43   <ItemGroup>
44     <None Include="service.svc" />
45     <None Include="Web.config" />
46   </ItemGroup>
47   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
48   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
49        Other similar extension points exist, see Microsoft.Common.targets.
50   <Target Name="BeforeBuild">
51   </Target>
52   <Target Name="AfterBuild">
53   </Target>
54   -->
55   <PropertyGroup>
56     <PostBuildEvent>
57             mkdir %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
58             mkdir %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\bin
59             copy "$(TargetDir)service.dll" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\bin
60             copy "$(ProjectDir)service.svc" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
61             copy "$(ProjectDir)web.config" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
62 </PostBuildEvent>
63   </PropertyGroup>
64 </Project>