Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8052691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:36:43+00:00 2026-06-05T07:36:43+00:00

I’ve got a server 2008 continuous integration box, on which I want to use

  • 0

I’ve got a server 2008 continuous integration box, on which I want to use Gallio so as to execute my MSTests and PartCover for my Sonar dashboard.

I installed Gallio 3.3.1 x64 along with PartCover, and so on.

Gallio works via Icarus on my test assemblies (thanks to this answer)

However, through Sonar, I’ve got this puzzling log trace (see bellow). Even though my tests assemblies are qualified as test project, the error message for Gallio is

'Embedded error: Gallio execution failed.
No test assembly was found. Please check your project's Gallio plugin configuration.'

Any idea on how to track and fix this issue?

Thanks,

Note: I could not for some reasons post this question on the Gallio-user group, so I try there.

[INFO] Execute: org.codehaus.sonar:sonar-maven-plugin:2.11:sonar
[INFO] [sonar:sonar {execution: default-sonar}]
[INFO]  Database dialect class org.sonar.jpa.dialect.Derby
[INFO]  Initializing Hibernate
[INFO]  The following 'sln' file has been found and will be used: D:\toto.sln
[INFO]  The project 'toto.Test' has been qualified as a test project.
[INFO]  The project 'titi.Test' has been qualified as a test project.

[INFO]  -------------  Analyzing toto
[INFO]  Selected quality profile : [name=Sonar C# Way,language=cs]
[INFO]  Configure maven plugins...
[INFO]  Compare to previous analysis (2011-11-30)
[INFO]  Compare over 5 days (2011-11-25, analysis of 2011-11-29 10:52:11.443)
[INFO]  Compare over 30 days (2011-10-31, analysis of 2011-11-29 10:52:11.443)
[INFO]  Initializer CSharpProjectInitializer...
[INFO]  Initializer CSharpProjectInitializer done: 6 ms
[INFO]  Skipping the non generated assembly of project : toto
[INFO]  No assembly to check with Gendarme
[INFO]  Skipping the non generated assembly of project : toto
[INFO]  No assembly to check with FxCop
[INFO]  Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@1acc1c2...
[INFO]  Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@1acc1c2 done: 116 ms
[INFO]  Sensor com.sonar.plugins.csharp.squid.C@caf6e7...
[INFO]  Sensor com.sonar.plugins.csharp.squid.C@caf6e7 done: 233 ms
[INFO]  Sensor org.sonar.plugins.csharp.gallio.GallioSensor@1b4bc2a...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar

Embedded error: Gallio execution failed.
No test assembly was found. Please check your project's Gallio plugin configuration.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
    at ...

Here’s the POM, if ever needed:

<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>totoGroup</groupId>
  <artifactId>toto</artifactId>
  <name>TOTO</name>
  <version>0.0.1-SNAPSHOT</version>
   <packaging>netpack</packaging>

    <profiles> 
 <profile>
      <id>sonar-dotnet</id>
      <activation>
        <!-- Optional activation by default -->
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <!-- Location of the the .Net installations (pick the one you need) -->
        <dotnet.4.0.sdk.directory>C:/Windows/Microsoft.NET/Framework/v4.0.30319</dotnet.4.0.sdk.directory>
        <fxcop.directory>C:/Program Files (x86)/Microsoft Fxcop 10.0</fxcop.directory>
        <partcover.directory>C:\Program Files (x86)\PartCover\PartCover .NET 4.0</partcover.directory>
        <sourcemonitor.directory>C:/Program Files (x86)/SourceMonitor</sourcemonitor.directory>
        <stylecop.directory>C:\Program Files (x86)\StyleCop 4.6</stylecop.directory>

        <sonar.host.url>http://10.101.99.198:20000</sonar.host.url>

      </properties>
   </profile>

   </profiles>

  <properties>
        <sonar.dotnet.visualstudio.solution.file>toto.sln</sonar.dotnet.visualstudio.solution.file>
    <sonar.dotnet.version>4.0</sonar.dotnet.version>
    <sonar.language>cs</sonar.language>
    <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
  </properties>

  <build>
    <plugins>

      <plugin>
        <groupId>org.codehaus.sonar-plugins.dotnet</groupId>
        <artifactId>maven-dotnet-plugin</artifactId>
        <version>1.1</version>
        <extensions>true</extensions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>sonar-maven-plugin</artifactId>
        <configuration>
          <language>cs</language>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:36:44+00:00Added an answer on June 5, 2026 at 7:36 am

    Fount it (thanks for Fabrice Bellingard on the sunar_user mailing list), his own words:

    OK, you are building the project with the “Release” build
    configuration, so as you can see in Jenkins log, the compiled
    assemblies end up in the “bin/release” folder. However, you run the
    Sonar analysis with the default parameters, and so the C# Plugins look
    into “bin/Debug” folder to find assemblies.

    So you have 2 solutions: • either you compile the project with the
    “Debug” build configuration • or you specify the following property
    for the sonar analysis: “sonar.dotnet.buildConfigurations=Release”
    (see doc for that property on the Wiki)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I want use html5's new tag to play a wav file (currently only supported
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.