|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.--> |
3 | | -<ProjectToolsVersion="15.0"DefaultTargets="Build"xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | +<ProjectSdk="Microsoft.NET.Sdk"> |
| 4 | + |
4 | 5 | <PropertyGroup> |
5 | | - <FSharpSourcesRoot>$(MSBuildProjectDirectory)\..\..\..\src</FSharpSourcesRoot> |
6 | | - <TargetDotnetProfileCondition="'$(TargetDotnetProfile)'==''">net40</TargetDotnetProfile> |
7 | | - <MinimumVisualStudioVersionCondition="'$(MinimumVisualStudioVersion)' == ''">15.0</MinimumVisualStudioVersion> |
8 | | - <VisualStudioVersionCondition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion> |
9 | | - <VSToolsPathCondition="'$(VSToolsPath)' == ''">$(FSharpSourcesRoot)\..\packages\Microsoft.VSSDK.BuildTools.$(RoslynVSPackagesVersion)\tools</VSToolsPath> |
10 | | - <FileUpgradeFlags> |
11 | | - </FileUpgradeFlags> |
12 | | - <OldToolsVersion>15.0</OldToolsVersion> |
13 | | - <SchemaVersion>2.0</SchemaVersion> |
14 | | - <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
15 | | - <UpgradeBackupLocation> |
16 | | - </UpgradeBackupLocation> |
17 | | - <PublishUrl>publish\</PublishUrl> |
18 | | - <Install>true</Install> |
19 | | - <InstallFrom>Disk</InstallFrom> |
20 | | - <UpdateEnabled>false</UpdateEnabled> |
21 | | - <UpdateMode>Foreground</UpdateMode> |
22 | | - <UpdateInterval>7</UpdateInterval> |
23 | | - <UpdateIntervalUnits>Days</UpdateIntervalUnits> |
24 | | - <UpdatePeriodically>true</UpdatePeriodically> |
25 | | - <UpdateRequired>false</UpdateRequired> |
26 | | - <MapFileExtensions>true</MapFileExtensions> |
27 | | - <ApplicationRevision>0</ApplicationRevision> |
28 | | - <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
29 | | - <GeneratePkgDefFile>false</GeneratePkgDefFile> |
30 | | - <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> |
31 | | - <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> |
32 | | - <IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> |
33 | | - <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> |
34 | | - <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> |
35 | | - <IsWebBootstrapper>false</IsWebBootstrapper> |
36 | | - <UseApplicationTrust>false</UseApplicationTrust> |
37 | | - <BootstrapperEnabled>true</BootstrapperEnabled> |
38 | | - <IsProductComponent>false</IsProductComponent> |
39 | | - <ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot> |
40 | | - <ExtensionInstallationFolder>Microsoft\FSharp</ExtensionInstallationFolder> |
41 | | - <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> |
42 | | - <ConfigurationCondition=" '$(Configuration)' == ''">Debug</Configuration> |
43 | | - <PlatformCondition=" '$(Platform)' == ''">AnyCPU</Platform> |
| 6 | + <TargetFramework>net46</TargetFramework> |
44 | 7 | <OutputType>Library</OutputType> |
45 | | - <AppDesignerFolder>Properties</AppDesignerFolder> |
46 | | - <VSRootSuffix>RoslynDev</VSRootSuffix> |
47 | | - <UseCodebase>true</UseCodebase> |
48 | | - <DeployExtensionCondition=" '$(DeployExtension)' == '' and '$(CI)' != '1'">True</DeployExtension> |
49 | | - <DeployExtensionCondition=" '$(DeployExtension)' == '' and '$(CI)' == '1'">False</DeployExtension> |
50 | | - <ProjectGuid>{E6A45CDF-B408-420F-B475-74611BEFC52B}</ProjectGuid> |
51 | | - <IsPackage>true</IsPackage> |
52 | | - <RootNamespace>VisualFSharpOpenSource</RootNamespace> |
53 | | - <RootBinPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(TargetDotnetProfile)\bin</RootBinPath> |
54 | | - <AssemblyName>VisualFSharpOpenSource</AssemblyName> |
55 | | - <OutputPath>$(RootBinPath)</OutputPath> |
56 | | - <MicroBuildAssemblyVersion>15.4.1.0</MicroBuildAssemblyVersion> |
57 | | - <MicroBuildAssemblyFileLanguage>cs</MicroBuildAssemblyFileLanguage> |
58 | | - </PropertyGroup> |
59 | | - <ImportProject="$(FSharpSourcesRoot)\FSharpSource.settings.targets" /> |
60 | | - <ImportProject="$(FSharpSourcesRoot)\..\packages\$(VSSDK_BUILDTOOLS_VERSION)\build\Microsoft.VsSDK.BuildTools.props" /> |
61 | | - <PropertyGroupCondition=" '$(Configuration)' == 'Debug'"> |
62 | | - <StartAction>Program</StartAction> |
63 | | - <StartProgram>$(DevEnvDir)devenv.exe</StartProgram> |
64 | | - <StartArguments>/rootsuffix $(VSRootSuffix) /log</StartArguments> |
65 | | - <VSSDKTargetPlatformRegRootSuffix>$(VSRootSuffix)</VSSDKTargetPlatformRegRootSuffix> |
66 | | - <CreateVsixContainer>true</CreateVsixContainer> |
67 | | - </PropertyGroup> |
68 | | - <PropertyGroupCondition=" '$(Configuration)' == 'Release'"> |
69 | | - <StartAction>Program</StartAction> |
70 | | - <StartProgram>$(DevEnvDir)devenv.exe</StartProgram> |
71 | | - <CreateVsixContainer>true</CreateVsixContainer> |
72 | | - <StartArguments>/rootsuffix $(VSRootSuffix) /log</StartArguments> |
73 | | - <VSSDKTargetPlatformRegRootSuffix>$(VSRootSuffix)</VSSDKTargetPlatformRegRootSuffix> |
| 8 | + <ExtensionInstallationFolder>Microsoft\FSharp</ExtensionInstallationFolder> |
| 9 | + <PackageTargetFallback>netcoreapp1.0</PackageTargetFallback> |
74 | 10 | </PropertyGroup> |
| 11 | + |
75 | 12 | <ItemGroup> |
76 | 13 | <NoneInclude="Source.extension.vsixmanifest"> |
77 | 14 | <SubType>Designer</SubType> |
|
92 | 29 | <IncludeInVSIX>true</IncludeInVSIX> |
93 | 30 | </Content> |
94 | 31 | </ItemGroup> |
95 | | - <ItemGroup> |
96 | | - <BootstrapperPackageInclude=".NETFramework,Version=v4.6"> |
97 | | - <Visible>False</Visible> |
98 | | - <ProductName>Microsoft .NET Framework 4.6 %28x86 and x64%29</ProductName> |
99 | | - <Install>true</Install> |
100 | | - </BootstrapperPackage> |
101 | | - <BootstrapperPackageInclude="Microsoft.Net.Client.3.5"> |
102 | | - <Visible>False</Visible> |
103 | | - <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
104 | | - <Install>false</Install> |
105 | | - </BootstrapperPackage> |
106 | | - <BootstrapperPackageInclude="Microsoft.Net.Framework.3.5.SP1"> |
107 | | - <Visible>False</Visible> |
108 | | - <ProductName>.NET Framework 3.5 SP1</ProductName> |
109 | | - <Install>false</Install> |
110 | | - </BootstrapperPackage> |
111 | | - </ItemGroup> |
| 32 | + |
112 | 33 | <ItemGroup> |
113 | 34 | <ProjectReferenceInclude="$(FSharpSourcesRoot)\fsharp\FSharp.Compiler.Interactive.Settings\FSharp.Compiler.Interactive.Settings.fsproj"> |
114 | 35 | <Project>{649FA588-F02E-457C-9FCF-87E46407481E}</Project> |
|
289 | 210 | <Private>True</Private> |
290 | 211 | </ProjectReference> |
291 | 212 | </ItemGroup> |
| 213 | + |
292 | 214 | <ItemGroup> |
293 | | - <ReferenceInclude="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
294 | | - <SpecificVersion>False</SpecificVersion> |
295 | | - <HintPath>$(FSharpSourcesRoot)\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> |
296 | | - </Reference> |
297 | | - <ReferenceInclude="System.Collections.Immutable"> |
298 | | - <HintPath>$(FSharpSourcesRoot)\..\packages\System.Collections.Immutable.$(SystemCollectionsImmutableVersion)\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath> |
299 | | - </Reference> |
| 215 | + <PackageReferenceInclude="Newtonsoft.Json"Version="$(NewtonsoftJsonPackageVersion)" /> |
| 216 | + <PackageReferenceInclude="System.Collections.Immutable"Version="$(SystemCollectionsImmutablePackageVersion)" /> |
300 | 217 | </ItemGroup> |
301 | | - <ImportProject="$(FSharpSourcesRoot)\..\vsintegration\src\FSharp.tools.targets" /> |
302 | | - <ImportProject="$(FSharpSourcesRoot)\Microbuild.Settings.targets" /> |
| 218 | + |
303 | 219 | </Project> |