Skip to content

Commit feabeab

Browse files
have a nice MSBuild day also
1 parent da1ae55 commit feabeab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

fsc.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project>
2+
<Project DefaultTargets="$(DefaultTargets);specific-fsc-version-msbuildprops-invariants">
3+
<Target Name="specific-fsc-version-msbuildprops-invariants">
34
<!-- Type providers currently can't run inside the .NET Core 2.0 hosted compiler, see https://github.com/Microsoft/visualfsharp/pull/3658#issuecomment-334773415 -->
45
<PropertyGroup>
56
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
@@ -59,10 +60,9 @@
5960
<FscToolPath>/usr/bin</FscToolPath>
6061
<FscToolExe>fsharpc</FscToolExe>
6162
</PropertyGroup>
62-
<PropertyGroup Condition="'$(FscToolPath)' == ''">
63-
<Error Text="FscToolPath MSBuild property could'nt be set" />
64-
</PropertyGroup>
65-
<PropertyGroup Condition="'$(FscToolExe)' == ''">
66-
<Error Text="FscToolExe MSBuild property could'nt be set" />
67-
</PropertyGroup>
63+
<!-- it doesn't do what I want.
64+
<Error Condition="'$(FscToolPath)' == ''" Text="FscToolPath MSBuild property could'nt be set" />
65+
<Error Condition="'$(FscToolPath)' == ''" Text="FscToolExe MSBuild property could'nt be set" />
66+
-->
67+
</Target>
6868
</Project>

0 commit comments

Comments
 (0)