Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit123a37f

Browse files
authored
Netstandard2 -- minor target changes for dotnet.exe (#3023)
* Remove comment ifdefs* Add Microsoft.NET.Sdk.FSharp.props* Make TargetFrameworks work* restore {BuildSuffix}* rename sdk targets and props, refactor project logic into our repo* wrong name* Add automagic FSharp.Core reference for coreclr* Set <DefaultProjectTypeGuid to F# project system guid* Fix setup* Resolve magic* resolve magic* Minor target rework due to crosstargetting changes. Always copy fsharp.core for desktop builds
1 parent98e6821 commit123a37f

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

‎src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.targets‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
1717
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
1818
</PropertyGroup>
1919

20-
<PropertyGroupCondition=" '$(IsCrossTargetingBuild)' == 'true'">
20+
<PropertyGroup>
2121
<AlwaysUseNumericalSuffixInItemNames>true</AlwaysUseNumericalSuffixInItemNames>
2222
<DefineCommonItemSchemasCondition=" '$(DefineCommonItemSchemas)' == ''">true</DefineCommonItemSchemas>
2323
<DefineCommonReferenceSchemasCondition=" '$(DefineCommonReferenceSchemas)' == ''">true</DefineCommonReferenceSchemas>
@@ -30,14 +30,6 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
3030
<_DebugSymbolsIntermediatePathInclude="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')"/>
3131
</ItemGroup>
3232

33-
34-
<!-- Import design time targets for Roslyn Project System. These are only available if Visual Studio is installed.-->
35-
<!-- Import design time targets before the common targets, which import targets from Nuget.-->
36-
<PropertyGroup>
37-
<FSharpDesignTimeTargetsPathCondition="'$(FSharpDesignTimeTargetsPath)'==''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.FSharp.DesignTime.targets</FSharpDesignTimeTargetsPath>
38-
</PropertyGroup>
39-
<ImportCondition=" Exists('$(FSharpDesignTimeTargetsPath)')"Project="$(FSharpDesignTimeTargetsPath)" />
40-
4133
<!-- Locate and add mscorlib, unless NoStdLib is set-->
4234
<ItemGroup>
4335
<_ExplicitReferenceInclude="$(FrameworkPathOverride)\mscorlib.dll"Condition=" '$(NoStdLib)' != 'true'" />
@@ -98,6 +90,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
9890
<!--- Add it for Desktop Apps-->
9991
<ItemGroupCondition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(IsFSharpCoreReferenced)' != 'true' and '$(TargetFSharpCoreVersion)' != ''">
10092
<ReferencePathInclude="$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll" />
93+
<ReferenceCopyLocalPathsInclude="$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll" />
10194
</ItemGroup>
10295

10396
</Target>

‎src/fsharp/FSharp.Build/Microsoft.FSharp.targets‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -273,19 +273,7 @@ this file.
273273

274274
</Target>
275275

276-
<Choose>
277-
<WhenCondition=" '$(IsCrossTargetingBuild)' == 'true'">
278-
<PropertyGroup>
279-
<FSharpCommonTargets>$(MSBuildBinPath)\Microsoft.Common.CurrentVersion.targets</FSharpCommonTargets>
280-
</PropertyGroup>
281-
</When>
282-
<Otherwise>
283-
<PropertyGroup>
284-
<FSharpCommonTargets>$(MSBuildBinPath)\Microsoft.Common.targets</FSharpCommonTargets>
285-
</PropertyGroup>
286-
</Otherwise>
287-
</Choose>
288-
<ImportProject="$(FSharpCommonTargets)" />
276+
<ImportProject="$(MSBuildBinPath)\Microsoft.Common.targets" />
289277

290278
<!--
291279
============================================================

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp