diff --git a/global.json b/global.json index dad90767cf..cbb89d783b 100644 --- a/global.json +++ b/global.json @@ -15,7 +15,7 @@ } }, "msbuild-sdks": { - "Microsoft.Build.NoTargets": "2.0.1", + "Microsoft.Build.NoTargets": "3.5.0", "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22313.1" } } diff --git a/src/Directory.Build.props b/src/Directory.Build.props index a57c548c0b..0e76e8af5f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -26,6 +26,7 @@ portable + diff --git a/src/dbgshim/pkg/Directory.Build.props b/src/dbgshim/pkg/Directory.Build.props index f013850303..4b12ff819e 100644 --- a/src/dbgshim/pkg/Directory.Build.props +++ b/src/dbgshim/pkg/Directory.Build.props @@ -1,43 +1,18 @@ + true true Internal implementation package not meant for direct consumption. Please do not reference directly. + .exe + Windows_NT + Linux-musl + Linux + OSX - - - - Windows_NT - .exe - .dll - .lib - .pdb - - - - - OSX - lib - .dylib - .a - .dwarf - - - - - Linux - Linux-musl - lib - .so - .a - .dbg - - - - - $(ArtifactsBinDir)\$(OsFolderName).$(PackageArch).$(Configuration)\ + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', '$(OsFolderName).$(PackageArch).$(Configuration)')) diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm.proj index 039146be0d..fb228f6235 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm.proj @@ -1,6 +1,6 @@ - linux-arm + linux-arm arm diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm64.proj index bc7268cfd1..d9f61eef3f 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-arm64.proj @@ -1,6 +1,6 @@ - linux-arm64 + linux-arm64 arm64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-arm64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-arm64.proj index f0ed0b096b..6bae66704c 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-arm64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-arm64.proj @@ -1,6 +1,6 @@ - linux-musl-x64 + linux-musl-x64 x64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-x64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-x64.proj index f0ed0b096b..6bae66704c 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-x64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-musl-x64.proj @@ -1,6 +1,6 @@ - linux-musl-x64 + linux-musl-x64 x64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-x64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-x64.proj index b68d4f6e35..26e2c04e0c 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-x64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.linux-x64.proj @@ -1,6 +1,6 @@ - linux-x64 + linux-x64 x64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-arm64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-arm64.proj index 1db7896ba8..0aed728885 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-arm64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-arm64.proj @@ -1,6 +1,6 @@ - osx-arm64 + osx-arm64 arm64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-x64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-x64.proj index 8e7c9ec48b..127cc45a18 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-x64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.osx-x64.proj @@ -1,6 +1,6 @@ - osx-x64 + osx-x64 x64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.props b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.props index cf15af8c84..9c22d95636 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.props +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.props @@ -3,7 +3,7 @@ netstandard2.0 true - false + true true true $(SymbolsSuffix) @@ -16,20 +16,22 @@ - - + + <_SymbolFilePath>$([MSBuild]::NormalizePath('$(NativeBinDir)', '$(LibPrefix)dbgshim$(LibSuffix)$(SymbolsSuffix)')) + <_SymbolFilePath Condition="$(PackageRID.StartsWith('win'))">$([MSBuild]::NormalizePath('$(NativeBinDir)', 'PDB', '$(LibPrefix)dbgshim$(SymbolsSuffix)')) + - + + + diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm.proj index a017c118c4..d64f6f71d1 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm.proj @@ -1,6 +1,6 @@ - win-arm + win-arm arm diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm64.proj index 07c9fc387a..ea85c3329b 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-arm64.proj @@ -1,6 +1,6 @@ - win-arm64 + win-arm64 arm64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x64.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x64.proj index 87f3cef758..a3a610fe05 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x64.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x64.proj @@ -1,6 +1,6 @@ - win-x64 + win-x64 x64 diff --git a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x86.proj b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x86.proj index a3699b17e9..07cfcee8da 100644 --- a/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x86.proj +++ b/src/dbgshim/pkg/Microsoft.Diagnostics.DbgShim.win-x86.proj @@ -1,6 +1,6 @@ - win-x86 + win-x86 x86