Skip to content

Commit

Permalink
reintroduce this problem so we can test for it.
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed Dec 7, 2024
1 parent d3caf37 commit bb50680
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
<FirstTargetFramework Condition=" '$(TargetFrameworks)' == '' ">$(TargetFramework)</FirstTargetFramework>
<FirstTargetFramework Condition=" '$(FirstTargetFrameworks)' == '' ">$(TargetFrameworks.Split(';')[0])</FirstTargetFramework>
<NullOutput>NUL</NullOutput>
<IgnoreExitCode>true</IgnoreExitCode>
</PropertyGroup>

<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
<NullOutput>/dev/null</NullOutput>
<IgnoreExitCode>false</IgnoreExitCode>
</PropertyGroup>

<!-- https://github.com/belav/csharpier/issues/1131 -->
Expand All @@ -31,7 +29,7 @@
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true"
CustomErrorRegularExpression="^Error "
Command="&quot;$(CSharpier_dotnet_Path)&quot; exec &quot;$(CSharpierDllPath)&quot; $(CSharpierArgs) --no-msbuild-check --compilation-errors-as-warnings &quot;$(MSBuildProjectDirectory)&quot; &gt; $(NullOutput) " />
Command="&quot;$(CSharpier_dotnet_Path)&quot; exec &quot;$(CSharpierDllPath)&quot; $(CSharpierArgs) --no-msbuild-check &quot;$(MSBuildProjectDirectory)&quot; &gt; $(NullOutput) " />
</Target>

<!-- getting this to run a single time for projects that target multiple frameworks requires all of this
Expand Down

0 comments on commit bb50680

Please sign in to comment.