Skip to content

Commit a43e31b

Browse files
committed
add files
1 parent a37e295 commit a43e31b

File tree

4 files changed

+173
-0
lines changed

4 files changed

+173
-0
lines changed

nuget/FSharp.Compiler.Service.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ files
1919
../bin/v4.5/FSharp.Compiler.Service.xml ==> lib/net45
2020
../bin/v4.5/FSharp.Compiler.Service.?db ==> lib/net45
2121
../bin/v4.5/FSharp.Compiler.Service.dll.?db ==> lib/net45
22+
../bin/v4.5/FSharp.Compiler.Service.MSBuild.v12.dll ==> lib/net45
2223
dependencies
2324
System.Collections.Immutable >= LOCKEDVERSION
2425
System.Reflection.Metadata >= LOCKEDVERSION
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
# Copyright (c) 2002-2011 Microsoft Corporation.
4+
#
5+
#
6+
#
7+
#
8+
#
9+
#
10+
# You must not remove this notice, or any other, from this software.
11+
-->
12+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
13+
<PropertyGroup>
14+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
15+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
16+
<OutputType>Library</OutputType>
17+
<AssemblyName>FSharp.Compiler.Service.MSBuild.v12</AssemblyName>
18+
<NoWarn>$(NoWarn);44;62;9</NoWarn>
19+
<ProjectGuid>{8157b50e-397d-4232-a4e0-1977afc7076d}</ProjectGuid>
20+
<AllowCrossTargeting>true</AllowCrossTargeting>
21+
<TargetFrameworkVersion Condition=" '$(TargetFrameworkVersion)' == '' ">v4.5</TargetFrameworkVersion>
22+
<BaseAddress>0x06800000</BaseAddress>
23+
<OtherFlags>$(OtherFlags) /warnon:1182</OtherFlags>
24+
<Tailcalls>true</Tailcalls>
25+
<FsLexUnicode>true</FsLexUnicode>
26+
<OtherFlags>$(OtherFlags) --times</OtherFlags>
27+
<NoWarn>$(NoWarn);69;65;54;61;75</NoWarn>
28+
<DebugSymbols>true</DebugSymbols>
29+
<OutputPath>..\..\..\bin\$(TargetFrameworkVersion)</OutputPath>
30+
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
31+
<DefineConstants>$(DefineConstants);CROSS_PLATFORM_COMPILER</DefineConstants>
32+
<DefineConstants Condition="$(TargetFrameworkVersion) == 'v4.5'">$(DefineConstants);FX_ATLEAST_45</DefineConstants>
33+
<DefineConstants>$(DefineConstants);FX_ATLEAST_40</DefineConstants>
34+
<DefineConstants>$(DefineConstants);FX_MSBUILDRESOLVER_RUNTIMELIKE</DefineConstants>
35+
<TargetFSharpCoreVersion>4.4.0.0</TargetFSharpCoreVersion>
36+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\..\..\</SolutionDir>
37+
<TargetFrameworkProfile />
38+
<ResolveNuGetPackages>false</ResolveNuGetPackages>
39+
<Prefer32Bit>true</Prefer32Bit>
40+
<PlatformTarget>AnyCPU</PlatformTarget>
41+
</PropertyGroup>
42+
<PropertyGroup>
43+
<FsLexYaccPath>$(SolutionDir)lib\bootstrap\4.0</FsLexYaccPath>
44+
<FsSrGenToolPath>$(SolutionDir)packages\FsSrGen\lib\net46</FsSrGenToolPath>
45+
<FsLexToolPath>$(FsLexYaccPath)</FsLexToolPath>
46+
<FsYaccToolPath>$(FsLexYaccPath)</FsYaccToolPath>
47+
<FsLexToolExe>fslex.exe</FsLexToolExe>
48+
<FsYaccToolExe>fsyacc.exe</FsYaccToolExe>
49+
<EnsureThereAreNoUnusedFsSrGenResources>false</EnsureThereAreNoUnusedFsSrGenResources>
50+
</PropertyGroup>
51+
<!-- MonoDevelop likes these here to recognise the configurations -->
52+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
53+
<DefineConstants>DEBUG; $(DefineConstants)</DefineConstants>
54+
<Optimize>false</Optimize>
55+
<OtherFlags>$(OtherFlags) --no-jit-optimize --jit-tracking</OtherFlags>
56+
</PropertyGroup>
57+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
58+
<Optimize>true</Optimize>
59+
</PropertyGroup>
60+
<ItemGroup>
61+
<Compile Include="..\..\assemblyinfo\assemblyinfo.FSharp.Compiler.Service.MSBuild.v12.dll.fs">
62+
<Link>AssemblyInfo/assemblyinfo.FSharp.Compiler.Service.MSBuild.v12.dll.fs</Link>
63+
</Compile>
64+
<Compile Include="..\..\assemblyinfo\assemblyinfo.shared.fs" Condition="Exists('..\..\assemblyinfo\assemblyinfo.shared.fs')">
65+
<Link>AssemblyInfo/assemblyinfo.shared.fs</Link>
66+
</Compile>
67+
<Compile Include="..\MSBuildReferenceResolver.fs">
68+
<Link>Service/MSBuildReferenceResolver.fs</Link>
69+
</Compile>
70+
</ItemGroup>
71+
<ItemGroup>
72+
<Reference Include="mscorlib" />
73+
<Reference Include="System" />
74+
<Reference Include="System.Core" />
75+
<Reference Include="System.Numerics" />
76+
<Reference Include="System.Runtime.Serialization" />
77+
<Reference Include="System.Xml" />
78+
<Reference Include="Microsoft.Build.Framework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
79+
<Private>True</Private>
80+
</Reference>
81+
<Reference Include="Microsoft.Build.Engine, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
82+
<Private>True</Private>
83+
</Reference>
84+
<Reference Include="Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
85+
<Private>True</Private>
86+
</Reference>
87+
<Reference Include="Microsoft.Build.Utilities.v12.0">
88+
<Private>True</Private>
89+
</Reference>
90+
<Reference Include="Microsoft.Build.Tasks.v12.0">
91+
<Private>True</Private>
92+
</Reference>
93+
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
94+
<Private>False</Private>
95+
</Reference>
96+
<ProjectReference Include="..\FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj">
97+
<Name>FSharp.Compiler.Service</Name>
98+
<Project>{2e4d67b4-522d-4cf7-97e4-ba940f0b18f3}</Project>
99+
<Private>True</Private>
100+
</ProjectReference>
101+
</ItemGroup>
102+
<PropertyGroup>
103+
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>
104+
</PropertyGroup>
105+
<PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0' OR '$(VisualStudioVersion)' == '11.0'">
106+
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
107+
</PropertyGroup>
108+
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
109+
<UsingTask TaskName="CopyRuntimeDependencies" AssemblyFile="..\..\..\.paket\paket.exe" />
110+
<Target Name="AfterBuild" Condition="Exists('..\..\..\.paket\paket.exe')">
111+
<CopyRuntimeDependencies OutputPath="$(OutDir)" TargetFramework="$(TargetFrameworkIdentifier) - $(TargetFrameworkVersion)" ProjectsWithRuntimeLibs="System.Threading" />
112+
</Target>
113+
<Import Project="$(SolutionDir)\packages\FSharp.SRGen.Build.Tasks\content\FSharp.SRGen.targets" />
114+
<Import Project="$(FsLexYaccPath)\FsLexYacc.targets" />
115+
<Import Project="$(SolutionDir)\.paket\paket.targets" />
116+
</Project>

