Skip to content

Commit fe3152d

Browse files
Merge branch 'dotnet10/UpdateToPreview' into nacho/dotnet10Test
2 parents bbfb1a6 + 7ba332f commit fe3152d

File tree

273 files changed

+4309
-2037
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+4309
-2037
lines changed

.azure-pipelines/steps/run-in-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ steps:
7575
--env enable_crash_dumps=$(enable_crash_dumps) \
7676
--env DD_COLLECTOR_CPU_USAGE="1" \
7777
--env DD_LOGGER_DD_API_KEY="$(DD_LOGGER_DD_API_KEY)" \
78+
--env DD_LOGGER_DD_TRACE_LOG_DIRECTORY="/project/artifacts/build_data/infra_logs" \
7879
--env DD_LOGGER_DD_SERVICE \
7980
--env DD_LOGGER_DD_ENV \
8081
--env DD_LOGGER_ENABLED \

.azure-pipelines/steps/update-github-status-jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ jobs:
6666
parameters:
6767
checkName: $(System.StageName)
6868
status: 'failure'
69-
description: 'Run failed'
69+
description: 'Run failed, please investigate and/or retry this (if flake) via Azure DevOps'

.azure-pipelines/ultimate-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ variables:
9696
DD_LOGGER_DD_API_KEY: $(DD_API_KEY_PROD)
9797
DD_LOGGER_DD_SERVICE: dd-trace-dotnet
9898
DD_LOGGER_DD_ENV: CI
99+
DD_LOGGER_DD_TRACE_LOG_DIRECTORY: $(System.DefaultWorkingDirectory)/artifacts/build_data/infra_logs
99100
DD_LOGGER_TF_BUILD: True
100101
DD_LOGGER_BUILD_BUILDID: $(Build.BuildId)
101102
DD_LOGGER_BUILD_DEFINITIONNAME: $(Build.DefinitionName)
@@ -119,7 +120,7 @@ variables:
119120
DD_LOGGER_DD_TAGS: test.configuration.job:$(System.JobDisplayName)
120121
DD_LOGGER_ENABLED: true
121122
DD_COLLECTOR_CPU_USAGE: true
122-
ToolVersion: 3.23.0
123+
ToolVersion: 3.24.0
123124
# .NET SDK performance optimization variables
124125
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
125126
DOTNET_CLI_TELEMETRY_OPTOUT: 1

.github/CODEOWNERS

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,27 @@
1111
# IDM
1212
/tracer/test/test-applications/integrations/ @DataDog/apm-idm-dotnet @DataDog/tracing-dotnet
1313

14+
# Capabilities, API, and OpenTelemetry
15+
16+
/tracer/src/Datadog.Trace.Manual/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
17+
/tracer/src/Datadog.Trace/Activity/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
18+
/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/OpenTelemetry/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
19+
/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/ManualInstrumentation/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
20+
/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/TraceAnnotations/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
21+
22+
/tracer/test/test-applications/integrations/Samples.ManualInstrumentation/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
23+
/tracer/test/test-applications/integrations/Samples.NetActivitySdk/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
24+
/tracer/test/test-applications/integrations/Samples.OpenTelemetrySdk/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
25+
/tracer/test/test-applications/integrations/Samples.TraceAnnotations/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
26+
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.AfterFeature/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
27+
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.BeforeFeature/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
28+
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.NewerNuGet/ @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
29+
30+
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/ManualInstrumentationTests.cs @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
31+
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/NetActivitySdkTests.cs @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
32+
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/OpenTelemetrySdkTests.cs @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
33+
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TraceAnnotationsTests.cs @DataDog/apm-sdk-api-dotnet @DataDog/tracing-dotnet
34+
1435
## DBM and DSM
1536
/tracer/src/Datadog.Trace/DatabaseMonitoring/ @DataDog/apm-idm-dotnet @DataDog/tracing-dotnet
1637
/tracer/src/Datadog.Trace/DataStreamsMonitoring/ @DataDog/apm-idm-dotnet @DataDog/tracing-dotnet
@@ -44,16 +65,6 @@
4465

4566
## NON-IDM
4667

