Skip to content

Commit 1cd398c

Browse files
authored
Merge pull request #572 from ncave/fsproj
Added FSharpTargetsPath condition
2 parents 6d379d2 + cf21d49 commit 1cd398c

File tree

28 files changed

+28
-28
lines changed

28 files changed

+28
-28
lines changed

src/fsharp/FSharp.Compiler.Service.ProjectCracker/FSharp.Compiler.Service.ProjectCracker.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</PropertyGroup>
7575
</Otherwise>
7676
</Choose>
77-
<Import Project="$(FSharpTargetsPath)" />
77+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
7878
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7979
Other similar extension points exist, see Microsoft.Common.targets.
8080
<Target Name="BeforeBuild">

src/fsharp/FSharp.Compiler.Service.ProjectCrackerTool/FSharp.Compiler.Service.ProjectCrackerTool.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</PropertyGroup>
5555
</Otherwise>
5656
</Choose>
57-
<Import Project="$(FSharpTargetsPath)" />
57+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
5858
<ItemGroup>
5959
<Compile Include="ProjectCrackerOptions.fs" />
6060
<Compile Include="ProjectCrackerTool.fs" />

tests/projects/Sample_VS2013_FSharp_ConsoleApp_net40/Sample_VS2013_FSharp_ConsoleApp_net40.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</PropertyGroup>
6666
</Otherwise>
6767
</Choose>
68-
<Import Project="$(FSharpTargetsPath)" />
68+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6969
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7070
Other similar extension points exist, see Microsoft.Common.targets.
7171
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_ConsoleApp_net45/Sample_VS2013_FSharp_ConsoleApp_net45.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</PropertyGroup>
6666
</Otherwise>
6767
</Choose>
68-
<Import Project="$(FSharpTargetsPath)" />
68+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6969
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7070
Other similar extension points exist, see Microsoft.Common.targets.
7171
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_ConsoleApp_net451/Sample_VS2013_FSharp_ConsoleApp_net451.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</PropertyGroup>
6666
</Otherwise>
6767
</Choose>
68-
<Import Project="$(FSharpTargetsPath)" />
68+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6969
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7070
Other similar extension points exist, see Microsoft.Common.targets.
7171
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_Library_net40/Sample_VS2013_FSharp_Library_net40.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</PropertyGroup>
6161
</Otherwise>
6262
</Choose>
63-
<Import Project="$(FSharpTargetsPath)" />
63+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6464
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6565
Other similar extension points exist, see Microsoft.Common.targets.
6666
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_Library_net45/Sample_VS2013_FSharp_Library_net45.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</PropertyGroup>
6161
</Otherwise>
6262
</Choose>
63-
<Import Project="$(FSharpTargetsPath)" />
63+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6464
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6565
Other similar extension points exist, see Microsoft.Common.targets.
6666
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_Library_net451/Sample_VS2013_FSharp_Library_net451.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</PropertyGroup>
6161
</Otherwise>
6262
</Choose>
63-
<Import Project="$(FSharpTargetsPath)" />
63+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6464
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6565
Other similar extension points exist, see Microsoft.Common.targets.
6666
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_Portable_Library_Legacy_net40/Sample_VS2013_FSharp_Portable_Library_Legacy_net40.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</PropertyGroup>
6060
</Otherwise>
6161
</Choose>
62-
<Import Project="$(FSharpTargetsPath)" />
62+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6363
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6464
Other similar extension points exist, see Microsoft.Common.targets.
6565
<Target Name="BeforeBuild">

tests/projects/Sample_VS2013_FSharp_Portable_Library_Legacy_net45/Sample_VS2013_FSharp_Portable_Library_Legacy_net45.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</PropertyGroup>
6060
</Otherwise>
6161
</Choose>
62-
<Import Project="$(FSharpTargetsPath)" />
62+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
6363
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6464
Other similar extension points exist, see Microsoft.Common.targets.
6565
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)