-
Notifications
You must be signed in to change notification settings - Fork 414
Expand file tree
/
Copy pathProjectSystemSetup.csproj
More file actions
66 lines (55 loc) · 3.25 KB
/
ProjectSystemSetup.csproj
File metadata and controls
66 lines (55 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
<!-- Note: VSIX signing is handled via AddVsixForSigning in Directory.Build.targets. -->
<Import Project="..\..\eng\imports\VisualStudio.props" />
<!-- Local properties -->
<PropertyGroup>
<_ManagedProjectName>Microsoft.VisualStudio.ProjectSystem.Managed</_ManagedProjectName>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>Microsoft.VisualStudio</RootNamespace>
<!-- Note: No idea why ProjectSystem is the AssemblyName instead of using the MSBuildProjectName of ProjectSystemSetup. -->
<AssemblyName>ProjectSystem</AssemblyName>
<TargetFramework>net472</TargetFramework>
<!-- VSIX -->
<ExtensionInstallationRoot>Extensions</ExtensionInstallationRoot>
<ExtensionInstallationFolder>Microsoft\ManagedProjectSystem</ExtensionInstallationFolder>
<TargetVsixContainerName>$(AssemblyName).vsix</TargetVsixContainerName>
<TargetVsixContainer>$(VisualStudioSetupInsertionPath)$(TargetVsixContainerName)</TargetVsixContainer>
<!-- Set's the JSON manifest name for GetVsixPrimaryOutputs in Directory.Build.targets -->
<VsixManifestPackageId>$(_ManagedProjectName)</VsixManifestPackageId>
</PropertyGroup>
<ItemGroup>
<Content Include="UnifiedSettings\registration.json">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<ProjectReference Include="..\..\src\Microsoft.VisualStudio.ProjectSystem.Managed.VS\Microsoft.VisualStudio.ProjectSystem.Managed.VS.csproj">
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;SatelliteDllsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIX>
</ProjectReference>
<ProjectReference Include="..\..\src\$(_ManagedProjectName)\$(_ManagedProjectName).csproj">
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;SatelliteDllsProjectOutputGroup</IncludeOutputGroupsInVSIX>
</ProjectReference>
<ProjectReference Update="@(ProjectReference)">
<Name>%(Filename)</Name>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup</IncludeOutputGroupsInVSIXLocalOnly>
<Ngen>true</Ngen>
<NgenPriority>1</NgenPriority>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="ProjectSelectors.pkgdef">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Compile Include="..\Common\ProvideCodeBaseBindingRedirection.cs">
<Link>ProvideCodeBaseBindingRedirection.cs</Link>
</Compile>
</ItemGroup>
<!-- Excludes the localized .xaml files from the VSIX which are added from the GetCopyToOutputDirectoryItems output group. Only the localized .dlls are needed in the VSIX. -->
<!-- For additional info, see: https://github.com/dotnet/project-system/issues/6612 -->
<Target Name="ExcludeLocalizedXamlFilesFromVSIX" AfterTargets="GetVsixSourceItems">
<ItemGroup>
<VSIXSourceItem Remove="$(ArtifactsObjDir)$(_ManagedProjectName)\$(TargetFramework)\$(_ManagedProjectName).xlf\**\*.xaml" />
</ItemGroup>
</Target>
</Project>