|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> |
3 |
| - <PropertyGroup> |
4 |
| - <MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion> |
5 |
| - <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion> |
6 |
| - <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> |
7 |
| - <FileUpgradeFlags> |
8 |
| - </FileUpgradeFlags> |
9 |
| - <UpgradeBackupLocation> |
10 |
| - </UpgradeBackupLocation> |
11 |
| - <OldToolsVersion>4.0</OldToolsVersion> |
12 |
| - </PropertyGroup> |
| 2 | +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.props')" /> |
13 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
14 | 5 | <PropertyGroup>
|
15 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
16 | 7 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
17 | 8 | <SchemaVersion>2.0</SchemaVersion>
|
18 | 9 | <ProjectGuid>{FEAAE923-0664-4072-903F-0C833CD43D36}</ProjectGuid>
|
19 |
| - <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
| 10 | + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
20 | 11 | <OutputType>Library</OutputType>
|
21 | 12 | <AppDesignerFolder>Properties</AppDesignerFolder>
|
22 | 13 | <RootNamespace>EditorConfig.VisualStudio</RootNamespace>
|
23 | 14 | <AssemblyName>EditorConfig</AssemblyName>
|
24 | 15 | <SignAssembly>True</SignAssembly>
|
25 | 16 | <AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
|
26 | 17 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
| 18 | + <NuGetPackageImportStamp> |
| 19 | + </NuGetPackageImportStamp> |
27 | 20 | </PropertyGroup>
|
28 | 21 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
29 | 22 | <DebugSymbols>true</DebugSymbols>
|
|
55 | 48 | <EmbedInteropTypes>True</EmbedInteropTypes>
|
56 | 49 | </Reference>
|
57 | 50 | <Reference Include="EnvDTE" />
|
| 51 | + <Reference Include="Microsoft.Build.Framework" /> |
58 | 52 | <Reference Include="Microsoft.VisualStudio.CoreUtility" />
|
59 | 53 | <Reference Include="Microsoft.VisualStudio.OLE.Interop" />
|
60 | 54 | <Reference Include="Microsoft.VisualStudio.Shell.10.0" />
|
|
154 | 148 | <IncludeInVSIX>true</IncludeInVSIX>
|
155 | 149 | </Content>
|
156 | 150 | </ItemGroup>
|
| 151 | + <!-- |
157 | 152 | <ItemGroup>
|
158 | 153 | <ProjectReference Include="..\EditorConfigItemTemplate\EditorConfigItemTemplate.csproj">
|
159 | 154 | <Project>{C812CBA0-F505-458A-A984-1B6C5B64DFF0}</Project>
|
|
163 | 158 | <IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
|
164 | 159 | </ProjectReference>
|
165 | 160 | </ItemGroup>
|
166 |
| - <PropertyGroup> |
167 |
| - <UseCodebase>true</UseCodebase> |
168 |
| - </PropertyGroup> |
| 161 | + --> |
169 | 162 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
170 |
| - <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> |
| 163 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 164 | + <PropertyGroup> |
| 165 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 166 | + </PropertyGroup> |
| 167 | + <Error Condition="!Exists('..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.props'))" /> |
| 168 | + <Error Condition="!Exists('..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.targets'))" /> |
| 169 | + </Target> |
| 170 | + <Import Project="..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.14.1.24720\build\Microsoft.VSSDK.BuildTools.targets')" /> |
171 | 171 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
172 | 172 | Other similar extension points exist, see Microsoft.Common.targets.
|
173 | 173 | <Target Name="BeforeBuild">
|
|
0 commit comments