diff --git a/eng/Versions.props b/eng/Versions.props
index 681c9f7c6811..0a0a869e8d0a 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -28,7 +28,7 @@
- 0.11.3
+ 0.11.4
true
diff --git a/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj b/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
index 9c9922b77145..df5ddac57b6f 100644
--- a/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
+++ b/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
@@ -8,6 +8,14 @@
$(DefineConstants);DEBUG
+
+
+
+ <_Parameter1>CecilPackageVersion
+ <_Parameter2>$(MonoCecilVersion)
+
+
+
diff --git a/test/Mono.Linker.Tests/Tests/CecilVersionCheck.cs b/test/Mono.Linker.Tests/Tests/CecilVersionCheck.cs
new file mode 100644
index 000000000000..78fbbbb81b26
--- /dev/null
+++ b/test/Mono.Linker.Tests/Tests/CecilVersionCheck.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Linq;
+using System.Reflection;
+using NUnit.Framework;
+
+namespace Mono.Linker.Tests
+{
+ [TestFixture]
+ public class CecilVersionCheck
+ {
+ [TestCase]
+ public void CecilPackageVersionMatchesAssemblyVersion ()
+ {
+ var thisAssembly = Assembly.GetExecutingAssembly ();
+ var cecilPackageVersion = thisAssembly
+ .GetCustomAttributes ()
+ .Where (ca => ca.Key == "CecilPackageVersion")
+ .Single ().Value;
+ // Assume that the test assembly builds against the same cecil as the linker.
+ var cecilAssemblyVersion = thisAssembly
+ .GetReferencedAssemblies ()
+ .Where (an => an.Name == "Mono.Cecil")
+ .Single ().Version;
+ Assert.AreEqual (cecilPackageVersion, cecilAssemblyVersion.ToString (3));
+ }
+ }
+}
\ No newline at end of file