diff --git a/Microsoft.AspNet.TelemetryCorrelation.msbuild b/Microsoft.AspNet.TelemetryCorrelation.msbuild
index af6dfe3..e8ba554 100644
--- a/Microsoft.AspNet.TelemetryCorrelation.msbuild
+++ b/Microsoft.AspNet.TelemetryCorrelation.msbuild
@@ -1,20 +1,12 @@
-
-
-
-
-
-
-
-
diff --git a/src/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.csproj b/src/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.csproj
index 57ab907..63f45b3 100644
--- a/src/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.csproj
+++ b/src/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.csproj
@@ -14,7 +14,7 @@
512
true
true
- ..\35MSSharedLib1024.snk
+ $(RepositoryRoot)tools\35MSSharedLib1024.snk
SAK
SAK
SAK
@@ -27,6 +27,7 @@
+ true
full
false
DEBUG;TRACE
@@ -68,9 +69,10 @@
-
- Designer
-
+
+
+
+
@@ -79,10 +81,25 @@
+
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
+
+ Microsoft
+ MsSharedLib72
+
+
+
+
\ No newline at end of file
diff --git a/src/Microsoft.AspNet.TelemetryCorrelation/packages.config b/src/Microsoft.AspNet.TelemetryCorrelation/packages.config
index f15d77c..35ba646 100644
--- a/src/Microsoft.AspNet.TelemetryCorrelation/packages.config
+++ b/src/Microsoft.AspNet.TelemetryCorrelation/packages.config
@@ -1,5 +1,6 @@
+
diff --git a/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuproj b/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuproj
index ff65740..e6f99d8 100644
--- a/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuproj
+++ b/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuproj
@@ -5,6 +5,7 @@
$(MSBuildProjectName)
$(MSBuildProjectName)
$(MSBuildProjectName).nuspec
+ true
@@ -24,5 +25,15 @@
content\net45
-
+
+
+
+ $(PackageOutputDir)
+
+
+
+ NuGet
+
+
+
diff --git a/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuspec b/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuspec
index 6ec8057..5074b09 100644
--- a/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuspec
+++ b/src/Packages/Microsoft.AspNet.TelemetryCorrelation/Microsoft.AspNet.TelemetryCorrelation.nuspec
@@ -1,5 +1,5 @@
-
-
+
+
$NuGetPackageId$
Microsoft.AspNet.TelemetryCorrelation
diff --git a/test/Microsoft.AspNet.TelemetryCorrelation.Tests/35MSSharedLib1024.snk b/test/Microsoft.AspNet.TelemetryCorrelation.Tests/35MSSharedLib1024.snk
deleted file mode 100644
index 695f1b3..0000000
Binary files a/test/Microsoft.AspNet.TelemetryCorrelation.Tests/35MSSharedLib1024.snk and /dev/null differ
diff --git a/test/Microsoft.AspNet.TelemetryCorrelation.Tests/Microsoft.AspNet.TelemetryCorrelation.Tests.csproj b/test/Microsoft.AspNet.TelemetryCorrelation.Tests/Microsoft.AspNet.TelemetryCorrelation.Tests.csproj
index b40fc87..6a09ad1 100644
--- a/test/Microsoft.AspNet.TelemetryCorrelation.Tests/Microsoft.AspNet.TelemetryCorrelation.Tests.csproj
+++ b/test/Microsoft.AspNet.TelemetryCorrelation.Tests/Microsoft.AspNet.TelemetryCorrelation.Tests.csproj
@@ -37,7 +37,7 @@
true
- 35MSSharedLib1024.snk
+ $(RepositoryRoot)tools\35MSSharedLib1024.snk
true
@@ -103,6 +103,9 @@
Resources\web.config.uninstall.xdt
+
+
+
@@ -110,13 +113,6 @@
-
diff --git a/src/35MSSharedLib1024.snk b/tools/35MSSharedLib1024.snk
similarity index 100%
rename from src/35MSSharedLib1024.snk
rename to tools/35MSSharedLib1024.snk
diff --git a/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.settings.targets b/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.settings.targets
new file mode 100644
index 0000000..e7a3527
--- /dev/null
+++ b/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.settings.targets
@@ -0,0 +1,23 @@
+
+
+
+ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Microsoft.AspNet.TelemetryCorrelation.sln))\
+
+
+
+ Release
+ $(RepositoryRootEx)bin\
+ $(RepositoryRootEx)obj\
+ $(BinPath)$(Configuration)\
+ $(ObjPath)$(Configuration)\$(MSBuildProjectName)\
+
+
+
+ $(CodeSignOutputPath)
+ $(OutputPath)
+
+
+
+ $(MSBuildThisFileDirectory)Microsoft.AspNet.TelemetryCorrelation.Extensions.targets
+
+
diff --git a/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.targets b/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.targets
index a75e3d0..69a505c 100644
--- a/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.targets
+++ b/tools/Microsoft.AspNet.TelemetryCorrelation.Extensions.targets
@@ -5,14 +5,5 @@
$(NuGetPackageVersion)-b$(VersionBuild)
-
-
-
-
-
-
-
diff --git a/tools/Microsoft.AspNet.TelemetryCorrelation.settings.targets b/tools/Microsoft.AspNet.TelemetryCorrelation.settings.targets
index a8f04db..5d71c66 100644
--- a/tools/Microsoft.AspNet.TelemetryCorrelation.settings.targets
+++ b/tools/Microsoft.AspNet.TelemetryCorrelation.settings.targets
@@ -1,7 +1,7 @@
-
-
+
+ $(MSBuildThisFileDirectory)Microsoft.AspNet.TelemetryCorrelation.Extensions.settings.targets
rtm
2018
1
@@ -14,12 +14,13 @@
4.4.0
-
- $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Microsoft.AspNet.TelemetryCorrelation.sln))\
+ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Microsoft.AspNet.TelemetryCorrelation.sln'))\
+
+
Release
$(RepositoryRoot)bin\$(Configuration)\
diff --git a/tools/NuGetProj.targets b/tools/NuGetProj.targets
index 70e9d99..5f181a1 100644
--- a/tools/NuGetProj.targets
+++ b/tools/NuGetProj.targets
@@ -304,10 +304,11 @@ GetNuGetProjectOutputs: Reads build-generated files from outputs file.
$(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).nupkg
- $(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).symbols.nupkg
+ $(PackageOutputDir)\$(NuGetPackageId).$(NuGetPackageVersion).symbols.nupkg
+
diff --git a/tools/NuProj.Tasks.dll b/tools/NuProj.Tasks.dll
new file mode 100644
index 0000000..5f5bf4b
Binary files /dev/null and b/tools/NuProj.Tasks.dll differ
diff --git a/tools/NuProj.targets b/tools/NuProj.targets
new file mode 100644
index 0000000..4e46318
--- /dev/null
+++ b/tools/NuProj.targets
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+ $(MSBuildProjectDirectory)\bin\
+ $(MSBuildProjectDirectory)\obj\
+ $(IntermediateOutputPath)$(Id).nuspec
+
+ $(MSBuildThisFileDirectory)NuProj.Tasks.dll
+ $(MSBuildThisFileDirectory)
+ NuGet.exe
+
+
+
+
+
+ $(OutDir)$(Id).$(Version).nupkg
+
+
+
+
+
+ $(MSBuildAllProjects);$(MSBuildProjectFullPath)
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ToBeDeleted Include="$(NuSpecPath)" />
+ <_ToBeDeleted Include="$(NuGetOuputPath)" />
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tools/version.targets b/tools/version.targets
index 9a8b3d4..2043058 100644
--- a/tools/version.targets
+++ b/tools/version.targets
@@ -16,7 +16,7 @@ Project global versioning targets.
- 2013
+ 2016
INVALID_VersionMajor
INVALID_VersionMinor
$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))
@@ -27,7 +27,7 @@ Project global versioning targets.
- $(VersionMajor).$(VersionMinor).$(VersionRelease).$(VersionRevision)
+ $(VersionMajor).$(VersionMinor).0.$(VersionRevision)
$(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision)
$(VersionMajor).$(VersionMinor).$(VersionRelease)-$(VersionBuild)
$(AssemblyFileVersion)
@@ -36,6 +36,7 @@ Project global versioning targets.
$(VersionMajor).$(VersionMinor).$(VersionRelease)
+ $(NuGetPackageVersion)-$(BuildQuality)
@@ -104,7 +105,7 @@ Project global versioning targets.
$([System.Convert]::ToInt16('$(VersionMajor)'))
$([System.Convert]::ToInt16('$(VersionMinor)'))
- $([System.Convert]::ToInt32('$(VersionBuild)'))
+ $([System.Convert]::ToInt16('$(VersionBuild)'))
$([System.Convert]::ToInt16('$(VersionRevision)'))