diff --git a/.SonarQube.Analysis.xml b/.SonarQube.Analysis.xml
new file mode 100644
index 000000000..922f693d6
--- /dev/null
+++ b/.SonarQube.Analysis.xml
@@ -0,0 +1,9 @@
+
+
+
+ **/*Exception.cs,
+ src/samples/**/*
+
+
\ No newline at end of file
diff --git a/test/component/Elsa.ComponentTests/Elsa.ComponentTests.csproj b/test/component/Elsa.ComponentTests/Elsa.ComponentTests.csproj
index 88a6f4ef3..10119e4be 100644
--- a/test/component/Elsa.ComponentTests/Elsa.ComponentTests.csproj
+++ b/test/component/Elsa.ComponentTests/Elsa.ComponentTests.csproj
@@ -11,6 +11,7 @@
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/test/integration/Elsa.Core.IntegrationTests/Elsa.Core.IntegrationTests.csproj b/test/integration/Elsa.Core.IntegrationTests/Elsa.Core.IntegrationTests.csproj
index c9a1d3c0a..b1e1a6aa2 100644
--- a/test/integration/Elsa.Core.IntegrationTests/Elsa.Core.IntegrationTests.csproj
+++ b/test/integration/Elsa.Core.IntegrationTests/Elsa.Core.IntegrationTests.csproj
@@ -14,6 +14,7 @@
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/unit/Elsa.UnitTests/Elsa.UnitTests.csproj b/test/unit/Elsa.UnitTests/Elsa.UnitTests.csproj
index 68d5d38b9..ff0b75766 100644
--- a/test/unit/Elsa.UnitTests/Elsa.UnitTests.csproj
+++ b/test/unit/Elsa.UnitTests/Elsa.UnitTests.csproj
@@ -13,6 +13,7 @@
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all