1. Mike Podonyi
  2. Camino

Commits

Mike Podonyi  committed 11dd3cc

make InternalsVisible to Unit Tests only in Debug build, Unittests are not included in Release build

  • Participants
  • Parent commits 970cd04
  • Branches default

Comments (0)

Files changed (2)

File src/Empi.Camino/Properties/AssemblyInfo.cs

View file
  • Ignore whitespace
 
 [assembly: CLSCompliant(true)]
 
-[assembly: InternalsVisibleTo("Empi.Camino.Test")]
+#if DEBUG
+
+[assembly: InternalsVisibleTo("Empi.Camino.Test")]
+
+#endif

File src/Empi.sln

View file
  • Ignore whitespace
 		{BF5F1986-A4C5-4E53-8A4C-9787E9D404E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{BF5F1986-A4C5-4E53-8A4C-9787E9D404E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{BF5F1986-A4C5-4E53-8A4C-9787E9D404E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{BF5F1986-A4C5-4E53-8A4C-9787E9D404E0}.Release|Any CPU.Build.0 = Release|Any CPU
 		{62AA4B26-0B7B-481F-9ABD-EBC860ED58B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{62AA4B26-0B7B-481F-9ABD-EBC860ED58B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{62AA4B26-0B7B-481F-9ABD-EBC860ED58B9}.Release|Any CPU.ActiveCfg = Release|Any CPU