Use PackageReference instead of project.json in the VSIX project (#1642)
This commit is contained in:
parent
fa6fde2b20
commit
4094e8b8f3
|
|
@ -22,7 +22,10 @@
|
|||
<StreamJsonRpcVersion>1.1.92</StreamJsonRpcVersion>
|
||||
<TestSdkVersion>15.3.0</TestSdkVersion>
|
||||
|
||||
<!-- Must keep in sync with tooling\Microsoft.VisualStudio.RazorExtension\project.json -->
|
||||
<!--
|
||||
Must keep in sync with tooling\Microsoft.VisualStudio.RazorExtension\ until we can use this MSBuild property.
|
||||
See https://github.com/dotnet/project-system/issues/2129
|
||||
-->
|
||||
<VsShellVersion>15.0.26606</VsShellVersion>
|
||||
|
||||
<XunitAnalyzersVersion>0.6.1</XunitAnalyzersVersion>
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@
|
|||
<Content Include="WebConfiguration.png">
|
||||
<IncludeInVSIX>true</IncludeInVSIX>
|
||||
</Content>
|
||||
<None Include="project.json" />
|
||||
<None Include="source.extension.vsixmanifest">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
|
@ -208,6 +207,15 @@
|
|||
</IncludeOutputGroupsInVSIXLocalOnly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<!--
|
||||
Versions must be written here instead of being set as MSBuild variable.
|
||||
See https://github.com/dotnet/project-system/issues/2129.
|
||||
-->
|
||||
<PackageReference Include="Microsoft.VisualStudio.ComponentModelHost" Version="15.0.26606" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Shell.15.0" Version="15.0.26606" />
|
||||
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="15.1.192" />
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<SuppressFromVsix>
|
||||
<Visible>false</Visible>
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"frameworks": {
|
||||
"net46": {
|
||||
"dependencies": {
|
||||
"Microsoft.VisualStudio.ComponentModelHost": "15.0.26606",
|
||||
"Microsoft.VisualStudio.Shell.15.0": "15.0.26606",
|
||||
"Microsoft.VSSDK.BuildTools": "15.1.192"
|
||||
}
|
||||
}
|
||||
},
|
||||
"runtimes": {
|
||||
"win": { }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue