diff --git a/include/onnxruntime/core/common/version.h b/include/onnxruntime/core/common/version.h deleted file mode 100644 index c2274b634d..0000000000 --- a/include/onnxruntime/core/common/version.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#pragma once - -#define ONNXRUNTIME_VERSION_STRING "1.0" diff --git a/onnxruntime/core/platform/windows/telemetry.cc b/onnxruntime/core/platform/windows/telemetry.cc index 0a5a46e63d..93b10220a2 100644 --- a/onnxruntime/core/platform/windows/telemetry.cc +++ b/onnxruntime/core/platform/windows/telemetry.cc @@ -2,7 +2,7 @@ // Licensed under the MIT License. #include "core/platform/windows/telemetry.h" -#include "core/common/version.h" +#include "onnxruntime_config.h" // ETW includes // need space after Windows.h to prevent clang-format re-ordering breaking the build. @@ -105,7 +105,7 @@ void WindowsTelemetry::LogProcessInfo() const { TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES), // Telemetry info TraceLoggingUInt8(0, "schemaVersion"), - TraceLoggingString(ONNXRUNTIME_VERSION_STRING, "runtimeVersion"), + TraceLoggingString(ORT_VERSION, "runtimeVersion"), TraceLoggingBool(true, "isRedist")); process_info_logged = true;