Skip to content

Commit c643880

Browse files
committed
Fix VSIX deployment to the experimental hive
1 parent 2592d5b commit c643880

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Vsix/StyleCop.Analyzers.Vsix.csproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project Sdk="Microsoft.NET.Sdk">
2+
<Project>
3+
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
34

45
<PropertyGroup>
56
<TargetFramework>net452</TargetFramework>
@@ -39,6 +40,16 @@
3940
<None Include="source.extension.vsixmanifest" />
4041
</ItemGroup>
4142

43+
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
44+
4245
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="Exists('$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets')" />
4346

47+
<ItemGroup>
48+
<!-- https://github.com/dotnet/sdk/issues/433 -->
49+
<ProjectReference Update="@(ProjectReference)" AdditionalProperties="TargetFramework=net452" />
50+
51+
<!-- https://github.com/Microsoft/extendvs/issues/57 -->
52+
<ProjectReference Update="@(ProjectReference)" Name="%(Filename)" />
53+
</ItemGroup>
54+
4455
</Project>

0 commit comments

Comments
 (0)