I have what should be a simple project, using msbuild for VS2019 to build a particular configuration of my solution. When I run in Visual Studio it works. When I run via msbuild from the command line it works. When I try to build the project using MSbuild in Jenkins it fails. When I try to run msbuild via a command prompt through Jenkins it fails. It gives me the " error : Exception has been thrown by the target of an invocation." every time.
The developers don't have any idea how to fix it because it never fails from Visual Studio, only when the job is sent from Jenkins. FYI, I can rebuild this entire solution for my windows release through Jenkins with no issues. It only fails when trying to compile our VisualGDB platform for my linux configurations. And again, only fails when the compile is started by Jenkins. I'm stumped. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7b686d72-5349-4c44-95fd-775c4080b00fn%40googlegroups.com.