summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumerWpf
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-02 08:12:10 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-02 08:12:10 -0700
commit7493689e61ff83bc4652e74429b9d7dfdf99daa9 (patch)
treeaf3182dfbbe55a1478bda626738c243ee593a963 /samples/OAuthConsumerWpf
parent0c8a4a3a33e840e7c449388f078155efaf1854c7 (diff)
downloadDotNetOpenAuth-7493689e61ff83bc4652e74429b9d7dfdf99daa9.zip
DotNetOpenAuth-7493689e61ff83bc4652e74429b9d7dfdf99daa9.tar.gz
DotNetOpenAuth-7493689e61ff83bc4652e74429b9d7dfdf99daa9.tar.bz2
Migrate all samples to target .NET 4.0 and use IIS Express (where available).
InfoCardRelyingParty sample left out because it seems to cause input validation trouble. Fixes #108
Diffstat (limited to 'samples/OAuthConsumerWpf')
-rw-r--r--samples/OAuthConsumerWpf/App.config5
-rw-r--r--samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj6
2 files changed, 8 insertions, 3 deletions
diff --git a/samples/OAuthConsumerWpf/App.config b/samples/OAuthConsumerWpf/App.config
index 64d2032..9348e82 100644
--- a/samples/OAuthConsumerWpf/App.config
+++ b/samples/OAuthConsumerWpf/App.config
@@ -106,4 +106,7 @@
</endpoint>
</client>
</system.serviceModel>
-</configuration> \ No newline at end of file
+ <startup>
+ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
+ </startup>
+</configuration>
diff --git a/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj b/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj
index f1c03db..264a814 100644
--- a/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj
+++ b/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj
@@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DotNetOpenAuth.Samples.OAuthConsumerWpf</RootNamespace>
<AssemblyName>OAuthConsumerWpf</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
@@ -175,7 +175,9 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
- <None Include="App.config" />
+ <None Include="App.config">
+ <SubType>Designer</SubType>
+ </None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>