@@ -19,14 +19,16 @@ clean:
1919# /usr/lib/mono/xbuild/Microsoft/VisualStudio/v12.0/FSharp/Microsoft.FSharp.Targets
2020# For F# 4.0 project files this is
2121# /usr/lib/mono/xbuild/Microsoft/VisualStudio/v14.0/FSharp/Microsoft.FSharp.Targets
22+ # For F# 4.1 project files this is
23+ # /usr/lib/mono/xbuild/Microsoft/VisualStudio/v15.0/FSharp/Microsoft.FSharp.Targets
2224#
23- # Here 12.0/14.0 is 'VisualStudioVersion'. xbuild should set this to 11.0/12.0/14.0, copying MSBuild.
25+ # Here 12.0/14.0/15.0 is 'VisualStudioVersion'. xbuild should set this to 11.0/12.0/14.0/15 .0, copying MSBuild.
2426#
2527# We put the F# targets and link the SDK DLLs for all these locations
2628#
2729# We put a forwarding targets file into all three locations. We also put one in
28- # .../lib/mono/xbuild/Microsoft/VisualStudio/v12.0 /FSharp/Microsoft.FSharp.Targets
29- # since this is the correct location, and 'xbuild' may in future start setting VisualStudioVersion to this value .
30+ # .../lib/mono/xbuild/Microsoft/VisualStudio/v /FSharp/Microsoft.FSharp.Targets
31+ # since this is the location if 'xbuild' fails to set VisualStudioVersion .
3032#
3133# Add appropriate softlinks under
3234# ...Reference Assemblies/Microsoft/FSharp/.NETCore/...
@@ -137,11 +139,9 @@ install-sdk-lib:
137139 fi
138140 @if test x-$(NAME ) = x-FSharp.Compiler; then \
139141 echo " Installing extra dependency System.Collections.Immutable.dll to $( DESTDIR) $( gacdir) /fsharp/" ; \
140- $(INSTALL_LIB ) $(outdir ) System.Collections.Immutable.dll Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /fsharp/; \
141- echo " Installing extra dependency System.Runtime.Metadata.dll to $( DESTDIR) $( gacdir) /fsharp/" ; \
142- $(INSTALL_LIB ) $(outdir ) System.Runtime.Metadata.dll Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /fsharp/; \
143- echo " Installing extra dependency System.ValueTuple.dll to $( DESTDIR) $( gacdir) /fsharp/" ; \
144- $(INSTALL_LIB ) $(outdir ) System.ValueTuple.dll Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /fsharp/; \
142+ $(INSTALL_LIB ) $(outdir ) System.Collections.Immutable.dll $(DESTDIR )$(gacdir ) /fsharp/; \
143+ echo " Installing extra dependency System.Reflection.Metadata.dll to $( DESTDIR) $( gacdir) /fsharp/" ; \
144+ $(INSTALL_LIB ) $(outdir ) System.Reflection.Metadata.dll $(DESTDIR )$(gacdir ) /fsharp/; \
145145 fi
146146 @if test x-$(NAME ) = x-FSharp.Build; then \
147147 echo " Installing Microsoft.FSharp.Targets and Microsoft.Portable.FSharp.Targets into install locations matching Visual Studio" ; \
@@ -150,6 +150,7 @@ install-sdk-lib:
150150 echo " --> $( DESTDIR) $( gacdir) /Microsoft\ SDKs/F#/3.0/Framework/v4.0/" ; \
151151 echo " --> $( DESTDIR) $( gacdir) /Microsoft\ SDKs/F#/3.1/Framework/v4.0/" ; \
152152 echo " --> $( DESTDIR) $( gacdir) /Microsoft\ SDKs/F#/4.0/Framework/v4.0/" ; \
153+ echo " --> $( DESTDIR) $( gacdir) /Microsoft\ SDKs/F#/4.1/Framework/v4.0/" ; \
153154 echo " --> $( DESTDIR) $( gacdir) /xbuild/Microsoft/VisualStudio/v/FSharp/" ; \
154155 echo " --> $( DESTDIR) $( gacdir) /xbuild/Microsoft/VisualStudio/v11.0/FSharp/" ; \
155156 echo " --> $( DESTDIR) $( gacdir) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/" ; \
@@ -161,6 +162,7 @@ install-sdk-lib:
161162 mkdir -p $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v4.0/; \
162163 mkdir -p $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v4.0/; \
163164 mkdir -p $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.0/Framework/v4.0/; \
165+ mkdir -p $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.1/Framework/v4.0/; \
164166 mkdir -p $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v/FSharp/; \
165167 mkdir -p $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v11.0/FSharp/; \
166168 mkdir -p $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \
@@ -177,6 +179,7 @@ install-sdk-lib:
177179 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v4.0/; \
178180 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v4.0/; \
179181 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.0/Framework/v4.0/; \
182+ $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.1/Framework/v4.0/; \
180183 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v/FSharp/; \
181184 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v11.0/FSharp/; \
182185 $(INSTALL_LIB ) $(tmpdir ) Microsoft.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \
@@ -190,6 +193,7 @@ install-sdk-lib:
190193 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.0/Framework/v4.0/; \
191194 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/3.1/Framework/v4.0/; \
192195 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.0/Framework/v4.0/; \
196+ $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /Microsoft\ SDKs/F#/4.1/Framework/v4.0/; \
193197 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v/FSharp/; \
194198 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v11.0/FSharp/; \
195199 $(INSTALL_LIB ) $(tmpdir ) Microsoft.Portable.FSharp.Targets $(DESTDIR )$(gacdir ) /xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \
0 commit comments