1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
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>
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>
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>
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" />
38 <Compile Include="AllowNonSerializableTypesAttribute.cs" />
39 <Compile Include="AllowNonSerializableTypesSurrogate.cs" />
40 <Compile Include="Service.cs" />
41 <Compile Include="Properties\AssemblyInfo.cs" />
44 <None Include="service.svc" />
45 <None Include="Web.config" />
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">
52 <Target Name="AfterBuild">
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