Skip to content

Commit

Permalink
Fixed Condition Error (#788)
Browse files Browse the repository at this point in the history
* Fixed Condition Error

```
error  : Specified condition "$(CSharpier_Check)" evaluates to "" instead of a boolean.  C:\Users\<username>\.nuget\packages\csharpier.msbuild\0.21.0\build\CSharpier.MsBuild.targets
```

* Fixed missing `=`

Co-authored-by: Lasath Fernando <devel@lasath.org>
  • Loading branch information
samtrion and shocklateboy92 authored Jan 13, 2023
1 parent a746604 commit d66ce8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<CSharpier_FrameworkVersion Condition="'$(CSharpier_FrameworkVersion)' == ''">$(TargetFramework)</CSharpier_FrameworkVersion>
<CSharpierDllPath>$(MSBuildThisFileDirectory)../tools/csharpier/$(CSharpier_FrameworkVersion)/dotnet-csharpier.dll</CSharpierDllPath>
<CSharpierArgs Condition="$(CSharpier_Check)">$(CSharpierArgs) --check</CSharpierArgs>
<CSharpierArgs Condition="'$(CSharpier_Check)' == 'true'">$(CSharpierArgs) --check</CSharpierArgs>
</PropertyGroup>

<!-- Target invokes the copy of csharpier from this package on the current project -->
Expand Down

0 comments on commit d66ce8f

Please sign in to comment.