We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e6e1c commit 43b79fcCopy full SHA for 43b79fc
GenerateCode.ps1
@@ -0,0 +1,13 @@
1
+# first check if T4 engine is installed
2
+if ( -not ( Get-Command t4 -errorAction SilentlyContinue))
3
+{
4
+ Write-Host "T4 tool was not found - will be installed."
5
+ dotnet tool install -g dotnet-t4
6
+ Write-Host "T4 has been installed."
7
+}
8
+else
9
10
+ Write-Host "T4 tool is already installed."
11
12
+
13
+Write-Host ("location of T4 tool is : " + (Get-Command t4).Path)
0 commit comments