From 428e1bafb08abcd5a9e35bda4e80267de872fb0a Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Tue, 7 May 2024 23:13:07 +0200 Subject: [PATCH] Call GetFullPath for shorter search path --- .../Framework/CreateOpenRiaClientFilesTask.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenRiaServices.Tools/Framework/CreateOpenRiaClientFilesTask.cs b/src/OpenRiaServices.Tools/Framework/CreateOpenRiaClientFilesTask.cs index 390e167d..cac92d12 100644 --- a/src/OpenRiaServices.Tools/Framework/CreateOpenRiaClientFilesTask.cs +++ b/src/OpenRiaServices.Tools/Framework/CreateOpenRiaClientFilesTask.cs @@ -769,8 +769,8 @@ internal void GenerateClientProxies() private bool GenerateClientProxiesOutOfProcess(string generatedFileName, ClientCodeGenerationOptions options, SharedCodeServiceParameters sharedCodeServiceParameters) { // Call the console app from here if Net 6.0 or greater - string path = Path.Combine(Path.GetDirectoryName(typeof(CreateOpenRiaClientFilesTask).Assembly.Location), - "../net6.0/OpenRiaServices.Tools.CodeGenTask.dll"); + string path = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(typeof(CreateOpenRiaClientFilesTask).Assembly.Location), + "../net6.0/OpenRiaServices.Tools.CodeGenTask.dll")); if (!File.Exists(path)) throw new FileNotFoundException(path);