-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitMenuExt.csproj
More file actions
157 lines (143 loc) · 7.77 KB
/
Copy pathGitMenuExt.csproj
File metadata and controls
157 lines (143 loc) · 7.77 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<Project>
<!-- Explicit SDK import: VSSDK packaging targets must be imported after Sdk.targets at the end,
otherwise PrepareForRunDependsOn (which generates pkgdef/vsix and deploys on F5) will be overridden by the SDK. -->
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<RootNamespace>CnSharp.VSIX.Git</RootNamespace>
<AssemblyName>GitMenuExt</AssemblyName>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<!-- Important: Make pkgdef register the package assembly using CodeBase (DLL absolute path).
Otherwise VS, when merging command tables on startup, looks up only by assembly display name "GitMenuExt",
which is not in the GAC and not probed early in extension directories => load failure (0x800a006f) => CTMENU not found => menu won't show. -->
<RegisterWithCodebase>true</RegisterWithCodebase>
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
<CreateVsixContainer>true</CreateVsixContainer>
<EnableDefaultItems>false</EnableDefaultItems>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<UseWPF>true</UseWPF>
</PropertyGroup>
<!-- F5 Debug: launch VS experimental instance and deploy this extension -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<DeployExtension>true</DeployExtension>
<StartAction>Program</StartAction>
<StartProgram>$(DevEnvDir)devenv.exe</StartProgram>
<StartArguments>/rootsuffix Exp</StartArguments>
</PropertyGroup>
<!-- On-demand: wipe the experimental instance so stale .vsct/pkgdef caches can't disable the
package (which would make all commands disappear). Run manually with VS closed:
powershell -ExecutionPolicy Bypass -File reset-exp.ps1
Do NOT auto-run before Build — it deletes the instance and the DeployExtension step then
fails with VSSDK1031 ("Extension could not be found"). -->
<ItemGroup>
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="18.5.40034" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.31902.203" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Include="Commands\CopyCommitIdCommand.cs" />
<Compile Include="Commands\CompareFileWithBranchCommand.cs" />
<Compile Include="Commands\ExportChangedFilesCommand.cs" />
<Compile Include="Dialogs\ExportChangedFilesWindow.xaml.cs" />
<Compile Include="GitMenuExtPackage.cs" />
<Compile Include="Commands\DeleteBranchesCommand.cs" />
<Compile Include="Commands\DeleteOutdatedBranchesCommand.cs" />
<Compile Include="Utils\GitHistorySelection.cs" />
<Compile Include="Utils\ExportChangedFilesCore.cs" />
<Compile Include="Dialogs\Settings.cs" />
<Compile Include="Dialogs\DeleteBranchesWindow.xaml.cs">
<DependentUpon>DeleteBranchesWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Dialogs\DeleteOutdatedBranchesWindow.xaml.cs">
<DependentUpon>DeleteOutdatedBranchesWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Utils\GitUtils.cs" />
<Compile Include="Dialogs\CompareBranchWindow.xaml.cs">
<DependentUpon>CompareBranchWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Commands\CompareBranchesCommand.cs" />
<Compile Include="ToolWindows\CompareBranchesToolWindow.cs" />
<Compile Include="ToolWindows\GitStatusToMonikerConverter.cs" />
<Compile Include="ToolWindows\CompareBranchesControl.xaml.cs">
<DependentUpon>CompareBranchesControl.xaml</DependentUpon>
</Compile>
<Compile Include="Dialogs\BranchPickerWindow.xaml.cs">
<DependentUpon>BranchPickerWindow.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Page Include="Dialogs\DeleteBranchesWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Dialogs\DeleteOutdatedBranchesWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Dialogs\ExportChangedFilesWindow.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Dialogs\CompareBranchWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Dialogs\BranchPickerWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="ToolWindows\CompareBranchesControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<VSCTCompile Include="GitMenuExtPackage.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
</VSCTCompile>
</ItemGroup>
<ItemGroup>
<None Include="GitMenuExtPackage.vsct" />
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
</None>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<!-- Extension display icon: packaged into VSIX for vsixmanifest <Icon> reference -->
<Content Include="Icon.png">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<!-- Marketplace detail page / license: packaged into VSIX for vsixmanifest Details/License resource references -->
<Content Include="README.md">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="LICENSE">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- VSSDK real packaging targets (vsct compilation / pkgdef / vsix / deployment).
NuGet only auto-imports the build\ shell that sets environment variables; manually import the real ones under tools\VSSDK. -->
<Import Project="$(PkgMicrosoft_VSSDK_BuildTools)\tools\VSSDK\Microsoft.VsSDK.targets" Condition="'$(PkgMicrosoft_VSSDK_BuildTools)' != ''" />
<ItemGroup>
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.sdk.analyzers\15.8.33\build\AdditionalFiles\vs-threading.MainThreadAssertingMethods.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.sdk.analyzers\15.8.33\build\AdditionalFiles\vs-threading.MainThreadSwitchingMethods.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.sdk.analyzers\15.8.33\build\AdditionalFiles\vs-threading.MembersRequiringMainThread.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.threading.analyzers\17.0.64\build\AdditionalFiles\vs-threading.LegacyThreadSwitchingMembers.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.threading.analyzers\17.0.64\build\AdditionalFiles\vs-threading.MainThreadAssertingMethods.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.threading.analyzers\17.0.64\build\AdditionalFiles\vs-threading.MainThreadSwitchingMethods.txt" />
<AdditionalFiles Remove="C:\Users\xunqinbo\.nuget\packages\microsoft.visualstudio.threading.analyzers\17.0.64\build\AdditionalFiles\vs-threading.MembersRequiringMainThread.txt" />
</ItemGroup>
</Project>