diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/WindowsDistributionBuilder.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/WindowsDistributionBuilder.kt index ecb72f23c5aa..0d13e2c155c8 100644 --- a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/WindowsDistributionBuilder.kt +++ b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/WindowsDistributionBuilder.kt @@ -1,4 +1,4 @@ -// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.intellij.build.impl import com.intellij.openapi.util.SystemInfoRt @@ -135,14 +135,6 @@ internal class WindowsDistributionBuilder( copyFilesForOsDistribution(osAndArchSpecificDistPath, arch) val runtimeDir = context.bundledRuntime.extract(OsFamily.WINDOWS, arch, WindowsLibcImpl.DEFAULT) - val vcRtDll = runtimeDir.resolve("jbr/bin/msvcp140.dll") - check(Files.exists(vcRtDll)) { - "VS C++ Runtime DLL (${vcRtDll.fileName}) not found in ${vcRtDll.parent}.\n" + - "If JBR uses a newer version, please correct the path in this code and update Windows Launcher build configuration.\n" + - "If DLL was relocated to another place, please correct the path in this code." - } - copyFileToDir(vcRtDll, osAndArchSpecificDistPath.resolve("bin")) - val (zipWithJbrPath, exePath) = context.executeStep(spanBuilder("build Windows artifacts"), stepId = BuildOptions.WINDOWS_ARTIFACTS_STEP) { var zipWithJbrPath: Path? = null var exePath: Path? = null