added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Scenario / PartialTrust / WsHttpXBAP / CS / client / client.csproj
blobb4ba3173f03ddb2827b3c36d0111cdb5710481dc
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     <ProjectGuid>{AF464349-D24D-4497-BDFE-9406A15C2F50}</ProjectGuid>
6     <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
7     <RootNamespace>Microsoft.PartialTrust.Samples</RootNamespace>
8     <AssemblyName>client</AssemblyName>
9     <WarningLevel>4</WarningLevel>
10     <OutputType>winexe</OutputType>
11     <EnableSecurityDebugging>false</EnableSecurityDebugging>
12     <!-- Most people will use Publish dialog in Visual Studio to increment this -->
13     <HostInBrowser>True</HostInBrowser>
14     <TargetZone>Internet</TargetZone>
15     <StartAction>Program</StartAction>
16     <StartProgram>$(WINDIR)\System32\PresentationHost.exe</StartProgram>
17     <StartArguments>-debug "$(MSBuildProjectDirectory)\bin\$(Configuration)\$(AssemblyName)$(ApplicationExtension)"</StartArguments>
18     <SignManifests>True</SignManifests>
19     <ManifestKeyFile>PartialTrustWpfCallingWcf_TemporaryKey.pfx</ManifestKeyFile>
20     <ManifestCertificateThumbprint>B2DD54DD4EA00589E20D5A9B95BFF2530A6E4742</ManifestCertificateThumbprint>
21     <IsWebBootstrapper>true</IsWebBootstrapper>
22     <PublishUrl>http://localhost/publish/</PublishUrl>
23     <Install>false</Install>
24     <InstallFrom>Web</InstallFrom>
25     <UpdateEnabled>true</UpdateEnabled>
26     <UpdateMode>Foreground</UpdateMode>
27     <UpdateInterval>7</UpdateInterval>
28     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
29     <UpdatePeriodically>false</UpdatePeriodically>
30     <UpdateRequired>false</UpdateRequired>
31     <MapFileExtensions>false</MapFileExtensions>
32     <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
33     <WebPage>publish.htm</WebPage>
34     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
35     <ApplicationExtension>.xbap</ApplicationExtension>
36     <BootstrapperEnabled>false</BootstrapperEnabled>
37     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
38     <FileUpgradeFlags>
39     </FileUpgradeFlags>
40     <OldToolsVersion>2.0</OldToolsVersion>
41     <UpgradeBackupLocation>
42     </UpgradeBackupLocation>
43   </PropertyGroup>
44   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
45     <DebugSymbols>true</DebugSymbols>
46     <DebugType>full</DebugType>
47     <Optimize>false</Optimize>
48     <OutputPath>.\bin\Debug\</OutputPath>
49     <DefineConstants>DEBUG;TRACE</DefineConstants>
50   </PropertyGroup>
51   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
52     <DebugSymbols>false</DebugSymbols>
53     <Optimize>true</Optimize>
54     <OutputPath>.\bin\Release\</OutputPath>
55     <DefineConstants>TRACE</DefineConstants>
56   </PropertyGroup>
57   <ItemGroup>
58     <Reference Include="System" />
59     <Reference Include="System.Core">
60       <RequiredTargetFramework>3.0</RequiredTargetFramework>
61     </Reference>
62     <Reference Include="System.Data" />
63     <Reference Include="System.Deployment" />
64     <Reference Include="System.Runtime.Serialization">
65       <RequiredTargetFramework>3.0</RequiredTargetFramework>
66     </Reference>
67     <Reference Include="System.ServiceModel">
68       <RequiredTargetFramework>3.0</RequiredTargetFramework>
69     </Reference>
70     <Reference Include="System.Web.Services" />
71     <Reference Include="System.Xml" />
72     <Reference Include="WindowsBase" />
73     <Reference Include="PresentationCore" />
74     <Reference Include="PresentationFramework" />
75     <Reference Include="System.Printing" />
76   </ItemGroup>
77   <ItemGroup>
78     <ApplicationDefinition Include="MyApp.xaml" />
79     <Page Include="Page1.xaml" />
80     <Compile Include="CalcPlusService.cs" />
81     <Compile Include="Page1.xaml.cs">
82       <DependentUpon>Page1.xaml</DependentUpon>
83       <SubType>Code</SubType>
84     </Compile>
85   </ItemGroup>
86   <ItemGroup>
87     <None Include="PartialTrustWpfCallingWcf_TemporaryKey.pfx" />
88     <None Include="Properties\app.manifest" />
89     <AppDesigner Include="Properties\" />
90   </ItemGroup>
91   <ItemGroup>
92     <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
93       <Visible>False</Visible>
94       <ProductName>.NET Framework 2.0</ProductName>
95       <Install>true</Install>
96     </BootstrapperPackage>
97   </ItemGroup>
98   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
99   <PropertyGroup Condition="'$(Do_MSBUILD_FromWinBuild)' !='true'">
100     <PostBuildEvent>copy "$(TargetDir)client.exe" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
101 copy "$(TargetDir)client.pdb" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
102 copy "$(TargetDir)client.xbap" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
103 copy "$(TargetDir)client.manifest" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples
104 </PostBuildEvent>
105   </PropertyGroup>
106   <PropertyGroup Condition="'$(Do_MSBUILD_FromWinBuild)' != 'true'">
107     <PostBuildEvent>copy "$(TargetDir)client.exe" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\
108 copy "$(TargetDir)client.xbap" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\
109 copy "$(TargetDir)client.exe.manifest" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\
110 copy "$(TargetDir)client.pdb" %25SystemDrive%25\inetpub\wwwroot\servicemodelsamples\
112 </PostBuildEvent>
113   </PropertyGroup>
114 </Project>