17 lines
1.1 KiB
XML
17 lines
1.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!--The folder where the custom task will be present. It points to inside the NuGet package. -->
|
|
<CustomTasksFolderCore>$(MSBuildThisFileDirectory)..\tasks\netstandard2.0</CustomTasksFolderCore>
|
|
<CustomTasksFolderFull>$(MSBuildThisFileDirectory)..\tasks\net472</CustomTasksFolderFull>
|
|
<!--Reference to the assembly which contains the MSBuild Task-->
|
|
<CustomTasksAssemblyCore>$(CustomTasksFolderCore)\$(MSBuildThisFileName).dll</CustomTasksAssemblyCore>
|
|
<CustomTasksAssemblyFull>$(CustomTasksFolderFull)\$(MSBuildThisFileName).dll</CustomTasksAssemblyFull>
|
|
</PropertyGroup>
|
|
|
|
<UsingTask TaskName="$(MSBuildThisFileName).GenerateRunConfig" AssemblyFile="$(CustomTasksAssemblyCore)" Condition=" '$(MSBuildRuntimeType)' == 'Core' " />
|
|
<UsingTask TaskName="$(MSBuildThisFileName).GenerateRunConfig" AssemblyFile="$(CustomTasksAssemblyFull)" Condition=" '$(MSBuildRuntimeType)' != 'Core' " />
|
|
|
|
<PropertyGroup>
|
|
<RunConfigPath Condition="'$(RunConfigPath)' == ''">$(ProjectDir)Properties\launchSettings.json</RunConfigPath>
|
|
</PropertyGroup>
|
|
</Project> |