File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 19
19
<NoWarn >$(NoWarn);NU5105</NoWarn >
20
20
</PropertyGroup >
21
21
22
+ <PropertyGroup >
23
+ <DotNetPath >$(DOTNET_HOST_PATH)</DotNetPath >
24
+ <DotNetPath Condition =" '$(DotNetPath)' == '' " >dotnet</DotNetPath >
25
+ </PropertyGroup >
26
+
22
27
<Target Name =" _MinVerClean" BeforeTargets =" Clean" DependsOnTargets =" MinVer" Condition =" '$(GeneratePackageOnBuild)' == 'true'" />
23
28
24
29
<Target Name =" MinVer" BeforeTargets =" BeforeCompile;GetAssemblyVersion;CoreCompile" Condition =" '$(DesignTimeBuild)' != 'true' AND '$(MinVerSkip)' != 'true'" >
51
56
</ItemGroup >
52
57
<CacheGet Key =" @(MinVerInputs->'%(Identity)', ' ')" ><Output TaskParameter =" Value" PropertyName =" MinVerVersion" /></CacheGet >
53
58
<Message Condition =" '$(MinVerVersion)' != ''" Importance =" $(MinVerDetailed)" Text =" MinVer: Using cached MinVerVersion $(MinVerVersion)" />
54
- <Exec Condition =" '$(MinVerVersion)' == ''" Command =" dotnet " $(MSBuildThisFileDirectory)bin/$(MinVerTargetFramework)/MinVer.dll" " $(MSBuildProjectDirectory)" @(MinVerInputs->'%(Identity)', ' ')" ConsoleToMSBuild =" true" StandardOutputImportance =" Low" >
59
+ <Exec Condition =" '$(MinVerVersion)' == ''" Command =" " $(DotNetPath) " " $(MSBuildThisFileDirectory)bin/$(MinVerTargetFramework)/MinVer.dll" " $(MSBuildProjectDirectory)" @(MinVerInputs->'%(Identity)', ' ')" ConsoleToMSBuild =" true" StandardOutputImportance =" Low" >
55
60
<Output TaskParameter =" ConsoleOutput" ItemName =" MinVerConsoleOutput" />
56
61
</Exec >
57
62
<ItemGroup Condition =" '$(MinVerVersion)' == ''" >
You can’t perform that action at this time.
0 commit comments