|
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></FileUpgradeFlags> |
11 | | - <OldToolsVersion>15.0</OldToolsVersion> |
12 | | - <SchemaVersion>2.0</SchemaVersion> |
13 | | - <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
14 | | - <UpgradeBackupLocation></UpgradeBackupLocation> |
| 6 | + <AssemblyName>VisualFSharpTemplate</AssemblyName> |
| 7 | + <TargetFramework>net46</TargetFramework> |
| 8 | + <OutputType>Library</OutputType> |
15 | 9 | <PublishUrl>publish\</PublishUrl> |
16 | 10 | <Install>true</Install> |
17 | 11 | <InstallFrom>Disk</InstallFrom> |
|
22 | 16 | <UpdatePeriodically>true</UpdatePeriodically> |
23 | 17 | <UpdateRequired>false</UpdateRequired> |
24 | 18 | <MapFileExtensions>true</MapFileExtensions> |
25 | | - <ApplicationRevision>0</ApplicationRevision> |
26 | | - <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
27 | 19 | <GeneratePkgDefFile>false</GeneratePkgDefFile> |
28 | 20 | <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> |
29 | 21 | <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> |
|
37 | 29 | <ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot> |
38 | 30 | <ExtensionInstallationFolder>Microsoft\FSharpTemplates</ExtensionInstallationFolder> |
39 | 31 | <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> |
40 | | - <ConfigurationCondition=" '$(Configuration)' == ''">Debug</Configuration> |
41 | | - <PlatformCondition=" '$(Platform)' == ''">AnyCPU</Platform> |
42 | | - <OutputType>Library</OutputType> |
43 | | - <AppDesignerFolder>Properties</AppDesignerFolder> |
44 | | - <VSRootSuffix>RoslynDev</VSRootSuffix> |
45 | | - <UseCodebase>true</UseCodebase> |
46 | | - <DeployExtensionCondition=" '$(DeployExtension)' == '' and ('$(AppVeyor)' != '' or '$(HUDSON_COOKIE)' != '' or '$(UsingMicrobuild)' != '')">False</DeployExtension> |
47 | | - <DeployExtensionCondition=" '$(DeployExtension)' == '' and '$(AppVeyor)' == '' and '$(HUDSON_COOKIE)' == '' and '$(UsingMicrobuild)' == ''">True</DeployExtension> |
48 | | - <ProjectGuid>{385035C1-9171-408A-8EAA-67DDC14E2CF3}</ProjectGuid> |
49 | 32 | <IsPackage>true</IsPackage> |
50 | | - <RootNamespace>VisualFSharpTemplate</RootNamespace> |
51 | | - <RootBinPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(TargetDotnetProfile)\bin</RootBinPath> |
52 | | - <AssemblyName>VisualFSharpTemplate</AssemblyName> |
53 | | - <OutputPath>$(RootBinPath)</OutputPath> |
54 | | - <MicroBuildAssemblyVersion>15.4.1.0</MicroBuildAssemblyVersion> |
55 | | - <MicroBuildAssemblyFileLanguage>cs</MicroBuildAssemblyFileLanguage> |
56 | 33 | <DeployExtension>false</DeployExtension> |
57 | 34 | </PropertyGroup> |
58 | | - <PropertyGroupCondition=" '$(Configuration)' == 'Debug'"> |
59 | | - <StartAction>Program</StartAction> |
60 | | - <StartProgram>$(DevEnvDir)devenv.exe</StartProgram> |
61 | | - <StartArguments>/rootsuffix $(VSRootSuffix) /log</StartArguments> |
62 | | - <VSSDKTargetPlatformRegRootSuffix>$(VSRootSuffix)</VSSDKTargetPlatformRegRootSuffix> |
63 | | - <CreateVsixContainer>true</CreateVsixContainer> |
64 | | - </PropertyGroup> |
65 | | - <PropertyGroupCondition=" '$(Configuration)' == 'Release'"> |
66 | | - <StartAction>Program</StartAction> |
67 | | - <StartProgram>$(DevEnvDir)devenv.exe</StartProgram> |
68 | | - <CreateVsixContainer>true</CreateVsixContainer> |
69 | | - <StartArguments>/rootsuffix $(VSRootSuffix) /log</StartArguments> |
70 | | - <VSSDKTargetPlatformRegRootSuffix>$(VSRootSuffix)</VSSDKTargetPlatformRegRootSuffix> |
71 | | - </PropertyGroup> |
| 35 | + |
72 | 36 | <ItemGroup> |
73 | 37 | <NoneInclude="Source.extension.vsixmanifest"> |
74 | 38 | <SubType>Designer</SubType> |
75 | 39 | </None> |
76 | 40 | </ItemGroup> |
| 41 | + |
77 | 42 | <ItemGroup> |
78 | 43 | <BootstrapperPackageInclude=".NETFramework,Version=v4.6"> |
79 | 44 | <Visible>False</Visible> |
|
91 | 56 | <Install>false</Install> |
92 | 57 | </BootstrapperPackage> |
93 | 58 | </ItemGroup> |
| 59 | + |
94 | 60 | <ItemGroup> |
95 | | - <ProjectReferenceInclude="$(FSharpSourcesRoot)\..\vsintegration\ProjectTemplates\ConsoleProject\ConsoleProject.csproj"> |
| 61 | + <ProjectReferenceInclude="..\..\ProjectTemplates\ConsoleProject\ConsoleProject.csproj"> |
96 | 62 | <Project>{604f0daa-2d33-48dd-b162-edf0b672803d}</Project> |
97 | 63 | <Name>ConsoleProject</Name> |
98 | 64 | <VSIXSubPath>ProjectTemplates</VSIXSubPath> |
99 | 65 | <IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> |
100 | 66 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
101 | 67 | <Private>True</Private> |
102 | 68 | </ProjectReference> |
103 | | - <ProjectReferenceInclude="$(FSharpSourcesRoot)\..\vsintegration\ProjectTemplates\LibraryProject\LibraryProject.csproj"> |
| 69 | + <ProjectReferenceInclude="..\..\ProjectTemplates\LibraryProject\LibraryProject.csproj"> |
104 | 70 | <Project>{01678cda-a11f-4dee-9344-2edf91cf1ae7}</Project> |
105 | 71 | <Name>LibraryProject</Name> |
106 | 72 | <VSIXSubPath>ProjectTemplates</VSIXSubPath> |
107 | 73 | <IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> |
108 | 74 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
109 | 75 | <Private>True</Private> |
110 | 76 | </ProjectReference> |
111 | | - <ProjectReferenceInclude="$(FSharpSourcesRoot)\..\vsintegration\ProjectTemplates\TutorialProject\TutorialProject.csproj"> |
| 77 | + <ProjectReferenceInclude="..\..\ProjectTemplates\TutorialProject\TutorialProject.csproj"> |
112 | 78 | <Project>{2facee44-48bd-40b5-a2ee-b54a0c9bb7c4}</Project> |
113 | 79 | <Name>TutorialProject</Name> |
114 | 80 | <VSIXSubPath>ProjectTemplates</VSIXSubPath> |
|
117 | 83 | <Private>True</Private> |
118 | 84 | </ProjectReference> |
119 | 85 | </ItemGroup> |
120 | | - <ImportProject="$(FSharpSourcesRoot)\..\vsintegration\src\FSharp.tools.targets" /> |
121 | | - <ImportProject="$(FSharpSourcesRoot)\Microbuild.Settings.targets" /> |
| 86 | + |
122 | 87 | </Project> |