47-
/tracer/test/test-applications/integrations/Samples.ManualInstrumentation/ @DataDog/tracing-dotnet
48-
/tracer/test/test-applications/integrations/Samples.NetActivitySdk/ @DataDog/tracing-dotnet
49-
/tracer/test/test-applications/integrations/Samples.OpenTelemetrySdk/ @DataDog/tracing-dotnet
50-
/tracer/test/test-applications/integrations/Samples.TraceAnnotations/ @DataDog/tracing-dotnet
51-
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.AfterFeature/ @DataDog/tracing-dotnet
52-
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.BeforeFeature/ @DataDog/tracing-dotnet
53-
/tracer/test/test-applications/integrations/Samples.TraceAnnotations.VersionMismatch.NewerNuGet/ @DataDog/tracing-dotnet
54-
55-
/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/OpenTelemetry/ @DataDog/tracing-dotnet
56-
/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/TraceAnnotations/ @DataDog/tracing-dotnet
5768
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/Helpers/ @DataDog/tracing-dotnet
5869
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/SmokeTests/ @DataDog/tracing-dotnet
5970
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TestCollections/ @DataDog/tracing-dotnet
@@ -65,19 +76,15 @@
6576
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/CustomTestFramework.cs @DataDog/tracing-dotnet
6677
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/DynamicConfigurationTests.cs @DataDog/tracing-dotnet
6778
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/InstrumentationVerificationSanityCheckTests.cs @DataDog/tracing-dotnet
68-
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/ManualInstrumentationTests.cs @DataDog/tracing-dotnet
6979
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/NativeProfilerChecks.cs @DataDog/tracing-dotnet
70-
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/NetActivitySdkTests.cs @DataDog/tracing-dotnet
7180
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/NoMultiLoaderTests.cs @DataDog/tracing-dotnet
72-
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/OpenTelemetrySdkTests.cs @DataDog/tracing-dotnet
7381
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersions.g.cs @DataDog/tracing-dotnet
7482
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersionsLatestMajors.g.cs @DataDog/tracing-dotnet
7583
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersionsLatestMinors.g.cs @DataDog/tracing-dotnet
7684
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/PackageVersionsLatestSpecific.g.cs @DataDog/tracing-dotnet
7785
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/RemotingTests.cs @DataDog/tracing-dotnet
7886
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/RuntimeMetricsTests.cs @DataDog/tracing-dotnet
7987
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TelemetryTests.cs @DataDog/tracing-dotnet
80-
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TraceAnnotationsTests.cs @DataDog/tracing-dotnet
8188
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TracerFlareTests.cs @DataDog/tracing-dotnet
8289
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TracingIntegrationTest.cs @DataDog/tracing-dotnet
8390
/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/TransportTests.cs @DataDog/tracing-dotnet

.github/pull_request_template.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@
99
## Other details
1010
<!-- Fixes #{issue} -->
1111

12-
<!-- ⚠️ Note: where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews. -->
12+
13+
<!-- ⚠️ Note:
14+
15+
Where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews.
16+
17+
MergeQueue is NOT enabled in this repository. If you have write access to the repo, the PR has 1-2 approvals (see above), and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #apm-dotnet channel in Slack.
18+
-->

.github/workflows/create_draft_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
dotnet nuget push "*.${{steps.versions.outputs.full_version}}*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
139139
140140
- name: "Copy gitlab artifacts to artifacts_path"
141-
run: cp "${{steps.assets.outputs.gitlab_artifacts_path}}/*.zip" "${{steps.assets.outputs.artifacts_path}}/""
141+
run: cp "${{steps.assets.outputs.gitlab_artifacts_path}}/*.zip" "${{steps.assets.outputs.artifacts_path}}/"
142142

143143
- name: 'Push debug symbols to datadog'
144144
uses: ./.github/actions/publish-debug-symbols

