java.io.IOException: Cannot run program "C:\WINDOWS\Micros oft.NET\Framework\v4.0.30319\MSBuild.exe": CreateProcess error=2, The > system cannot find the file specified at > org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) > at > org.sonar.dotnet.tools.stylecop.StyleCopRunner.execute(StyleCopRunner.java:143) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.launchStyleCop(StyleCopSensor.java:122) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.analyse(StyleCopSensor.java:106) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)*** > * > > at org.sonar.batch.phases.Phases.execute(Phases.java:93) at > org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)*** > * > > at org.sonar.batch.bootstrap.Module.start(Module.java:83) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) at > org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.io.IOException: Cannot run program "C:\WINDOWS\Micros oft.NET\Framework\v4.0.30319\MSBuild.exe": CreateProcess error=2, The > system cannot find the file specified at > org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) > at > org.sonar.dotnet.tools.stylecop.StyleCopRunner.execute(StyleCopRunner.java:143) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.launchStyleCop(StyleCopSensor.java:122) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.analyse(StyleCopSensor.java:106) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)*** > * > > at org.sonar.batch.phases.Phases.execute(Phases.java:93) at > org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)*** > * > > at org.sonar.batch.bootstrap.Module.start(Module.java:83) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) at > org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101) at org.sonar.batch.bootstrap.Module.start(Module.java:83)
    No Bugmate found.