[.NET] แก้ปัญหา Build แล้ว Error The build is configured to run SonarQube analysis

หลังจากปรับ Framework ของบริษัทให้เป็น .NET Standard เรียบร้อยแล้ว เมื่อทดสอบ Build ผ่านตัว Jenkins เกิด Error ดังนี้ The build is configured to run SonarQube analysis but the SonarQube analysis targets could not be located ภาพรวมของ SonarQube Analysis นะครับ ต้องเข้าใจก่อนนะครับ ว่าการวิเคราะห์ Code ของ SonarQube จริงๆ แล้ว มันแอบไปใช้งานตัว MSBuild.exe ครับ โดยมี 3 ขั้นตอนลำดับ ดังนี้ 📌SonarScanner.MSBuild.exe begin 📌MSBuild.exe analysis 📌SonarScanner.MSBuild.exe end อะไรที่ทำให้เกิดปัญหานี้หละ การแก้ไข ในที่สุดสามารถ Build ได้ครับ สบายใจแล้ว Step ถัดไป มาไล่ Revise Flow ของ Automate Test ครับ Reference