diff --git a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.CodeFixes.csproj b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.CodeFixes.csproj
index 0477142..6485caf 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.CodeFixes.csproj
+++ b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.CodeFixes.csproj
@@ -7,7 +7,8 @@
DocumentationAnalyzers
true
true
- DocumentationAnalyzers.nuspec
+ DocumentationAnalyzers.nuspec
+ DocumentationAnalyzers.Metadata.nuspec
@@ -49,7 +50,32 @@
- configuration=$(Configuration);version=$(PackageVersion)
+ DotNetAnalyzers.DocumentationAnalyzers
+ $(BaseNuspecId)
+ $(BaseNuspecId)
+
+ $(BaseNuspecId).Unstable
+ $(BaseNuspecId).Unstable
+
+ $(ImplementationNuspecId)
+ $(MetadataNuspecId)
+
+ $(AssemblyVersion)
+ $(PackageVersion)
+
+ $(NuspecUnstableVersion)
+ $(NuspecStableVersion)
+
+ $(NuspecUnstableVersion)
+ $(NuspecStableVersion)
+
+ id=$(NuspecId);configuration=$(Configuration);GitCommitIdShort=$(GitCommitIdShort);version=$(NuspecVersion);implId=$(ImplementationNuspecId);implVersion=$(ImplementationNuspecVersion)
+
+
+
+
\ No newline at end of file
diff --git a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.Metadata.nuspec b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.Metadata.nuspec
new file mode 100644
index 0000000..bdfc455
--- /dev/null
+++ b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.Metadata.nuspec
@@ -0,0 +1,28 @@
+
+
+
+ $id$
+ 0.0.0
+ $id$
+ Sam Harwell et. al.
+ Sam Harwell
+ https://raw.githubusercontent.com/DotNetAnalyzers/DocumentationAnalyzers/$GitCommitIdShort$/LICENSE
+ https://github.com/DotNetAnalyzers/DocumentationAnalyzers
+ false
+ An implementation of .NET documentation rules using Roslyn analyzers and code fixes
+ https://github.com/DotNetAnalyzers/DocumentationAnalyzers/releases/$version$
+ Copyright 2018 Tunnel Vision Laboratories, LLC
+ Documentation DotNetAnalyzers Roslyn Diagnostic Analyzer
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.nuspec b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.nuspec
index 273d8ff..f9be1e2 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.nuspec
+++ b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/DocumentationAnalyzers.nuspec
@@ -1,12 +1,12 @@
- DotNetAnalyzers.DocumentationAnalyzers
+ $id$
0.0.0
- DotNetAnalyzers.DocumentationAnalyzers
+ $id$
Sam Harwell et. al.
Sam Harwell
- https://raw.githubusercontent.com/DotNetAnalyzers/DocumentationAnalyzers/$version$/LICENSE
+ https://raw.githubusercontent.com/DotNetAnalyzers/DocumentationAnalyzers/$GitCommitIdShort$/LICENSE
https://github.com/DotNetAnalyzers/DocumentationAnalyzers
false
An implementation of .NET documentation rules using Roslyn analyzers and code fixes
@@ -17,6 +17,10 @@
+
+
+
+
diff --git a/DocumentationAnalyzers/DocumentationAnalyzers/DocumentationAnalyzers.csproj b/DocumentationAnalyzers/DocumentationAnalyzers/DocumentationAnalyzers.csproj
index 24f01fc..88187be 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers/DocumentationAnalyzers.csproj
+++ b/DocumentationAnalyzers/DocumentationAnalyzers/DocumentationAnalyzers.csproj
@@ -3,7 +3,6 @@
netstandard1.1;net452
- DocumentationAnalyzers.NewIdRequiredDueToNuGetBug
diff --git a/build/build.ps1 b/build/build.ps1
index 8e19767..12fb4fe 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -16,8 +16,6 @@ if (!(Test-Path $SolutionPath)) {
exit 1
}
-. .\version.ps1
-
If ($Debug) {
$BuildConfig = 'Debug'
} Else {
@@ -108,10 +106,3 @@ if (-not $SkipKeyCheck) {
}
}
}
-
-if (-not (Test-Path 'nuget')) {
- mkdir "nuget"
-}
-
-Copy-Item "..\DocumentationAnalyzers\DocumentationAnalyzers.CodeFixes\bin\$BuildConfig\DocumentationAnalyzers.$Version.nupkg" 'nuget'
-Copy-Item "..\DocumentationAnalyzers\DocumentationAnalyzers.CodeFixes\bin\$BuildConfig\DocumentationAnalyzers.$Version.symbols.nupkg" 'nuget'
diff --git a/build/push.ps1 b/build/push.ps1
deleted file mode 100644
index 1f842b9..0000000
--- a/build/push.ps1
+++ /dev/null
@@ -1,8 +0,0 @@
-. .\version.ps1
-
-If ($Version.EndsWith('-dev')) {
- $host.ui.WriteErrorLine("Cannot push development version '$Version' to NuGet.")
- Exit 1
-}
-
-..\.nuget\NuGet.exe 'push' ".\nuget\DocumentationAnalyzers.$Version.nupkg" -Source 'https://www.nuget.org/api/v2/package'
diff --git a/build/version.ps1 b/build/version.ps1
deleted file mode 100644
index 18ab0f9..0000000
--- a/build/version.ps1
+++ /dev/null
@@ -1 +0,0 @@
-$Version = "1.0.0-dev"