File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
+ <LoadLocalFSharpBuild Condition =" '$(LoadLocalFSharpBuild)' == ''" >False</LoadLocalFSharpBuild >
4
+
3
5
<LocalFSharpCompilerConfiguration Condition =" '$(LocalFSharpCompilerConfiguration)' == ''" >Release</LocalFSharpCompilerConfiguration >
4
6
5
7
<LocalFSharpCompilerPath Condition =" '$(LocalFSharpCompilerPath)' == '' " >$(MSBuildThisFileDirectory)</LocalFSharpCompilerPath >
12
14
13
15
<FSharpPreferNetFrameworkTools >False</FSharpPreferNetFrameworkTools >
14
16
<FSharpPrefer64BitTools >True</FSharpPrefer64BitTools >
17
+ </PropertyGroup >
15
18
19
+ <PropertyGroup Condition =" '$(LoadLocalFSharpBuild)' == 'True'" >
16
20
<LocalFSharpBuildBinPath >$(LocalFSharpCompilerPath)/artifacts/bin/fsc/$(LocalFSharpCompilerConfiguration)/net9.0</LocalFSharpBuildBinPath >
17
21
<FSharpBuildAssemblyFile >$(LocalFSharpBuildBinPath)/FSharp.Build.dll</FSharpBuildAssemblyFile >
18
22
<FSharpTargetsPath >$(LocalFSharpBuildBinPath)/Microsoft.FSharp.Targets</FSharpTargetsPath >
21
25
<FSharpOverridesTargetsShim >$(LocalFSharpBuildBinPath)/Microsoft.FSharp.Overrides.NetSdk.targets</FSharpOverridesTargetsShim >
22
26
</PropertyGroup >
23
27
24
- <UsingTask TaskName =" FSharpEmbedResourceText" AssemblyFile =" $(FSharpBuildAssemblyFile)" Override =" true" />
25
- <UsingTask TaskName =" FSharpEmbedResXSource" AssemblyFile =" $(FSharpBuildAssemblyFile)" Override =" true" />
28
+ <UsingTask Condition = " '$(LoadLocalFSharpBuild)' == 'True' " TaskName =" FSharpEmbedResourceText" AssemblyFile =" $(FSharpBuildAssemblyFile)" Override =" true" />
29
+ <UsingTask Condition = " '$(LoadLocalFSharpBuild)' == 'True' " TaskName =" FSharpEmbedResXSource" AssemblyFile =" $(FSharpBuildAssemblyFile)" Override =" true" />
26
30
27
31
<ItemGroup >
28
32
<Reference Include =" $(LocalFSharpCompilerPath)/artifacts/bin/FSharp.Core/$(LocalFSharpCompilerConfiguration)/netstandard2.0/FSharp.Core.dll" />
You can’t perform that action at this time.
0 commit comments