src/fsharp/FSharp.Compiler.Service.MSBuild.v12/paket.references

Whitespace-only changes.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"version": "8.0.0",
3+
"buildOptions": {
4+
"debugType": "portable",
5+
"compilerName": "fsc",
6+
"compile": {
7+
"includeFiles": [
8+
"../../assemblyinfo/assemblyinfo.FSharp.Compiler.Service.dll.MSBuild.v12.fs",
9+
"../../assemblyinfo/assemblyinfo.shared.fs",
10+
"../../utils/reshapedmsbuild.fs",
11+
"../MSBuildReferenceResolver.fs"
12+
]
13+
},
14+
"define": [
15+
"FX_ATLEAST_35",
16+
"FX_ATLEAST_40",
17+
"FX_ATLEAST_45",
18+
"FX_ATLEAST_LINQ",
19+
"FX_ATLEAST_PORTABLE",
20+
"TODO_REWORK_ASSEMBLY_LOAD"
21+
],
22+
"xmlDoc": true,
23+
"delaySign": true,
24+
"warningsAsErrors": true
25+
},
26+
"dependencies": {
27+
"NETStandard.Library": "1.6.0",
28+
"System.Diagnostics.TraceSource": "4.0.0",
29+
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-*",
30+
"System.Collections.Immutable": "1.2.0",
31+
"System.Security.Cryptography.Algorithms": "4.2.0",
32+
"System.Security.Cryptography.Primitives": "4.0.0",
33+
"System.Reflection.Metadata": "1.4.1-beta-24227-04",
34+
"System.Diagnostics.Process": "4.1.0",
35+
"FSharp.Compiler.Service": {
36+
"version": "8.0.0",
37+
"target": "project"
38+
}
39+
},
40+
"tools": {
41+
"dotnet-fssrgen": "3.2.*",
42+
"dotnet-mergenupkg": { "version": "1.0.*" },
43+
"dotnet-compile-fsc": {
44+
"version": "1.0.0-preview2-*",
45+
"imports": "dnxcore50"
46+
}
47+
},
48+
"frameworks": {
49+
"netstandard1.6": {
50+
"imports": [
51+
"portable-net45+win81",
52+
"dnxcore50"
53+
]
54+
}
55+
}
56+
}

0 commit comments

Comments
 (0)