1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>8.0.50727</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{0F8CED22-C933-4E35-AD75-7E1138601089}</ProjectGuid>
9 <OutputType>Library</OutputType>
12 <AssemblyName>service</AssemblyName>
13 <MyType>Empty</MyType>
17 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18 <DebugSymbols>true</DebugSymbols>
19 <DebugType>full</DebugType>
20 <DefineDebug>true</DefineDebug>
21 <DefineTrace>true</DefineTrace>
22 <OutputPath>bin\</OutputPath>
25 <NoWarn>42016,42017,42018,42019,42032</NoWarn>
27 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28 <DebugType>pdbonly</DebugType>
29 <DefineDebug>false</DefineDebug>
30 <DefineTrace>true</DefineTrace>
31 <Optimize>true</Optimize>
32 <OutputPath>bin\</OutputPath>
35 <NoWarn>42016,42017,42018,42019,42032</NoWarn>
38 <Import Include="Microsoft.VisualBasic" />
39 <Import Include="System" />
42 <Compile Include="My Project\AssemblyInfo.vb" />
43 <Compile Include="service.vb" />
46 <None Include="service.svc" />
47 <None Include="Web.config" />
50 <Reference Include="System" />
51 <Reference Include="System.Data" />
52 <Reference Include="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
53 <Reference Include="System.Xml" />
55 <Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
56 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
57 Other similar extension points exist, see Microsoft.Common.targets.
58 <Target Name="BeforeBuild">
60 <Target Name="AfterBuild">
65 mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples
66 mkdir %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
67 copy "$(TargetDir)service.dll" %SystemDrive%\inetpub\wwwroot\servicemodelsamples\bin
68 copy "$(ProjectDir)service.svc" %SystemDrive%\inetpub\wwwroot\servicemodelsamples
69 copy "$(ProjectDir)web.config" %SystemDrive%\inetpub\wwwroot\servicemodelsamples