|
34 | 34 | </ItemGroup>
|
35 | 35 |
|
36 | 36 | <!-- Packaging the native library (NOTE: $(RuntimeIdentifier) is not set) -->
|
37 |
| - <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)' == 'win-x64'"> |
| 37 | + <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$(NETCoreSdkRuntimeIdentifier)' == 'win-x64'"> |
38 | 38 | <None Include="$(SentryNativeOutputDirectory-win-x64)$(SentryNativeLibraryName).lib">
|
39 | 39 | <Pack>true</Pack>
|
40 | 40 | <PackagePath>\sentry-native\$(NativeLibRelativePath-win-x64)</PackagePath>
|
41 | 41 | </None>
|
42 | 42 | </ItemGroup>
|
43 | 43 |
|
44 |
| - <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)' == 'win-arm64'"> |
| 44 | + <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$(NETCoreSdkRuntimeIdentifier)' == 'win-arm64'"> |
45 | 45 | <None Include="$(SentryNativeOutputDirectory-win-arm64)$(SentryNativeLibraryName).lib">
|
46 | 46 | <Pack>true</Pack>
|
47 | 47 | <PackagePath>\sentry-native\$(NativeLibRelativePath-win-arm64)</PackagePath>
|
48 | 48 | </None>
|
49 | 49 | </ItemGroup>
|
50 | 50 |
|
51 |
| - <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)' == 'linux-x64'"> |
| 51 | + <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$(NETCoreSdkRuntimeIdentifier)' == 'linux-x64'"> |
52 | 52 | <None Include="$(SentryNativeOutputDirectory-linux-x64)lib$(SentryNativeLibraryName).a">
|
53 | 53 | <Pack>true</Pack>
|
54 | 54 | <PackagePath>\sentry-native\$(NativeLibRelativePath-linux-x64)</PackagePath>
|
55 | 55 | </None>
|
56 | 56 | </ItemGroup>
|
57 | 57 |
|
58 |
| - <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)' == 'linux-musl-x64'"> |
| 58 | + <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$(NETCoreSdkRuntimeIdentifier)' == 'linux-musl-x64'"> |
59 | 59 | <None Include="$(SentryNativeOutputDirectory-linux-musl-x64)lib$(SentryNativeLibraryName).a">
|
60 | 60 | <Pack>true</Pack>
|
61 | 61 | <PackagePath>\sentry-native\$(NativeLibRelativePath-linux-musl-x64)</PackagePath>
|
62 | 62 | </None>
|
63 | 63 | </ItemGroup>
|
64 | 64 |
|
65 |
| - <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)' == 'linux-arm64'"> |
| 65 | + <ItemGroup Condition="'$(CI_PUBLISHING_BUILD)' == 'true' or '$(NETCoreSdkRuntimeIdentifier)' == 'linux-arm64'"> |
66 | 66 | <None Include="$(SentryNativeOutputDirectory-linux-arm64)lib$(SentryNativeLibraryName).a">
|
67 | 67 | <Pack>true</Pack>
|
68 | 68 | <PackagePath>\sentry-native\$(NativeLibRelativePath-linux-arm64)</PackagePath>
|
|
0 commit comments