File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Src/CSharpier.MsBuild/build Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 44 <CSharpier_FrameworkVersion Condition =" '$(CSharpier_FrameworkVersion)' == '' and $([MSBuild]::VersionGreaterThanOrEquals($(NETCoreSdkVersion), '8.0'))" >net8.0</CSharpier_FrameworkVersion >
55 <CSharpier_FrameworkVersion Condition =" '$(CSharpier_FrameworkVersion)' == ''" Label =" Fallback" >net8.0</CSharpier_FrameworkVersion >
66 <CSharpierDllPath >$(MSBuildThisFileDirectory)../tools/csharpier/$(CSharpier_FrameworkVersion)/dotnet-csharpier-config.dll</CSharpierDllPath >
7+ <CSharpier_dotnet_Path Condition =" '$(CSharpier_dotnet_Path)' == ''" >$(DOTNET_HOST_PATH)</CSharpier_dotnet_Path >
8+ <CSharpier_dotnet_Path Condition =" '$(CSharpier_dotnet_Path)' == ''" >dotnet</CSharpier_dotnet_Path >
79 <CSharpierArgs Condition =" '$(CSharpier_Check)' == 'true'" >$(CSharpierArgs) --check</CSharpierArgs >
810 <CSharpierArgs Condition =" '$(CSharpier_LogLevel)' != ''" >$(CSharpierArgs) --loglevel $(CSharpier_LogLevel)</CSharpierArgs >
911 <FirstTargetFramework Condition =" '$(TargetFrameworks)' == '' " >$(TargetFramework)</FirstTargetFramework >
2325 StdOutEncoding =" utf-8"
2426 StdErrEncoding =" utf-8"
2527 IgnoreExitCode =" true"
26- Command =" dotnet " $(CSharpierDllPath)" $(CSharpierArgs) --no-msbuild-check --compilation-errors-as-warnings " $(MSBuildProjectDirectory)" > $(NullOutput) " />
28+ Command =" " $(CSharpier_dotnet_Path) " exec " $(CSharpierDllPath)" $(CSharpierArgs) --no-msbuild-check --compilation-errors-as-warnings " $(MSBuildProjectDirectory)" > $(NullOutput) " />
2729 </Target >
2830
2931 <!-- getting this to run a single time for projects that target multiple frameworks requires all of this
You can’t perform that action at this time.
0 commit comments