|
12 | 12 | <RootNamespace>EditorConfig.VisualStudio</RootNamespace> |
13 | 13 | <AssemblyName>EditorConfigPlugin</AssemblyName> |
14 | 14 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
| 15 | + </PropertyGroup> |
| 16 | + <!-- Look for the SDK specific to the current version of Visual Studio --> |
| 17 | + <PropertyGroup> |
| 18 | + <VsSdkTargets>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\VSSDK\Microsoft.VsSDK.targets</VsSdkTargets> |
| 19 | + <VsSdkTargets Condition=" '$(VisualStudioVersion)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets</VsSdkTargets> |
| 20 | + </PropertyGroup> |
| 21 | + <!-- This is needed to prevent forced migrations when opening the project in Vs2012 --> |
| 22 | + <PropertyGroup Condition=" '$(VisualStudioVersion)' == '11.0' "> |
15 | 23 | <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion> |
16 | 24 | </PropertyGroup> |
| 25 | + <!-- This is needed to prevent forced migrations when opening the project in Vs2013 --> |
| 26 | + <PropertyGroup Condition=" '$(VisualStudioVersion)' == '12.0' "> |
| 27 | + <MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion> |
| 28 | + </PropertyGroup> |
17 | 29 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
18 | 30 | <DebugSymbols>true</DebugSymbols> |
19 | 31 | <DebugType>full</DebugType> |
|
22 | 34 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
23 | 35 | <ErrorReport>prompt</ErrorReport> |
24 | 36 | <WarningLevel>4</WarningLevel> |
25 | | - <DeployExtension>True</DeployExtension> |
26 | 37 | <PlatformTarget>x86</PlatformTarget> |
| 38 | + <CreateVsixContainer>True</CreateVsixContainer> |
| 39 | + <DeployExtension>True</DeployExtension> |
27 | 40 | </PropertyGroup> |
28 | 41 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
29 | 42 | <DebugType>pdbonly</DebugType> |
|
33 | 46 | <ErrorReport>prompt</ErrorReport> |
34 | 47 | <WarningLevel>4</WarningLevel> |
35 | 48 | <PlatformTarget>x86</PlatformTarget> |
| 49 | + <CreateVsixContainer>True</CreateVsixContainer> |
| 50 | + <DeployExtension>True</DeployExtension> |
36 | 51 | </PropertyGroup> |
37 | 52 | <ItemGroup> |
38 | 53 | <Compile Include="ListenerBase.cs" /> |
|
0 commit comments