Click here to Skip to main content
14,828,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working on Winforms projects. I am facing a build issue (in release mode) on Jenkins server which is running on a remote machine.
Below is the error on Jenkins log:

"D:\Nightly\DataStore.NET\Client\mainline\DataStoreClient.sln" (Rebuild target) (1) -> "D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\Outlook2010AddIn.csproj" (Rebuild target) (58) -> C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5258,5): error MSB3073: The command ""..\..\..\..\..\..\..\Utilities\DeployDataLogicsPdfLibrary\bin\DeployDataLogicsPdfLibrary.exe  "D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\..\..\..\..\..\..\..\ThirdPartyControls\DataLogics\APDFL15.0.4\DLE" D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\bin\ [D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\Outlook2010AddIn.csproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5258,5): error MSB3073: rmdir /s /q "D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\bin\Aspose.Cells.dll" [D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\Outlook2010AddIn.csproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5258,5): error MSB3073: D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\..\..\..\..\Utilities\VstoManifestGenerator\VstoManifestGenerator.exe D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\bin\Hitec.DataStore.Office.AddIn.Outlook.dll Release" exited with code 255. [D:\Nightly\DataStore.NET\Client\mainline\Applications\AddIns\Office\Outlook2010AddIn\Outlook2010AddIn.csproj]


Below is my pst build event command:
..\..\..\..\..\..\..\Utilities\DeployDataLogicsPdfLibrary\bin\DeployDataLogicsPdfLibrary.exe "$(ProjectDir)..\..\..\..\..\..\..\ThirdPartyControls\DataLogics\APDFL15.0.4\DLE" $(TargetDir)
$(ProjectDir)..\..\..\..\Utilities\VstoManifestGenerator\VstoManifestGenerator.exe $(TargetPath) $(ConfigurationName)


What I have tried:

I don't have this issue on the local dev machine. So, I assume, I am missing something on the build machine or something I am missing on post build event command, but cannot figure out what.

Anyone know why this happened?

Thank You
Posted
Updated 10-Sep-20 1:48am
v2

1 solution

Getting error MSB3073[^]. Looking at the error messages your path backslash characters are getting removed from the paths.
   
Comments
Member 13187373 10-Sep-20 7:49am
   
@Richard MacCutchan,
Sorry for that.
I have improved the error message now.
Please have a look once.
Richard MacCutchan 10-Sep-20 8:02am
   
Well the error is still the same, the paths are not valid for the build process. And to be honest, you really should use absolute paths when they are that deep.
Member 13187373 11-Sep-20 9:58am
   
@Richard MacCutchan,
I have checked the path and found that it is correct.
Is there any other factor which causing this error ?
Richard MacCutchan 11-Sep-20 11:16am
   
The paths cannot be correct, or the build would not have this problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900