-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.targets
More file actions
48 lines (42 loc) · 5.21 KB
/
env.targets
File metadata and controls
48 lines (42 loc) · 5.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ExtensionTasksPath Condition="'$(ExtensionTasksPath)' == ''">$(ProgramFiles)\MSBuildExtensionPack\4.0\</ExtensionTasksPath>
<VCPlatformToolset Condition="'$(VCPlatformToolset)'==''">v141</VCPlatformToolset>
<DotNetTargetFrameworkVersion Condition="'$(DotNetTargetFrameworkVersion)'==''">v4.8</DotNetTargetFrameworkVersion>
<DotNetRuntimeTarget Condition="'$(DotNetRuntimeTarget)'==''">net6.0-windows7.0</DotNetRuntimeTarget>
<GXDotnetRoot>$(MSBuildThisFileDirectory.TrimEnd('\'))</GXDotnetRoot>
<GXCRoot Condition="'$(GXCRoot)'==''">$(GXCoreRoot)\..\gxc</GXCRoot>
<GeosoftKey Condition="'$(GeosoftKey)'=='' AND '$(GeosoftTestingTag)'=='' ">Core</GeosoftKey>
<GeosoftKey Condition="'$(GeosoftKey)'=='' AND '$(GeosoftTestingTag)'!='' ">Core - $(GeosoftTestingTag)</GeosoftKey>
<GeosoftProductName Condition="'$(GeosoftProductName)'=='' AND '$(GeosoftTestingTag)'=='' ">Desktop Applications</GeosoftProductName>
<GeosoftProductName Condition="'$(GeosoftProductName)'=='' AND '$(GeosoftTestingTag)'!='' ">Desktop Applications - $(GeosoftTestingTag)</GeosoftProductName>
<GeosoftInstallFolder Condition="'$(GeosoftInstallFolder)'==''">$(ProgramW6432)\Geosoft\$(GeosoftProductName)</GeosoftInstallFolder>
<GeosoftInstallFolder32 Condition="'$(GeosoftInstallFolder)'==''">$(MSBuildProgramFiles32)\Geosoft\$(GeosoftProductName)</GeosoftInstallFolder32>
<GeosoftBinFolder Condition="'$(GeosoftBinFolder)'==''">$(GeosoftInstallFolder)\bin</GeosoftBinFolder>
<GeosoftBinFolder32 Condition="'$(GeosoftBinFolder32)'==''">$(GeosoftInstallFolder32)\bin</GeosoftBinFolder32>
<ApiRefFolder Condition="'$(ApiRefFolder)'==''">$(GeosoftBinFolder)</ApiRefFolder>
<ApiRefFolder32 Condition="'$(ApiRefFolder32)'==''">$(GeosoftBinFolder32)</ApiRefFolder32>
<DeskRefFolder Condition="'$(ApiRefFolder)'==''">$(GeosoftBinFolder)</DeskRefFolder>
<DeskRefFolder32 Condition="'$(ApiRefFolder32)'==''">$(GeosoftBinFolder32)</DeskRefFolder32>
<GXCoreBuildProperties>GXDotnetRoot=$(GXDotnetRoot);GXCRoot=$(GXCRoot);DotNetTargetFrameworkVersion=$(DotNetTargetFrameworkVersion);DotNetRuntimeTarget=$(DotNetRuntimeTarget);VCPlatformToolset=$(VCPlatformToolset);GeosoftTestingTag=$(GeosoftTestingTag);GeosoftKey=$(GeosoftKey);GeosoftProductName=$(GeosoftProductName);GeosoftInstallFolder=$(GeosoftInstallFolder);GeosoftInstallFolder32=$(GeosoftInstallFolder32);GeosoftBinFolder=$(GeosoftBinFolder);GeosoftBinFolder32=$(GeosoftBinFolder32)</GXCoreBuildProperties>
</PropertyGroup>
<UsingTask AssemblyFile="$(ExtensionTasksPath)MSBuild.ExtensionPack.dll" TaskName="MSBuild.ExtensionPack.Computer.EnvironmentVariable"/>
<UsingTask AssemblyFile="$(ExtensionTasksPath)MSBuild.ExtensionPack.dll" TaskName="MSBuild.ExtensionPack.Framework.AsyncExec"/>
<Target Name="SetGXDotnetEnvVariables">
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GX_GEOSOFT_BIN_PATH" Value="$(GeosoftBinFolder)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GXDotnetRoot" Value="$(GXDotnetRoot)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GXCRoot" Value="$(GXCRoot)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="VCPlatformToolset" Value="$(VCPlatformToolset)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftTestingTag" Value="$(GeosoftTestingTag)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftKey" Value="$(GeosoftKey)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftProductName" Value="$(GeosoftProductName)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftProductName" Value="$(GeosoftProductName)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftInstallFolder" Value="$(GeosoftInstallFolder)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftInstallFolder32" Value="$(GeosoftInstallFolder32)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftBinFolder" Value="$(GeosoftBinFolder)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="GeosoftBinFolder32" Value="$(GeosoftBinFolder32)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="ApiRefFolder" Value="$(ApiRefFolder)" />
<MSBuild.ExtensionPack.Computer.EnvironmentVariable SuppressTaskMessages="true" TaskAction="Set" Variable="ApiRefFolder32" Value="$(ApiRefFolder32)" />
</Target>
</Project>