[Pkg-cli-apps-commits] [fsharp] 65/71: remove targets files which are not needed or have conflicting names
Christopher Halse Rogers
raof-guest at moszumanska.debian.org
Fri Jan 17 05:18:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
raof-guest pushed a commit to tag 3.1.0
in repository fsharp.
commit 70cef2606fb52bdf4e350c94daf06639c91c84f8
Author: Don Syme <donsyme at fastmail.fm>
Date: Fri Dec 27 11:16:58 2013 +0100
remove targets files which are not needed or have conflicting names
---
lib/bootstrap/4.0/Microsoft.FSharp-proto.targets | 194 -----------------
lib/bootstrap/4.0/Microsoft.FSharp.Targets | 262 -----------------------
lib/bootstrap/4.0/Microsoft.FSharp.targets | 256 ----------------------
3 files changed, 712 deletions(-)
diff --git a/lib/bootstrap/4.0/Microsoft.FSharp-proto.targets b/lib/bootstrap/4.0/Microsoft.FSharp-proto.targets
deleted file mode 100644
index 34cd68a..0000000
--- a/lib/bootstrap/4.0/Microsoft.FSharp-proto.targets
+++ /dev/null
@@ -1,194 +0,0 @@
-<!--
-***********************************************************************************************
-Microsoft.FSharp.targets
-
-WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
- created a backup copy. Incorrect changes to this file will make it
- impossible to load or build your projects from the command-line or the IDE.
-
-This file defines the steps in the standard build process specific for F# .NET projects.
-For example, it contains the step that actually calls the F# compiler. The remainder
-of the build process is defined in Microsoft.Common.targets, which is imported by
-this file.
-
-Copyright (C) Microsoft Corporation. Apache 2.0 License.
-***********************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
- <UsingTask TaskName="Fsc" AssemblyFile="FSharp.Build-proto.dll"/>
- <UsingTask TaskName="CreateFSharpManifestResourceName" AssemblyFile="FSharp.Build-proto.dll"/>
-
-
- <PropertyGroup>
- <!-- FSharpTargetsDir is the directory where the targets file lives -->
- <FSharpTargetsDir Condition="'$(FSharpTargetsDir)'==''">$(MSBuildExtensionsPath32)\FSharp\1.0\</FSharpTargetsDir>
- <!-- FSharpTargetsFullPath is the full path (dir + filename) of the targets file -->
- <FSharpTargetsFullPath Condition="'$(FSharpTargetsDir)'!=''">$(FSharpTargetsDir)\Microsoft.FSharp-proto.targets</FSharpTargetsFullPath>
- <MSBuildAllProjects>$(MSBuildAllProjects);$(FSharpTargetsFullPath)</MSBuildAllProjects>
- <DefaultLanguageSourceExtension>.fs</DefaultLanguageSourceExtension>
- <Language>F#</Language>
- <Tailcalls Condition="'$(Tailcalls)'==''">$(Optimize)</Tailcalls>
- <!-- Visual studio requires a non-empty RootNamespace value for "Add New Item" to work. -->
- <RootNamespace Condition="'$(RootNamespace)'==''">RootNamespace</RootNamespace>
- </PropertyGroup>
-
- <!--
- The CreateManifestResourceNames target create the manifest resource names from the .RESX
- files.
-
- [IN]
- @(EmbeddedResource) - The list of EmbeddedResource items that have been pre-processed to add metadata about resource type
- Expected Metadata "Type" can either be "Resx" or "Non-Resx"
-
- [OUT]
- @(EmbeddedResource) - EmbeddedResource items with metadata
-
- For F# applications the transformation is like:
-
- Resources1.resx => Resources1 => Build into main assembly
- SubFolder\Resources1.resx => SubFolder.Resources1 => Build into main assembly
- Resources1.fr.resx => Resources1.fr => Build into satellite assembly
- Resources1.notaculture.resx => Resources1.notaculture => Build into main assembly
-
- For other project systems, this transformation may be different.
- -->
- <PropertyGroup>
- <CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
- </PropertyGroup>
- <Target
- Name="CreateManifestResourceNames"
- Condition="'@(EmbeddedResource)' != ''"
- DependsOnTargets="$(CreateManifestResourceNamesDependsOn)"
- >
-
- <ItemGroup>
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
-
- <!-- Create manifest names for culture and non-culture Resx files, and for non-culture Non-Resx resources -->
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and ('%(EmbeddedResource.WithCulture)' == 'false' or '%(EmbeddedResource.Type)' == 'Resx')">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <!-- Create manifest names for all culture non-resx resources -->
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- PrependCultureAsDirectory="false"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and '%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx'">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <ItemGroup>
- <EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.ManifestResourceName)' == ''"/>
- <EmbeddedResource Include="@(_Temporary)" />
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
- </Target>
-
- <ItemGroup>
- <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/>
- </ItemGroup>
-
- <ItemGroup Condition="'$(_DebugSymbolsProduced)' == 'true' and '$(PdbFile)' != ''">
- <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)"/>
- <!-- Add any missing .pdb extension, as the compiler does -->
- <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')"/>
- </ItemGroup>
-
- <PropertyGroup>
- <CoreCompileDependsOn>_ComputeNonExistentFileProperty</CoreCompileDependsOn>
- </PropertyGroup>
-
- <Target
- Name="CoreCompile"
- Inputs="$(MSBuildAllProjects);
- @(CompileBefore);
- @(Compile);
- @(CompileAfter);
- @(_CoreCompileResourceInputs);
- $(ApplicationIcon);
- $(AssemblyOriginatorKeyFile);
- @(ReferencePath);
- @(CompiledLicenseFile);
- @(EmbeddedDocumentation);
- $(Win32Resource);
- $(Win32Manifest);
- @(CustomAdditionalCompileInputs);
- $(VersionFile);
- $(KeyOriginatorFile)"
- Outputs="@(DocFileItem);
- @(IntermediateAssembly);
- @(_DebugSymbolsIntermediatePath);
- $(NonExistentFile);
- @(CustomAdditionalCompileOutputs)"
- DependsOnTargets="$(CoreCompileDependsOn)"
- >
-
- <!-- See bug 6053
- <Error
- Condition="'$(SilverlightVersion)' != '' and !(Exists('$(ProgramFiles)\Microsoft F#\Silverlight\Libraries\Client\$(SilverlightVersion)\FSharp.Core.dll'))"
- Text="F# runtime for Silverlight version $(SilverlightVersion) is not installed. Please go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and install matching F# runtime"
- />
- -->
-
- <Warning
- Condition="'$(Win32ResourceFile)' != '' "
- Text="The property <Win32ResourceFile> has been renamed to <Win32Resource>. Update your project file to ensure that the correct value is passed via the --win32res option to the F# compiler."
- />
-
- <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
- <Fsc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
- BaseAddress="$(BaseAddress)"
- CodePage="$(CodePage)"
- DebugSymbols="$(DebugSymbols)"
- DebugType="$(DebugType)"
- DefineConstants="$(DefineConstants)"
- DisabledWarnings="$(NoWarn)"
- DocumentationFile="$(DocumentationFile)"
- GenerateInterfaceFile="$(GenerateInterfaceFile)"
- KeyFile="$(KeyOriginatorFile)"
- LCID="$(LCID)"
- NoFramework="true"
- Optimize="$(Optimize)"
- OtherFlags="$(OtherFlags)"
- OutputAssembly="@(IntermediateAssembly)"
- PdbFile="$(PdbFile)"
- Platform="$(PlatformTarget)"
- References="@(ReferencePath)"
- ReferencePath="$(ReferencePath)"
- Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)"
- Sources="@(CompileBefore);@(Compile);@(CompileAfter)"
- Tailcalls="$(Tailcalls)"
- TargetType="$(OutputType)"
- ToolExe="$(FscToolExe)"
- ToolPath="$(FscToolPath)"
- TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
- Utf8Output="$(Utf8Output)"
- VersionFile="$(VersionFile)"
- VisualStudioStyleErrors="$(VisualStudioStyleErrors)"
- WarningLevel="$(WarningLevel)"
- WarningsAsErrors="$(WarningsAsErrors)"
- Win32ManifestFile="$(Win32Manifest)"
- Win32ResourceFile="$(Win32Resource)"
- />
-
- <ItemGroup>
- <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
- </ItemGroup>
-
- </Target>
-
- <Import Project="$(MSBuildBinPath)\Microsoft.Common.targets"/>
-
-</Project>
-
diff --git a/lib/bootstrap/4.0/Microsoft.FSharp.Targets b/lib/bootstrap/4.0/Microsoft.FSharp.Targets
deleted file mode 100644
index c7dffe5..0000000
--- a/lib/bootstrap/4.0/Microsoft.FSharp.Targets
+++ /dev/null
@@ -1,262 +0,0 @@
-<!--
-***********************************************************************************************
-Microsoft.FSharp.targets
-
-WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
- created a backup copy. Incorrect changes to this file will make it
- impossible to load or build your projects from the command-line or the IDE.
-
-This file defines the steps in the standard build process specific for F# .NET projects.
-For example, it contains the step that actually calls the F# compiler. The remainder
-of the build process is defined in Microsoft.Common.targets, which is imported by
-this file.
-
-Copyright (C) Microsoft Corporation. Apache 2.0 License.
-***********************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
-
- <UsingTask TaskName="Fsc" AssemblyFile="FSharp.Build.dll" Condition="Exists('$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll')" />
- <UsingTask TaskName="CreateFSharpManifestResourceName" AssemblyFile="FSharp.Build.dll" Condition="Exists('$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll')" />
-
- <!-- The next two are for when the ToolsVersion is 3.5, i.e. we're referencing .NET 2.0 -->
- <UsingTask TaskName="Fsc" AssemblyFile="$(MSBuildExtensionsPath32)\..\2.0\FSharp.Build.dll" Condition="!Exists('$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll') AND Exists('$(MSBuildExtensionsPath32)\..\2.0\FSharp.Build.dll')" />
- <UsingTask TaskName="CreateFSharpManifestResourceName" AssemblyFile="$(MSBuildExtensionsPath32)\..\2.0\FSharp.Build.dll" Condition="!Exists('$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll') AND Exists('$(MSBuildExtensionsPath32)\..\2.0\FSharp.Build.dll')" />
-
-
-
-
- <PropertyGroup>
- <ImportByWildcardBeforeMicrosoftFSharpTargets Condition="'$(ImportByWildcardBeforeMicrosoftFSharpTargets)' == ''">true</ImportByWildcardBeforeMicrosoftFSharpTargets>
- <ImportByWildcardAfterMicrosoftFSharpTargets Condition="'$(ImportByWildcardAfterMicrosoftFSharpTargets)' == ''">true</ImportByWildcardAfterMicrosoftFSharpTargets>
- </PropertyGroup>
-
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore\*" Condition="'$(ImportByWildcardBeforeMicrosoftFSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore')"/>
-
- <PropertyGroup>
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
- <DefaultLanguageSourceExtension>.fs</DefaultLanguageSourceExtension>
- <Language>F#</Language>
- <TargetRuntime>Managed</TargetRuntime>
- <Tailcalls Condition="'$(Tailcalls)'==''">$(Optimize)</Tailcalls>
- <FrameworkRegistryBase Condition="'$(TargetFrameworkIdentifier)'=='Silverlight'">Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier)</FrameworkRegistryBase>
- <!-- Visual studio requires a non-empty RootNamespace value for "Add New Item" to work. -->
- <RootNamespace Condition="'$(RootNamespace)'==''">RootNamespace</RootNamespace>
- <Actual32Bit Condition="'$(TargetFrameworkVersion)'=='v2.0' or '$(TargetFrameworkVersion)'=='v3.0' or '$(TargetFrameworkVersion)'=='v3.5' or '$(TargetFrameworkVersion)'=='v4.0'">false</Actual32Bit>
- <Actual32Bit Condition="!('$(TargetFrameworkVersion)'=='v2.0' or '$(TargetFrameworkVersion)'=='v3.0' or '$(TargetFrameworkVersion)'=='v3.5' or '$(TargetFrameworkVersion)'=='v4.0')">$(Prefer32Bit)</Actual32Bit>
- </PropertyGroup>
-
- <!--
- The CreateManifestResourceNames target create the manifest resource names from the .RESX
- files.
-
- [IN]
- @(EmbeddedResource) - The list of EmbeddedResource items that have been pre-processed to add metadata about resource type
- Expected Metadata "Type" can either be "Resx" or "Non-Resx"
-
- [OUT]
- @(EmbeddedResource) - EmbeddedResource items with metadata
-
- For F# applications the transformation is like:
-
- Resources1.resx => Resources1 => Build into main assembly
- SubFolder\Resources1.resx => SubFolder.Resources1 => Build into main assembly
- Resources1.fr.resx => Resources1.fr => Build into satellite assembly
- Resources1.notaculture.resx => Resources1.notaculture => Build into main assembly
-
- For other project systems, this transformation may be different.
- -->
- <PropertyGroup>
- <CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
- </PropertyGroup>
-
- <PropertyGroup>
- <UsingXBuild>false</UsingXBuild>
- <UsingXBuild Condition="Exists('$(MSBuildExtensionsPath32)\..\4.0\Mono.Posix.dll')">true</UsingXBuild>
- </PropertyGroup>
-
-
- <Target
- Name="CreateManifestResourceNames"
- Condition="'@(EmbeddedResource)' != ''"
- DependsOnTargets="$(CreateManifestResourceNamesDependsOn)"
- >
- <ItemGroup>
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
-
- <!-- START XBUILD -->
-
- <!-- This is the implementation of CreateManifestResourceNames which is compatible with the way -->
- <!-- xbuild processes resource names -->
-
- <CreateFSharpManifestResourceName
- Condition="'@(ResxWithNoCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(NonResxWithNoCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(ResxWithCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(NonResxWithCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" />
- </CreateFSharpManifestResourceName>
-
- <!-- END XBUILD -->
-
-
- <!-- START MSBUILD -->
-
- <!-- This is the implementation of CreateManifestResourceNames which is compatible with the way -->
- <!-- msbuild processes resource names -->
-
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and ('%(EmbeddedResource.WithCulture)' == 'false' or '%(EmbeddedResource.Type)' == 'Resx') AND '$(UsingXBuild)' == 'false'">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- PrependCultureAsDirectory="false"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and '%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx' AND '$(UsingXBuild)' == 'false'">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <!-- END MSBUILD -->
-
-
- <ItemGroup>
- <EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.ManifestResourceName)' == ''"/>
- <EmbeddedResource Include="@(_Temporary)" />
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
-
- </Target>
-
- <ItemGroup>
- <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/>
- </ItemGroup>
-
- <ItemGroup Condition="'$(_DebugSymbolsProduced)' == 'true' and '$(PdbFile)' != ''">
- <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)"/>
- <!-- Add any missing .pdb extension, as the compiler does -->
- <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')"/>
- </ItemGroup>
-
- <PropertyGroup>
- <CoreCompileDependsOn></CoreCompileDependsOn>
- </PropertyGroup>
-
- <Target
- Name="CoreCompile"
- Inputs="$(MSBuildAllProjects);
- @(CompileBefore);
- @(Compile);
- @(CompileAfter);
- @(_CoreCompileResourceInputs);
- @(ManifestNonResxWithNoCultureOnDisk);
- $(ApplicationIcon);
- $(AssemblyOriginatorKeyFile);
- @(ReferencePath);
- @(CompiledLicenseFile);
- @(EmbeddedDocumentation);
- $(Win32Resource);
- $(Win32Manifest);
- @(CustomAdditionalCompileInputs);
- $(VersionFile);
- $(KeyOriginatorFile)"
- Outputs="@(DocFileItem);
- @(IntermediateAssembly);
- @(_DebugSymbolsIntermediatePath);
- $(NonExistentFile);
- @(CustomAdditionalCompileOutputs)"
- DependsOnTargets="$(CoreCompileDependsOn)"
- >
-
- <!-- See bug 6053
- <Error
- Condition="'$(SilverlightVersion)' != '' and !(Exists('$(ProgramFiles)\Microsoft F#\Silverlight\Libraries\Client\$(SilverlightVersion)\FSharp.Core.dll'))"
- Text="F# runtime for Silverlight version $(SilverlightVersion) is not installed. Please go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and install matching F# runtime"
- />
- -->
-
- <Warning
- Condition="'$(Win32ResourceFile)' != '' "
- Text="The property <Win32ResourceFile> has been renamed to <Win32Resource>. Update your project file to ensure that the correct value is passed via the --win32res option to the F# compiler."
- />
-
- <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
- <Fsc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
- BaseAddress="$(BaseAddress)"
- CodePage="$(CodePage)"
- DebugSymbols="$(DebugSymbols)"
- DebugType="$(DebugType)"
- DefineConstants="$(DefineConstants)"
- DisabledWarnings="$(NoWarn)"
- DocumentationFile="$(DocumentationFile)"
- GenerateInterfaceFile="$(GenerateInterfaceFile)"
- KeyFile="$(KeyOriginatorFile)"
- LCID="$(LCID)"
- NoFramework="true"
- Optimize="$(Optimize)"
- OtherFlags="$(OtherFlags)"
- OutputAssembly="@(IntermediateAssembly)"
- PdbFile="$(PdbFile)"
- Platform="$(PlatformTarget)"
- References="@(ReferencePath)"
- ReferencePath="$(ReferencePath)"
- Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)"
- Sources="@(CompileBefore);@(Compile);@(CompileAfter)"
- Tailcalls="$(Tailcalls)"
- TargetType="$(OutputType)"
- ToolExe="$(FscToolExe)"
- ToolPath="$(FscToolPath)"
- TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
- Utf8Output="$(Utf8Output)"
- ValidateTypeProviders="$(ValidateTypeProviders)"
- VersionFile="$(VersionFile)"
- VisualStudioStyleErrors="$(VisualStudioStyleErrors)"
- WarningLevel="$(WarningLevel)"
- WarningsAsErrors="$(WarningsAsErrors)"
- Win32ManifestFile="$(Win32Manifest)"
- Win32ResourceFile="$(Win32Resource)"
- />
-
- <!-- These parameters are supported by F# 3.0 but not yet supported by the F# open source edition:
- Prefer32Bit="$(Actual32Bit)"
- SubsystemVersion="$(SubsystemVersion)"
- HighEntropyVA="$(HighEntropyVA)" -->
-
- <ItemGroup>
- <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
- </ItemGroup>
-
- </Target>
-
- <Import Project="$(MSBuildBinPath)\Microsoft.Common.targets"/>
-
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftFSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter')"/>
-
-</Project>
-
diff --git a/lib/bootstrap/4.0/Microsoft.FSharp.targets b/lib/bootstrap/4.0/Microsoft.FSharp.targets
deleted file mode 100644
index 3250716..0000000
--- a/lib/bootstrap/4.0/Microsoft.FSharp.targets
+++ /dev/null
@@ -1,256 +0,0 @@
-<!--
-***********************************************************************************************
-Microsoft.FSharp.targets
-
-WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
- created a backup copy. Incorrect changes to this file will make it
- impossible to load or build your projects from the command-line or the IDE.
-
-This file defines the steps in the standard build process specific for F# .NET projects.
-For example, it contains the step that actually calls the F# compiler. The remainder
-of the build process is defined in Microsoft.Common.targets, which is imported by
-this file.
-
-Copyright (C) Microsoft Corporation. Apache 2.0 License.
-***********************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
-
- <UsingTask TaskName="Fsc" AssemblyFile="FSharp.Build.dll" />
- <UsingTask TaskName="CreateFSharpManifestResourceName" AssemblyFile="FSharp.Build.dll" />
-
-
- <PropertyGroup>
- <ImportByWildcardBeforeMicrosoftFSharpTargets Condition="'$(ImportByWildcardBeforeMicrosoftFSharpTargets)' == ''">true</ImportByWildcardBeforeMicrosoftFSharpTargets>
- <ImportByWildcardAfterMicrosoftFSharpTargets Condition="'$(ImportByWildcardAfterMicrosoftFSharpTargets)' == ''">true</ImportByWildcardAfterMicrosoftFSharpTargets>
- </PropertyGroup>
-
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore\*" Condition="'$(ImportByWildcardBeforeMicrosoftFSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore')"/>
-
- <PropertyGroup>
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
- <DefaultLanguageSourceExtension>.fs</DefaultLanguageSourceExtension>
- <Language>F#</Language>
- <TargetRuntime>Managed</TargetRuntime>
- <Tailcalls Condition="'$(Tailcalls)'==''">$(Optimize)</Tailcalls>
- <FrameworkRegistryBase Condition="'$(TargetFrameworkIdentifier)'=='Silverlight'">Software\Microsoft\Microsoft SDKs\$(TargetFrameworkIdentifier)</FrameworkRegistryBase>
- <!-- Visual studio requires a non-empty RootNamespace value for "Add New Item" to work. -->
- <RootNamespace Condition="'$(RootNamespace)'==''">RootNamespace</RootNamespace>
- <Actual32Bit Condition="'$(TargetFrameworkVersion)'=='v2.0' or '$(TargetFrameworkVersion)'=='v3.0' or '$(TargetFrameworkVersion)'=='v3.5' or '$(TargetFrameworkVersion)'=='v4.0'">false</Actual32Bit>
- <Actual32Bit Condition="!('$(TargetFrameworkVersion)'=='v2.0' or '$(TargetFrameworkVersion)'=='v3.0' or '$(TargetFrameworkVersion)'=='v3.5' or '$(TargetFrameworkVersion)'=='v4.0')">$(Prefer32Bit)</Actual32Bit>
- </PropertyGroup>
-
- <!--
- The CreateManifestResourceNames target create the manifest resource names from the .RESX
- files.
-
- [IN]
- @(EmbeddedResource) - The list of EmbeddedResource items that have been pre-processed to add metadata about resource type
- Expected Metadata "Type" can either be "Resx" or "Non-Resx"
-
- [OUT]
- @(EmbeddedResource) - EmbeddedResource items with metadata
-
- For F# applications the transformation is like:
-
- Resources1.resx => Resources1 => Build into main assembly
- SubFolder\Resources1.resx => SubFolder.Resources1 => Build into main assembly
- Resources1.fr.resx => Resources1.fr => Build into satellite assembly
- Resources1.notaculture.resx => Resources1.notaculture => Build into main assembly
-
- For other project systems, this transformation may be different.
- -->
- <PropertyGroup>
- <CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
- </PropertyGroup>
-
- <PropertyGroup>
- <UsingXBuild>false</UsingXBuild>
- <UsingXBuild Condition="Exists('$(MSBuildExtensionsPath32)\..\4.0\Mono.Posix.dll')">true</UsingXBuild>
- </PropertyGroup>
-
-
- <Target
- Name="CreateManifestResourceNames"
- Condition="'@(EmbeddedResource)' != ''"
- DependsOnTargets="$(CreateManifestResourceNamesDependsOn)"
- >
- <ItemGroup>
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
-
- <!-- START XBUILD -->
-
- <!-- This is the implementation of CreateManifestResourceNames which is compatible with the way -->
- <!-- xbuild processes resource names -->
-
- <CreateFSharpManifestResourceName
- Condition="'@(ResxWithNoCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(NonResxWithNoCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(ResxWithCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" />
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- Condition="'@(NonResxWithCulture)' != '' AND '$(UsingXBuild)' == 'true'"
- ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)">
- <Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" />
- </CreateFSharpManifestResourceName>
-
- <!-- END XBUILD -->
-
-
- <!-- START MSBUILD -->
-
- <!-- This is the implementation of CreateManifestResourceNames which is compatible with the way -->
- <!-- msbuild processes resource names -->
-
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and ('%(EmbeddedResource.WithCulture)' == 'false' or '%(EmbeddedResource.Type)' == 'Resx') AND '$(UsingXBuild)' == 'false'">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <CreateFSharpManifestResourceName
- ResourceFiles="@(EmbeddedResource)"
- RootNamespace="$(RootNamespace)"
- PrependCultureAsDirectory="false"
- Condition="'%(EmbeddedResource.ManifestResourceName)' == '' and '%(EmbeddedResource.WithCulture)' == 'true' and '%(EmbeddedResource.Type)' == 'Non-Resx' AND '$(UsingXBuild)' == 'false'">
-
- <Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="_Temporary" />
-
- </CreateFSharpManifestResourceName>
-
- <!-- END MSBUILD -->
-
-
- <ItemGroup>
- <EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.ManifestResourceName)' == ''"/>
- <EmbeddedResource Include="@(_Temporary)" />
- <_Temporary Remove="@(_Temporary)" />
- </ItemGroup>
-
- </Target>
-
- <ItemGroup>
- <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/>
- </ItemGroup>
-
- <ItemGroup Condition="'$(_DebugSymbolsProduced)' == 'true' and '$(PdbFile)' != ''">
- <_DebugSymbolsIntermediatePathTemporary Include="$(PdbFile)"/>
- <!-- Add any missing .pdb extension, as the compiler does -->
- <_DebugSymbolsIntermediatePath Include="@(_DebugSymbolsIntermediatePathTemporary->'%(RootDir)%(Directory)%(Filename).pdb')"/>
- </ItemGroup>
-
- <PropertyGroup>
- <CoreCompileDependsOn></CoreCompileDependsOn>
- </PropertyGroup>
-
- <Target
- Name="CoreCompile"
- Inputs="$(MSBuildAllProjects);
- @(CompileBefore);
- @(Compile);
- @(CompileAfter);
- @(_CoreCompileResourceInputs);
- @(ManifestNonResxWithNoCultureOnDisk);
- $(ApplicationIcon);
- $(AssemblyOriginatorKeyFile);
- @(ReferencePath);
- @(CompiledLicenseFile);
- @(EmbeddedDocumentation);
- $(Win32Resource);
- $(Win32Manifest);
- @(CustomAdditionalCompileInputs);
- $(VersionFile);
- $(KeyOriginatorFile)"
- Outputs="@(DocFileItem);
- @(IntermediateAssembly);
- @(_DebugSymbolsIntermediatePath);
- $(NonExistentFile);
- @(CustomAdditionalCompileOutputs)"
- DependsOnTargets="$(CoreCompileDependsOn)"
- >
-
- <!-- See bug 6053
- <Error
- Condition="'$(SilverlightVersion)' != '' and !(Exists('$(ProgramFiles)\Microsoft F#\Silverlight\Libraries\Client\$(SilverlightVersion)\FSharp.Core.dll'))"
- Text="F# runtime for Silverlight version $(SilverlightVersion) is not installed. Please go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and install matching F# runtime"
- />
- -->
-
- <Warning
- Condition="'$(Win32ResourceFile)' != '' "
- Text="The property <Win32ResourceFile> has been renamed to <Win32Resource>. Update your project file to ensure that the correct value is passed via the --win32res option to the F# compiler."
- />
-
- <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
- <Fsc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
- BaseAddress="$(BaseAddress)"
- CodePage="$(CodePage)"
- DebugSymbols="$(DebugSymbols)"
- DebugType="$(DebugType)"
- DefineConstants="$(DefineConstants)"
- DisabledWarnings="$(NoWarn)"
- DocumentationFile="$(DocumentationFile)"
- GenerateInterfaceFile="$(GenerateInterfaceFile)"
- KeyFile="$(KeyOriginatorFile)"
- LCID="$(LCID)"
- NoFramework="true"
- Optimize="$(Optimize)"
- OtherFlags="$(OtherFlags)"
- OutputAssembly="@(IntermediateAssembly)"
- PdbFile="$(PdbFile)"
- Platform="$(PlatformTarget)"
- References="@(ReferencePath)"
- ReferencePath="$(ReferencePath)"
- Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)"
- Sources="@(CompileBefore);@(Compile);@(CompileAfter)"
- Tailcalls="$(Tailcalls)"
- TargetType="$(OutputType)"
- ToolExe="$(FscToolExe)"
- ToolPath="$(FscToolPath)"
- TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
- Utf8Output="$(Utf8Output)"
- ValidateTypeProviders="$(ValidateTypeProviders)"
- VersionFile="$(VersionFile)"
- VisualStudioStyleErrors="$(VisualStudioStyleErrors)"
- WarningLevel="$(WarningLevel)"
- WarningsAsErrors="$(WarningsAsErrors)"
- Win32ManifestFile="$(Win32Manifest)"
- Win32ResourceFile="$(Win32Resource)"
- />
-
- <!-- These parameters are supported by F# 3.0 but not yet supported by the F# open source edition:
- Prefer32Bit="$(Actual32Bit)"
- SubsystemVersion="$(SubsystemVersion)"
- HighEntropyVA="$(HighEntropyVA)" -->
-
- <ItemGroup>
- <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
- </ItemGroup>
-
- </Target>
-
- <Import Project="$(MSBuildBinPath)\Microsoft.Common.targets"/>
-
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter\*" Condition="'$(ImportByWildcardAfterMicrosoftFSharpTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter')"/>
-
-</Project>
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git
More information about the Pkg-cli-apps-commits
mailing list