From 57c0c1377023c1c2bad1d0f02a3ee63243112a43 Mon Sep 17 00:00:00 2001
From: "VKMTHD\\haraldmartini" <harald.martini@student.tugraz.at>
Date: Mon, 13 Mar 2023 09:45:32 +0100
Subject: [PATCH] removed windows dependency from VectoCoreTest project

---
 VectoCore/VectoCoreTest/VectoCoreTest.csproj | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/VectoCore/VectoCoreTest/VectoCoreTest.csproj b/VectoCore/VectoCoreTest/VectoCoreTest.csproj
index fe69433882..2bf6e220a7 100644
--- a/VectoCore/VectoCoreTest/VectoCoreTest.csproj
+++ b/VectoCore/VectoCoreTest/VectoCoreTest.csproj
@@ -5,7 +5,7 @@
     <TargetFrameworks>net6.0</TargetFrameworks>
     <DefineConstants />
 	<!--uncomment to add windows forms an enable plotting of diagrams in some testcases-->
-	<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
+	<!--<DefineConstants>$(DefineConstants);TRACE</DefineConstants>-->
 	<!--<UseWindowsForms>true</UseWindowsForms>-->
     <Configurations>Debug;Release;MockupDebug</Configurations>
   </PropertyGroup>
@@ -13,7 +13,7 @@
     <DebugType>full</DebugType>
   </PropertyGroup>
 	<!--uncomment to add windows forms an enable plotting of diagrams in some testcases-->
-	<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch(&#xD;&#xA;         $(DefineConstants), '^(.*;)*TRACE(;.*)*$'))">
+	<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch(&#xD;&#xA; $(DefineConstants), '^(.*;)*TRACE(;.*)*$'))">
 		<TargetFrameworks>net6.0-windows</TargetFrameworks>
 		<UseWindowsForms>true</UseWindowsForms>
 	</PropertyGroup>
@@ -21,7 +21,7 @@
 		<DefineConstants>$(DefineConstants);MOCKUP</DefineConstants>
 	</PropertyGroup>
   <ItemGroup>
-    <PackageReference Include="HIC.System.Windows.Forms.DataVisualization" Version="1.0.1" />
+    <PackageReference Include="HIC.System.Windows.Forms.DataVisualization" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch(&#xD;&#xA; $(DefineConstants), '^(.*;)*TRACE(;.*)*$'))" Version="1.0.1" />
     <PackageReference Include="Moq" Version="4.18.2" />
     <PackageReference Include="NUnit" Version="3.13.2" />
     <PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
-- 
GitLab