diff --git a/Build.props b/Build.props
index 622ea1a..2bf36d0 100644
--- a/Build.props
+++ b/Build.props
@@ -7,15 +7,14 @@
+
+
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- $(MSBuildThisFileDirectory.TrimEnd('\'))
+
+
+ $(MSBuildThisFileDirectory.TrimEnd('\'))
-
-
- $(IntermediateOutputPath.TrimEnd('\'))\$(TargetFrameworkFolderName)
-
-
diff --git a/src/AssemblyInfo/AssemblyInfoCommon.cs b/src/AssemblyInfo/AssemblyInfoCommon.cs
index 76623c2..526c576 100644
--- a/src/AssemblyInfo/AssemblyInfoCommon.cs
+++ b/src/AssemblyInfo/AssemblyInfoCommon.cs
@@ -12,20 +12,24 @@ using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
-// [assembly: AssemblyCompany("Microsoft Corporation")]
// If you want to control this metadata globally but not with the VersionProductName property, hard-code the value below.
// If you want to control this metadata at the individual project level with AssemblyInfo.cs, comment-out the line below.
// If you leave the line below unchanged, make sure to set the property in the root build.props, e.g.: Your Product Name
// [assembly: AssemblyProduct("%VersionProductName%")]
+
+[assembly: AssemblyCompany("Microsoft Corporation")]
+
+[assembly: AssemblyProduct("Microsoft® .NET/.NET Core OData Extensions")]
+
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation. All rights reserved.")]
+
[assembly: AssemblyTrademark("Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the U.S. and/or other countries.")]
+
[assembly: AssemblyCulture("")]
-/*
#if (DEBUG || _DEBUG)
[assembly: AssemblyConfiguration("Debug")]
#endif
-*/
// disable CLSCompliant as the common extensions library decided not to support this
// see https://github.com/aspnet/AspNetCore/issues/2689#issuecomment-354693946
diff --git a/src/Build.props b/src/Build.props
index cde67b0..30209ff 100644
--- a/src/Build.props
+++ b/src/Build.props
@@ -6,11 +6,22 @@
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))\
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
+ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))
+
+
+ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
+
+ true
+
+
+ false
-
diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj
index a4c5f54..9904f61 100644
--- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj
+++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj
@@ -4,11 +4,7 @@
Microsoft.OpenApi.OData.Reader
Microsoft.OpenApi.OData
net461; netstandard2.0
-
- Microsoft OData Extensions for Open API
Microsoft.OpenApi.OData.Reader
- 1.0.0
- Microsoft.OpenApi.OData.Reader
latest
latest
true
diff --git a/tool/After.Common.targets b/tool/After.Common.targets
index d187385..6bad46e 100644
--- a/tool/After.Common.targets
+++ b/tool/After.Common.targets
@@ -12,9 +12,7 @@
- GenerateTextStringResources;
GenerateAssemblyAttributeFile;
- GenerateVersionConstantsFile;
ExcludeAssemblyFilesFromSourceAnalysis;
$(BuildDependsOn);
@@ -22,32 +20,6 @@
-
-
-
-
-
- PrepareForBuild;
- GenerateStringResources;
-
-
-
-
-
-
-
-
-
-
- Resx
- false
- %(Filename)
-
-
-
-
@@ -57,8 +29,8 @@
-
@@ -92,6 +64,7 @@ using System.Resources;
[assembly: AssemblyVersion("%VersionFullSemantic%")]
[assembly: SatelliteContractVersion("%VersionFull%")]
[assembly: AssemblyMetadata("Serviceable", "True")]
+
@@ -100,7 +73,7 @@ using System.Resources;
- $(IntermediateOutputPath.TrimEnd("\\"))\AssemblyAttributes$(DefaultLanguageSourceExtension)
+ $(IntermediateOutputPath.TrimEnd("\\"))\OpenApiODataAssemblyAttributes$(DefaultLanguageSourceExtension)
$(AssemblyName)$(TargetExt)
$([System.String]::Copy('$(GenerateAssemblyAttributeTemplate)').Replace("%25AssemblyNameFull%25",$(AssemblyNameFull)).Replace("%25VersionFull%25",$(VersionFull)).Replace("%25VersionFullSemantic%25",$(VersionFullSemantic)))
@@ -124,54 +97,6 @@ using System.Resources;
-
-
-
-
-
-
-
- UNDEFINED_GenerateVersionConstantsTemplate
-
-internal static class VersionConstants
-{
- internal const string ReleaseVersion = "%VersionFullSemantic%";
- internal const string AssemblyVersion = "%VersionFullSemantic%";
-}
-
-
-
-
- $(GenerateVersionConstantsTemplateCSharp)
-
-
-
- $(IntermediateOutputPath.TrimEnd("\\"))\VersionConstants$(DefaultLanguageSourceExtension)
- $([System.String]::Copy('$(GenerateVersionConstantsTemplate)').Replace("%25VersionFull%25",$(VersionFull)).Replace("%25VersionFullSemantic%25",$(VersionFullSemantic)))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/tool/Before.Common.targets b/tool/Before.Common.targets
index 24a0b17..a54c3e7 100644
--- a/tool/Before.Common.targets
+++ b/tool/Before.Common.targets
@@ -8,9 +8,13 @@
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
$(VersionRunBeforeTargets);CoreCompile
+
$(EnlistmentRoot)\src\AssemblyInfo
+
AssemblyInfoCommon$(DefaultLanguageSourceExtension)
+
diff --git a/tool/Build.props b/tool/Build.props
index e63638d..c9827c1 100644
--- a/tool/Build.props
+++ b/tool/Build.props
@@ -7,15 +7,23 @@
+
+
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))
- $(EnlistmentRoot.TrimEnd({'\\'}))
- $(EnlistmentRoot)\tool
+
+
+ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))
+
+ $(EnlistmentRoot)\tool
+
+
+
$(MSBuildThisFileDirectory)Before.Common.targets
+
$(MSBuildThisFileDirectory)After.Common.targets
diff --git a/tool/versioning.props b/tool/versioning.props
index e43aa29..e23bfd4 100644
--- a/tool/versioning.props
+++ b/tool/versioning.props
@@ -1,7 +1,16 @@
-
-
+
+ This file defines the version information.
+
+-->
+
+
+
1
0
@@ -20,8 +29,11 @@
overflows the Int16. The system convert below will throw errors when this happens.
-->
- 2017
+ 2019
+
+
$([System.Convert]::ToInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))'))
+
$([System.Convert]::ToString($(VersionDateCode)))