From: Mike McLaughlin Date: Mon, 15 Jul 2019 17:22:58 +0000 (-0700) Subject: Add SOS nuget package for Windows debugger team (#392) X-Git-Tag: submit/tizen/20190813.035844~4^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=324a42aafe8f0f1f811c7567695f5c6dd0f13359;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Add SOS nuget package for Windows debugger team (#392) Add SOS nuget package for Windows debugger team Generate extension gallery zip in new SOS.Package project. Remove the create-gallery-zip.ps1 script and build def step. Some misc engineering cleanup. Upgrade arcade (1.0.0-beta.19358.1) and sdk (3.0.100-preview6-012264) versions. Remove SOS.NETCore explicit VersionPrefix CR --- diff --git a/.vsts-dotnet.yml b/.vsts-dotnet.yml index 85c38a0d7..d560db61b 100644 --- a/.vsts-dotnet.yml +++ b/.vsts-dotnet.yml @@ -315,12 +315,6 @@ phases: targetFolder: '$(Build.SourcesDirectory)/artifacts/bin/Windows_NT.arm.Release' condition: succeeded() - # Copy and archive the files for windbg extension gallery. - - - powershell: $(Build.SourcesDirectory)\eng\create-gallery-zip.ps1 $(Build.SourcesDirectory) - displayName: Create Extension Gallery Zip File - condition: succeeded() - # Linux x64 download, copy and archive - task: DownloadBuildArtifacts@0 diff --git a/diagnostics.sln b/diagnostics.sln index d561e7a35..257e4c17a 100644 --- a/diagnostics.sln +++ b/diagnostics.sln @@ -43,7 +43,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-counters", "src\Tool EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Diagnostics.Tools.RuntimeClient", "src\Microsoft.Diagnostics.Tools.RuntimeClient\Microsoft.Diagnostics.Tools.RuntimeClient.csproj", "{54C240C5-7932-4421-A5FB-75205DE0B824}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVersionFile", "eng\CreateVersionFile.csproj", "{54E3BCB7-6094-4B25-AC44-D4F914438F03}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SOS.Package", "src\SOS\SOS.Package\SOS.Package.csproj", "{234416E9-EA5F-4018-AC34-67682C5D3E04}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -679,46 +679,46 @@ Global {54C240C5-7932-4421-A5FB-75205DE0B824}.RelWithDebInfo|x64.Build.0 = Release|Any CPU {54C240C5-7932-4421-A5FB-75205DE0B824}.RelWithDebInfo|x86.ActiveCfg = Release|Any CPU {54C240C5-7932-4421-A5FB-75205DE0B824}.RelWithDebInfo|x86.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|Any CPU.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|Any CPU.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|ARM.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|ARM.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|ARM64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|ARM64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|x64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|x64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|x86.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Checked|x86.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|ARM.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|ARM.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|ARM64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|ARM64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|x64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|x64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|x86.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Debug|x86.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|Any CPU.ActiveCfg = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|Any CPU.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|ARM.ActiveCfg = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|ARM.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|ARM64.ActiveCfg = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|ARM64.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|x64.ActiveCfg = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|x64.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|x86.ActiveCfg = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.Release|x86.Build.0 = Release|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|Any CPU.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|Any CPU.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|ARM.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|ARM.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|ARM64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|ARM64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|x64.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|x64.Build.0 = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|x86.ActiveCfg = Debug|Any CPU - {54E3BCB7-6094-4B25-AC44-D4F914438F03}.RelWithDebInfo|x86.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|Any CPU.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|Any CPU.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|ARM.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|ARM.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|ARM64.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|ARM64.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|x64.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|x64.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|x86.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Checked|x86.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|Any CPU.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|ARM.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|ARM.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|ARM64.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|x64.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|x64.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|x86.ActiveCfg = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Debug|x86.Build.0 = Debug|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|Any CPU.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|Any CPU.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|ARM.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|ARM.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|ARM64.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|ARM64.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|x64.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|x64.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|x86.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.Release|x86.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|Any CPU.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|Any CPU.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|ARM.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|ARM.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|ARM64.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|ARM64.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|x64.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|x64.Build.0 = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|x86.ActiveCfg = Release|Any CPU + {234416E9-EA5F-4018-AC34-67682C5D3E04}.RelWithDebInfo|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -743,6 +743,7 @@ Global {90CF2633-58F0-44EE-943B-D70207455F20} = {19FAB78C-3351-4911-8F0C-8C6056401740} {2A9B5988-982F-4E26-9E44-D38AC5978C30} = {B62728C8-1267-4043-B46F-5537BBAEC692} {54C240C5-7932-4421-A5FB-75205DE0B824} = {19FAB78C-3351-4911-8F0C-8C6056401740} + {234416E9-EA5F-4018-AC34-67682C5D3E04} = {41638A4C-0DAF-47ED-A774-ECBBAC0315D7} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {46465737-C938-44FC-BE1A-4CE139EBB5E0} diff --git a/eng/Build-Native.cmd b/eng/Build-Native.cmd index 3afcc619c..378c486e1 100644 --- a/eng/Build-Native.cmd +++ b/eng/Build-Native.cmd @@ -197,7 +197,7 @@ if /i %__BuildCrossArch% EQU 1 ( echo Generating Version Header set __GenerateVersionLog="%__LogDir%\GenerateVersion.binlog" - "%__DotNetCli%" msbuild "%__ProjectDir%\eng\CreateVersionFile.csproj" /v:!__Verbosity! /bl:!__GenerateVersionLog! /t:GenerateVersionFiles /p:FileVersionFile=%__RootBinDir%\bin\FileVersion.txt /p:GenerateVersionHeader=true /p:NativeVersionHeaderFile=%__CrossCompIntermediatesDir%\_version.h /p:Configuration=%__BuildType% /p:Platform=%__BuildArch% %__UnprocessedBuildArgs% + "%__DotNetCli%" msbuild "%__ProjectDir%\eng\CreateVersionFile.proj" /v:!__Verbosity! /bl:!__GenerateVersionLog! /t:GenerateVersionFiles /p:FileVersionFile=%__RootBinDir%\bin\FileVersion.txt /p:GenerateVersionHeader=true /p:NativeVersionHeaderFile=%__CrossCompIntermediatesDir%\_version.h /p:Configuration=%__BuildType% /p:Platform=%__BuildArch% %__UnprocessedBuildArgs% if not !errorlevel! == 0 ( echo Generate Version Header FAILED exit /b 1 @@ -275,7 +275,7 @@ if %__Build% EQU 1 ( echo Generating Version Header set __GenerateVersionLog="%__LogDir%\GenerateVersion.binlog" - "%__DotNetCli%" msbuild "%__ProjectDir%\eng\CreateVersionFile.csproj" /v:!__Verbosity! /bl:!__GenerateVersionLog! /t:GenerateVersionFiles /p:FileVersionFile=%__RootBinDir%\bin\FileVersion.txt /p:GenerateVersionHeader=true /p:NativeVersionHeaderFile=%__IntermediatesDir%\_version.h /p:Configuration=%__BuildType% /p:Platform=%__BuildArch% %__UnprocessedBuildArgs% + "%__DotNetCli%" msbuild "%__ProjectDir%\eng\CreateVersionFile.proj" /v:!__Verbosity! /bl:!__GenerateVersionLog! /t:GenerateVersionFiles /p:FileVersionFile=%__RootBinDir%\bin\FileVersion.txt /p:GenerateVersionHeader=true /p:NativeVersionHeaderFile=%__IntermediatesDir%\_version.h /p:Configuration=%__BuildType% /p:Platform=%__BuildArch% %__UnprocessedBuildArgs% if not !errorlevel! == 0 ( echo Generate Version Header FAILED exit /b 1 diff --git a/eng/CreateVersionFile.csproj b/eng/CreateVersionFile.csproj deleted file mode 100644 index a4eb8adfa..000000000 --- a/eng/CreateVersionFile.csproj +++ /dev/null @@ -1,98 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - - - - - - - $(FileVersion.Replace(".", ",")) - - - - - - - - - - - - - - - - - - - - - - - $(USERNAME) - - - - - - - - - $(COMPUTERNAME) - - - - - - - - $(BuiltByString) %40BuiltBy: $(VersionUserName)-$(VersionHostName) - - - - - - - - - - - - - - - - - diff --git a/eng/CreateVersionFile.proj b/eng/CreateVersionFile.proj new file mode 100644 index 000000000..d25e93167 --- /dev/null +++ b/eng/CreateVersionFile.proj @@ -0,0 +1,91 @@ + + + + netcoreapp2.0 + + + + + + + + + + $(FileVersion.Replace(".", ",")) + + + + + + + + + + + + + + + + + + + + + + + $(USERNAME) + + + + + + + + + $(COMPUTERNAME) + + + + + + + + $(BuiltByString) %40BuiltBy: $(VersionUserName)-$(VersionHostName) + + + + + + + + + + + + + + + + + diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 69d81b38f..fafc1cfda 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -6,17 +6,9 @@ - + https://github.com/dotnet/arcade - 45361625125cdd3119050a852bd73163ca4b73f4 - - - https://github.com/dotnet/arcade - 45361625125cdd3119050a852bd73163ca4b73f4 - - - https://github.com/dotnet/arcade - 45361625125cdd3119050a852bd73163ca4b73f4 + 4953cdf6c956adf69a0050c4df503048aed6b271 diff --git a/eng/build-native.sh b/eng/build-native.sh index 1d5bba81d..81e8926ea 100755 --- a/eng/build-native.sh +++ b/eng/build-native.sh @@ -408,7 +408,7 @@ if [ $__Build == true ]; then if [[ $__CI == true ]]; then echo "Generating Version Source File" __GenerateVersionLog="$__LogDir/GenerateVersion.binlog" - $__DotNetCli msbuild $__ProjectRoot/eng/CreateVersionFile.csproj /v:$__Verbosity /bl:$__GenerateVersionLog /t:GenerateVersionFiles /p:GenerateVersionSourceFile=true /p:NativeVersionSourceFile="$__IntermediatesDir/version.cpp" /p:Configuration="$__BuildType" /p:Platform="$__BuildArch" $__UnprocessedBuildArgs + $__DotNetCli msbuild $__ProjectRoot/eng/CreateVersionFile.proj /v:$__Verbosity /bl:$__GenerateVersionLog /t:GenerateVersionFiles /p:GenerateVersionSourceFile=true /p:NativeVersionSourceFile="$__IntermediatesDir/version.cpp" /p:Configuration="$__BuildType" /p:Platform="$__BuildArch" $__UnprocessedBuildArgs if [ $? != 0 ]; then echo "Generating Version Source File FAILED" exit 1 diff --git a/eng/create-gallery-zip.ps1 b/eng/create-gallery-zip.ps1 deleted file mode 100644 index b2ee8bd64..000000000 --- a/eng/create-gallery-zip.ps1 +++ /dev/null @@ -1,36 +0,0 @@ -[cmdletbinding()] -param( - [string]$SourceDirectory -) - -Set-StrictMode -Version Latest -$ErrorActionPreference="Stop" - -$BinDir = "$SourceDirectory\artifacts\bin" -$SOSGalleryVersion = cat $BinDir\FileVersion.txt - -$SOSNETCorePath = "$BinDir\SOS.NETCore\Release\netstandard2.0\publish" -$GalleryDir = "$BinDir\gallery\$SOSGalleryVersion" -$ZipFilePath = "$SourceDirectory\artifacts\packages\Release" -$ZipFile = Join-Path -Path $ZipFilePath "$SOSGalleryVersion.zip" - -mkdir -Force "$GalleryDir\x64" -mkdir -Force "$GalleryDir\x86" -mkdir -Force "$GalleryDir\arm32" -mkdir -Force "$ZipFilePath" - -Copy-Item $BinDir\Windows_NT.x64.Release\sos.dll $GalleryDir\x64 -Copy-Item $BinDir\Windows_NT.x64.Release\Microsoft.DiaSymReader.Native.amd64.dll $GalleryDir\x64 -Copy-Item $SOSNETCorePath\*.dll $GalleryDir\x64 -Copy-Item $BinDir\Windows_NT.x86.Release\sos.dll $GalleryDir\x86 -Copy-Item $BinDir\Windows_NT.x86.Release\Microsoft.DiaSymReader.Native.x86.dll $GalleryDir\x86 -Copy-Item $SOSNETCorePath\*.dll $GalleryDir\x86 -Copy-Item $BinDir\Windows_NT.arm.Release\sos.dll $GalleryDir\arm32 -Copy-Item $BinDir\Windows_NT.arm.Release\Microsoft.DiaSymReader.Native.arm.dll $GalleryDir\arm32 -Copy-Item $SOSNETCorePath\*.dll $GalleryDir\arm32 -cat $SourceDirectory\eng\GalleryManifest.xml | %{$_ -replace "X.X.X.X","$SOSGalleryVersion"} | Set-Content $BinDir\gallery\GalleryManifest.xml - -if (Test-Path $ZipFile) { rm "$ZipFile" } -Add-Type -assembly System.IO.Compression.FileSystem -[IO.Compression.ZipFile]::CreateFromDirectory("$BinDir\gallery", "$ZipFile") - diff --git a/global.json b/global.json index 9f079f25d..ec59655b0 100644 --- a/global.json +++ b/global.json @@ -1,11 +1,11 @@ { "sdk": { - "version": "3.0.100-preview5-011568" + "version": "3.0.100-preview6-012264" }, "tools": { - "dotnet": "3.0.100-preview5-011568" + "dotnet": "3.0.100-preview6-012264" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19309.1" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19358.1" } } diff --git a/src/SOS/SOS.NETCore/SOS.NETCore.csproj b/src/SOS/SOS.NETCore/SOS.NETCore.csproj index 8de923a3a..a72ada3d1 100644 --- a/src/SOS/SOS.NETCore/SOS.NETCore.csproj +++ b/src/SOS/SOS.NETCore/SOS.NETCore.csproj @@ -6,7 +6,6 @@ true ;1591;1701 .NET Core SOS - 4.8.0 diff --git a/src/SOS/SOS.Package/SOS.Package.csproj b/src/SOS/SOS.Package/SOS.Package.csproj new file mode 100644 index 000000000..f1c890fbf --- /dev/null +++ b/src/SOS/SOS.Package/SOS.Package.csproj @@ -0,0 +1,120 @@ + + + + + + netstandard2.0 + Microsoft.NETCore.SOS + .NET Core SOS binaries + $(Description) + true + false + tools + $(ArtifactsPackagesDir)\GalleryManifest.xml + GenerateGalleryZip + + + + + $(SOSPackagePathPrefix) + + + + + + + + + + + + + + + SOS + $(FileVersion) + Debugging aid for .NET Core programs and runtimes + + + + + + + + + + + + + + + + !soshelp + Displays all available SOS commands or details about the command + + + + + + +]]> + + + + + + + + + + + + + $(ArtifactsBinDir)\gallery + $(GalleryDir)\$(FileVersion) + $(ArtifactsBinDir)\SOS.NETCore\$(Configuration)\netstandard2.0\publish + + + + + $(GalleryDir) + + + + $(GallerySubDir)\win-x64 + + + $(GallerySubDir)\win-x64 + + + $(GallerySubDir)\win-x64 + + + + $(GallerySubDir)\win-x86 + + + $(GallerySubDir)\win-x86 + + + $(GallerySubDir)\win-x86 + + + + $(GallerySubDir)\win-arm + + + $(GallerySubDir)\win-arm + + + $(GallerySubDir)\win-arm + + + + + + + + + diff --git a/src/Tools/dotnet-dump/dotnet-dump.csproj b/src/Tools/dotnet-dump/dotnet-dump.csproj index 95d059bd4..22008e224 100644 --- a/src/Tools/dotnet-dump/dotnet-dump.csproj +++ b/src/Tools/dotnet-dump/dotnet-dump.csproj @@ -8,6 +8,7 @@ Diagnostic dump collect and analyze tool Diagnostic $(Description) + tools/$(TargetFramework)/any @@ -22,5 +23,5 @@ - + diff --git a/src/Tools/dotnet-sos/dotnet-sos.csproj b/src/Tools/dotnet-sos/dotnet-sos.csproj index a89054d3a..d38943b81 100644 --- a/src/Tools/dotnet-sos/dotnet-sos.csproj +++ b/src/Tools/dotnet-sos/dotnet-sos.csproj @@ -7,7 +7,7 @@ Diagnostic SOS installer Diagnostic $(Description) - $(ArtifactsBinDir)\SOS.NETCore\$(Configuration)\netstandard2.0\publish\*.dll + tools/$(TargetFramework)/any @@ -18,5 +18,5 @@ - + diff --git a/src/Tools/sos-packaging.props b/src/Tools/sos-packaging.props deleted file mode 100644 index a70a37bd0..000000000 --- a/src/Tools/sos-packaging.props +++ /dev/null @@ -1,102 +0,0 @@ - - - $(ArtifactsBinDir)\SOS.NETCore\$(Configuration)\netstandard2.0\publish\*.dll - - - - - tools/$(TargetFramework)/any/win-x64 - - - tools/$(TargetFramework)/any/win-x64 - - - tools/$(TargetFramework)/any/win-x64 - - - - tools/$(TargetFramework)/any/win-x86 - - - tools/$(TargetFramework)/any/win-x86 - - - tools/$(TargetFramework)/any/win-x86 - - - - tools/$(TargetFramework)/any/win-arm - - - tools/$(TargetFramework)/any/win-arm - - - tools/$(TargetFramework)/any/win-arm - - - - tools/$(TargetFramework)/any/linux-x64 - - - tools/$(TargetFramework)/any/linux-x64 - - - tools/$(TargetFramework)/any/linux-x64 - - - tools/$(TargetFramework)/any/linux-x64 - - - - tools/$(TargetFramework)/any/linux-musl-x64 - - - tools/$(TargetFramework)/any/linux-musl-x64 - - - tools/$(TargetFramework)/any/linux-musl-x64 - - - tools/$(TargetFramework)/any/linux-musl-x64 - - - - tools/$(TargetFramework)/any/linux-arm - - - tools/$(TargetFramework)/any/linux-arm - - - tools/$(TargetFramework)/any/linux-arm - - - tools/$(TargetFramework)/any/linux-arm - - - - tools/$(TargetFramework)/any/linux-arm64 - - - tools/$(TargetFramework)/any/linux-arm64 - - - tools/$(TargetFramework)/any/linux-arm64 - - - tools/$(TargetFramework)/any/linux-arm64 - - - - tools/$(TargetFramework)/any/osx-x64 - - - tools/$(TargetFramework)/any/osx-x64 - - - tools/$(TargetFramework)/any/osx-x64 - - - tools/$(TargetFramework)/any/osx-x64 - - - diff --git a/src/sos-packaging.props b/src/sos-packaging.props new file mode 100644 index 000000000..ff43ddee8 --- /dev/null +++ b/src/sos-packaging.props @@ -0,0 +1,107 @@ + + + + $(ArtifactsBinDir)\SOS.NETCore\$(Configuration)\netstandard2.0\publish\*.dll + + + + + $(SOSPackagePathPrefix)/win-x64 + + + $(SOSPackagePathPrefix)/win-x64 + + + $(SOSPackagePathPrefix)/win-x64 + + + + $(SOSPackagePathPrefix)/win-x86 + + + $(SOSPackagePathPrefix)/win-x86 + + + $(SOSPackagePathPrefix)/win-x86 + + + + $(SOSPackagePathPrefix)/win-arm + + + $(SOSPackagePathPrefix)/win-arm + + + $(SOSPackagePathPrefix)/win-arm + + + + $(SOSPackagePathPrefix)/linux-x64 + + + $(SOSPackagePathPrefix)/linux-x64 + + + $(SOSPackagePathPrefix)/linux-x64 + + + $(SOSPackagePathPrefix)/linux-x64 + + + + $(SOSPackagePathPrefix)/linux-musl-x64 + + + $(SOSPackagePathPrefix)/linux-musl-x64 + + + $(SOSPackagePathPrefix)/linux-musl-x64 + + + $(SOSPackagePathPrefix)/linux-musl-x64 + + + + $(SOSPackagePathPrefix)/linux-arm + + + $(SOSPackagePathPrefix)/linux-arm + + + $(SOSPackagePathPrefix)/linux-arm + + + $(SOSPackagePathPrefix)/linux-arm + + + + $(SOSPackagePathPrefix)/linux-arm64 + + + $(SOSPackagePathPrefix)/linux-arm64 + + + $(SOSPackagePathPrefix)/linux-arm64 + + + $(SOSPackagePathPrefix)/linux-arm64 + + + + $(SOSPackagePathPrefix)/osx-x64 + + + $(SOSPackagePathPrefix)/osx-x64 + + + $(SOSPackagePathPrefix)/osx-x64 + + + $(SOSPackagePathPrefix)/osx-x64 + + +