build/cmake/FindRe2.cmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ if (ISMACOS)
88
SET (OSXRE2BUILDCOMMAND
99
echo "Building Re2 Arm64" &&
1010
rm -f -r ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj &&
11-
${CMAKE_COMMAND} -E env LDFLAGS=-arch\ arm64 ARFLAGS=-r\ -s\ -c CXXFLAGS=-O3\ -g\ -fPIC\ -target\ arm64-apple-darwin${CMAKE_HOST_SYSTEM_VERSION}\ -Wno-unused-but-set-variable\ -D_GLIBCXX_USE_CXX11_ABI=0 $(MAKE) -j &&
11+
${CMAKE_COMMAND} -E env MAKEFLAGS=-s LDFLAGS=-arch\ arm64 ARFLAGS=-r\ -s\ -c CXXFLAGS=-O3\ -g\ -fPIC\ -target\ arm64-apple-darwin${CMAKE_HOST_SYSTEM_VERSION}\ -Wno-unused-but-set-variable\ -D_GLIBCXX_USE_CXX11_ABI=0 $(MAKE) -j &&
1212
mv ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj/libre2.a ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/libre2.arm64.a &&
1313
echo "Building Re2 X86_64" &&
1414
rm -f -r ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj &&
15-
${CMAKE_COMMAND} -E env LDFLAGS=-arch\ x86_64 ARFLAGS=-r\ -s\ -c CXXFLAGS=-O3\ -g\ -fPIC\ -target\ x86_64-apple-darwin${CMAKE_HOST_SYSTEM_VERSION}\ -Wno-unused-but-set-variable\ -D_GLIBCXX_USE_CXX11_ABI=0 $(MAKE) -j &&
15+
${CMAKE_COMMAND} -E env MAKEFLAGS=-s LDFLAGS=-arch\ x86_64 ARFLAGS=-r\ -s\ -c CXXFLAGS=-O3\ -g\ -fPIC\ -target\ x86_64-apple-darwin${CMAKE_HOST_SYSTEM_VERSION}\ -Wno-unused-but-set-variable\ -D_GLIBCXX_USE_CXX11_ABI=0 $(MAKE) -j &&
1616
mv ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj/libre2.a ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/libre2.x86_64.a &&
1717
echo "Creating Re2 universal binary" &&
1818
lipo ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/libre2.arm64.a ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/libre2.x86_64.a -create -output ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj/libre2.a
@@ -27,6 +27,9 @@ if (ISMACOS)
2727
BUILD_COMMAND ${OSXRE2BUILDCOMMAND}
2828
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/re2-prefix/src/re2/obj/libre2.a
2929
)
30+
31+
set_property(TARGET re2 PROPERTY JOB_SERVER_AWARE TRUE)
32+
3033
elseif(ISLINUX)
3134
ExternalProject_Add(re2
3235
DOWNLOAD_COMMAND ${DOWNLOAD_COMMAND}

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ services:
348348
- IncludeMinorPackageVersions=${IncludeMinorPackageVersions:-false}
349349
- enable_crash_dumps=${enable_crash_dumps:-true}
350350
- DD_LOGGER_DD_API_KEY
351+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
351352
- DD_LOGGER_DD_SERVICE
352353
- DD_LOGGER_DD_ENV
353354
- DD_LOGGER_ENABLED
@@ -426,6 +427,7 @@ services:
426427
- COUCHBASE_PORT=8091
427428
- CONTAINER_HOSTNAME=http://integrationtests
428429
- DD_LOGGER_DD_API_KEY
430+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
429431
- DD_LOGGER_DD_SERVICE
430432
- DD_LOGGER_DD_ENV
431433
- DD_LOGGER_ENABLED
@@ -496,6 +498,7 @@ services:
496498
- Verify_DisableClipboard=true
497499
- DiffEngine_Disabled=true
498500
- DD_LOGGER_DD_API_KEY
501+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
499502
- DD_LOGGER_DD_SERVICE
500503
- DD_LOGGER_DD_ENV
501504
- DD_LOGGER_ENABLED
@@ -552,6 +555,7 @@ services:
552555
- CONTAINER_HOSTNAME=http://integrationtests
553556
- IncludeAllTestFrameworks
554557
- DD_LOGGER_DD_API_KEY
558+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
555559
- DD_LOGGER_DD_SERVICE
556560
- DD_LOGGER_DD_ENV
557561
- DD_LOGGER_ENABLED
@@ -602,6 +606,7 @@ services:
602606
- IncludeAllTestFrameworks
603607
- DD_CLR_ENABLE_NGEN=${DD_CLR_ENABLE_NGEN:-1}
604608
- DD_LOGGER_DD_API_KEY
609+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
605610
- DD_LOGGER_DD_SERVICE
606611
- DD_LOGGER_DD_ENV
607612
- DD_LOGGER_ENABLED
@@ -693,6 +698,7 @@ services:
693698
- RABBITMQ_HOST=rabbitmq_arm64
694699
- AWS_SDK_HOST=localstack_arm64:4566
695700
- DD_LOGGER_DD_API_KEY
701+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
696702
- DD_LOGGER_DD_SERVICE
697703
- DD_LOGGER_DD_ENV
698704
- DD_LOGGER_ENABLED
@@ -771,6 +777,7 @@ services:
771777
- Verify_DisableClipboard=true
772778
- DiffEngine_Disabled=true
773779
- DD_LOGGER_DD_API_KEY
780+
- DD_LOGGER_DD_TRACE_LOG_DIRECTORY=/project/artifacts/build_data/infra_logs
774781
- DD_LOGGER_DD_SERVICE
775782
- DD_LOGGER_DD_ENV
776783
- DD_LOGGER_ENABLED
@@ -1177,3 +1184,7 @@ services:
11771184
environment:
11781185
- ACCEPT_EULA=Y
11791186
- SA_PASSWORD=Strong!Passw0rd
1187+
1188+
# keep syncronized image version with tracer\test\Datadog.Trace.TestHelpers.AutoInstrumentation\Containers\AerospikeFixture.cs
1189+
aerospike:
1190+
image: aerospike/aerospike-server:6.2.0.6

docs/CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,69 @@
2424

2525

2626

27+
28+
29+
## [Release 3.23.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v3.23.0)
30+
31+
## Summary
32+
33+
- [Tracer] Baggage tags are automatically added as span tags
34+
- [Tracer] Fix resource-based sampling for ASP.NET Core
35+
- [Test Optimization] Various fixes for commit info and codeowners
36+
- [Test Optimization] Fix crash with Allure.Xunit
37+
- [IAST] Fix potential crash on `ReadOnlySpan<>` `string.Concat()` methods
38+
39+
## Changes
40+
41+
### Tracer
42+
* feat(baggage): adding baggage to span tags (#7020)
43+
* Swap disposal ordering of inferred span (#7293)
44+
* Add `[MethodImpl(MethodImplOptions.NoInlining]` to all our instrumented APIs in Datadog.Trace.Manual (#7302)
45+
* Refactor `TraceSampler` to separate building from evaluation (#7311)
46+
* Avoid generating resource name that will be thrown away if it's not required (#7312)
47+
* Fix resource-based sampling for ASP.NET Core (#7316)
48+
49+
### CI Visibility
50+
* [Test Optimization] Retrieve head commit info (#7285)
51+
* [Test Optimization] Add codeowners and test source file tag at suite level (#7295)
52+
* [Test Optimization] Fix base branch SHA usage (#7300)
53+
* [Test Optimization] Avoid crashing on Allure.Xunit usage (#7305)
54+
55+
### ASM
56+
* [AAP] Update WAF to v1.27.0 (#7330)
57+
58+
### Continuous Profiler
59+
* [Profiler] Use ringbuffer with timer create (#7066)
60+
61+
### Fixes
62+
* [IAST] Remove troublesome string.Concat overloads with ReadOnlySpan<char> (#7318)
63+
64+
### Miscellaneous
65+
* Set default timeout for Trace Exporter to 15s. (#7252)
66+
* [OTEL] OTLP Metrics Exporter POC (#7138)
67+
* [Test Package Versions Bump] Updating package versions (#7279)
68+
* [Profiler] Add vcpkg setup for build (#7292)
69+
* Ensure file_opened_ is getting updated when rotating (#7296)
70+
* Bump rejit timeout to 200ms (#7301)
71+
72+
### Build / Test
73+
* Filter connection header in flaky tests (#7290)
74+
* Remove global state to try to fix flake (#7291)
75+
* Improve repeatability & precision of throughput tests on Linux & ARM (#7268)
76+
* More fixes for do-not-merge (#7274)
77+
* Update the Windows test agent to latest (#7275)
78+
* Fix potential deadlocks in `IisFixture` process code (#7281)
79+
* [Profiler] Fix and bump timeitsharp (#7294)
80+
* Fix debug symbol upload in release (#7297)
81+
* Additional test that requires HTTP FP connection header scrubbing (#7306)
82+
* Bump timeitsharp to v0.4.5 (#7308)
83+
* Avoid using GITHUB_TOKEN for pr creation (#7310)
84+
* Fix octo sts trust policy subject (#7313)
85+
* Write `DD_LOGGER_` logs to a separate un-checked location (#7323)
86+
* Add note about MergeQueue (`/merge`) to PR template (#7329)
87+
88+
89+
[Changes since 3.22.0](https://github.com/DataDog/dd-trace-dotnet/compare/v3.22.0...v3.23.0)
2790

2891
## [Release 3.22.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v3.22.0)
2992

profiler/README.MD

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,31 @@ You can develop the profiler on various environments.
2929
- .NET Framework 4.7 targeting pack
3030
- C++ for Linux Development
3131
- Windows 10 SDK (10.0.18362)
32+
- vcpkg manager
33+
34+
It is needed to setup vcpkg by following the first steps of [the documentation](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild):
35+
36+
1. Clone the vcpkg repository
37+
```cmd
38+
git clone https://github.com/microsoft/vcpkg.git
39+
```
40+
41+
2. Run the bootstrap script
42+
43+
Now that you have cloned the vcpkg repository, navigate to the vcpkg directory and execute the bootstrap script:
44+
45+
```cmd
46+
cd vcpkg; .\bootstrap-vcpkg.bat
47+
```
48+
49+
50+
3. Integrate with Visual Studio MSBuild
51+
52+
Run the following command:
53+
```cmd
54+
.\vcpkg.exe integrate install
55+
```
56+
3257

3358
#### Building in Visual Studio
3459

0 commit comments

Comments
 (0)