summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-12-05 19:50:28 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-12-05 20:18:06 -0800
commit85760ee56132c22fd15364e1a897095809dff8b6 (patch)
treee7d357b5c5f7543b133b3204bf6a1902f2883522
parentb5572b44cd369b3a0ed825251f44f7e54a1714d4 (diff)
downloadDotNetOpenAuth-85760ee56132c22fd15364e1a897095809dff8b6.zip
DotNetOpenAuth-85760ee56132c22fd15364e1a897095809dff8b6.tar.gz
DotNetOpenAuth-85760ee56132c22fd15364e1a897095809dff8b6.tar.bz2
OpenID Offline Provider now builds with the generated build number.
-rw-r--r--samples/OpenIdOfflineProvider/OpenIdOfflineProvider.csproj10
-rw-r--r--samples/OpenIdOfflineProvider/Properties/AssemblyInfo.cs15
2 files changed, 4 insertions, 21 deletions
diff --git a/samples/OpenIdOfflineProvider/OpenIdOfflineProvider.csproj b/samples/OpenIdOfflineProvider/OpenIdOfflineProvider.csproj
index 1bb2367..bb307a4 100644
--- a/samples/OpenIdOfflineProvider/OpenIdOfflineProvider.csproj
+++ b/samples/OpenIdOfflineProvider/OpenIdOfflineProvider.csproj
@@ -161,11 +161,5 @@
<Resource Include="openid.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
+ <Import Project="..\..\tools\DotNetOpenAuth.Versioning.targets" />
+</Project>
diff --git a/samples/OpenIdOfflineProvider/Properties/AssemblyInfo.cs b/samples/OpenIdOfflineProvider/Properties/AssemblyInfo.cs
index adaded3..77d7464 100644
--- a/samples/OpenIdOfflineProvider/Properties/AssemblyInfo.cs
+++ b/samples/OpenIdOfflineProvider/Properties/AssemblyInfo.cs
@@ -10,6 +10,8 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
+// We DON'T put an AssemblyVersionAttribute in here because it is generated in the build.
+
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
@@ -36,16 +38,3 @@ using System.Windows;
ResourceDictionaryLocation.SourceAssembly)] // where the generic resource dictionary is located
// (used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]