Skip to content

Commit b14fcdc

Browse files
committed
(split from main repo) Convert projects to SDK-style
* Convert all primary C# projects (i.e. not externals) to SDK-style * Remove all excluded files
1 parent 503e9da commit b14fcdc

File tree

1 file changed

+15
-146
lines changed

1 file changed

+15
-146
lines changed

Gerrit.csproj

Lines changed: 15 additions & 146 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,35 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>8.0.30703</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{EC6988F6-0E8E-42D2-8E41-E562C5FB65BC}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>Gerrit</RootNamespace>
12-
<AssemblyName>Gerrit</AssemblyName>
13-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
14-
<RuntimeIdentifier>win</RuntimeIdentifier>
15-
<FileAlignment>512</FileAlignment>
16-
<TargetFrameworkProfile>
17-
</TargetFrameworkProfile>
18-
</PropertyGroup>
19-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20-
<DebugSymbols>true</DebugSymbols>
21-
<DebugType>full</DebugType>
22-
<Optimize>false</Optimize>
23-
<OutputPath>bin\Debug\</OutputPath>
24-
<DefineConstants>DEBUG;TRACE</DefineConstants>
25-
<ErrorReport>prompt</ErrorReport>
26-
<WarningLevel>4</WarningLevel>
27-
<Prefer32Bit>false</Prefer32Bit>
28-
<CodeAnalysisRuleSet>..\..\GitExtensions.ruleset</CodeAnalysisRuleSet>
29-
<DocumentationFile>bin\Debug\Gerrit.xml</DocumentationFile>
30-
</PropertyGroup>
31-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
32-
<DebugType>pdbonly</DebugType>
33-
<Optimize>true</Optimize>
34-
<OutputPath>bin\Release\</OutputPath>
35-
<DefineConstants>TRACE</DefineConstants>
36-
<ErrorReport>prompt</ErrorReport>
37-
<WarningLevel>4</WarningLevel>
38-
<Prefer32Bit>false</Prefer32Bit>
39-
<CodeAnalysisRuleSet>..\..\GitExtensions.ruleset</CodeAnalysisRuleSet>
40-
<DocumentationFile>bin\Release\Gerrit.xml</DocumentationFile>
41-
</PropertyGroup>
1+
<Project Sdk="Microsoft.NET.Sdk">
422
<ItemGroup>
433
<Reference Include="System" />
444
<Reference Include="System.ComponentModel.Composition" />
455
<Reference Include="System.Drawing" />
466
<Reference Include="System.Windows.Forms" />
477
<Reference Include="netstandard" />
488
</ItemGroup>
9+
4910
<ItemGroup>
5011
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
5112
</ItemGroup>
13+
5214
<ItemGroup>
53-
<Compile Include="FormPluginInformation.cs">
54-
<SubType>Form</SubType>
55-
</Compile>
56-
<Compile Include="FormPluginInformation.Designer.cs">
57-
<DependentUpon>FormPluginInformation.cs</DependentUpon>
58-
</Compile>
59-
<Compile Include="FormGerritBase.cs">
60-
<SubType>Form</SubType>
61-
</Compile>
62-
<Compile Include="FormGerritChangeSubmitted.cs">
63-
<SubType>Form</SubType>
64-
</Compile>
65-
<Compile Include="FormGerritChangeSubmitted.Designer.cs">
66-
<DependentUpon>FormGerritChangeSubmitted.cs</DependentUpon>
67-
</Compile>
68-
<Compile Include="FormGerritDownload.cs">
69-
<SubType>Form</SubType>
70-
</Compile>
71-
<Compile Include="FormGerritDownload.Designer.cs">
72-
<DependentUpon>FormGerritDownload.cs</DependentUpon>
73-
</Compile>
74-
<Compile Include="FormGerritPublish.cs">
75-
<SubType>Form</SubType>
76-
</Compile>
77-
<Compile Include="FormGerritPublish.Designer.cs">
78-
<DependentUpon>FormGerritPublish.cs</DependentUpon>
79-
</Compile>
80-
<Compile Include="FormGitReview.cs">
81-
<SubType>Form</SubType>
82-
</Compile>
83-
<Compile Include="FormGitReview.Designer.cs">
84-
<DependentUpon>FormGitReview.cs</DependentUpon>
85-
</Compile>
86-
<Compile Include="GerritPlugin.cs" />
87-
<Compile Include="GerritSettings.cs" />
88-
<Compile Include="GerritSettingsException.cs" />
89-
<Compile Include="GerritUtil.cs" />
90-
<Compile Include="..\..\CommonAssemblyInfo.cs">
91-
<Link>Properties\CommonAssemblyInfo.cs</Link>
92-
</Compile>
93-
<Compile Include="Properties\AssemblyInfo.cs" />
94-
<Compile Include="Properties\Resources.Designer.cs">
95-
<AutoGen>True</AutoGen>
96-
<DesignTime>True</DesignTime>
97-
<DependentUpon>Resources.resx</DependentUpon>
98-
</Compile>
99-
<Compile Include="Server\CommandBuilder.cs" />
100-
<Compile Include="Server\CommandBuilderWithDraftSupport.cs" />
101-
<Compile Include="Server\CommandBuilderWithPrivateSupport.cs" />
102-
<Compile Include="Server\GerritCapabilities.cs" />
103-
</ItemGroup>
104-
<ItemGroup>
105-
<ProjectReference Include="..\..\GitCommands\GitCommands.csproj">
106-
<Project>{BD6AA2A2-997D-4AFF-ACC7-B64F6E51D181}</Project>
107-
<Name>GitCommands</Name>
108-
<Private>False</Private>
109-
</ProjectReference>
110-
<ProjectReference Include="..\..\GitExtUtils\GitExtUtils.csproj">
111-
<Project>{0F1F1168-A4B2-4FA2-B17B-735140D17F39}</Project>
112-
<Name>GitExtUtils</Name>
113-
</ProjectReference>
114-
<ProjectReference Include="..\..\GitUI\GitUI.csproj">
115-
<Project>{CF5B22E7-230F-4E50-BE88-C4F7023CED2C}</Project>
116-
<Name>GitUI</Name>
117-
<Private>False</Private>
118-
</ProjectReference>
119-
<ProjectReference Include="..\..\ResourceManager\ResourceManager.csproj">
120-
<Project>{D3440FD7-AFC5-4351-8741-6CDBF15CE944}</Project>
121-
<Name>ResourceManager</Name>
122-
<Private>False</Private>
123-
</ProjectReference>
124-
<ProjectReference Include="..\GitUIPluginInterfaces\GitUIPluginInterfaces.csproj">
125-
<Project>{27559302-F35E-4B62-A6EC-11FF21A5FA6F}</Project>
126-
<Name>GitUIPluginInterfaces</Name>
127-
<Private>False</Private>
128-
</ProjectReference>
129-
</ItemGroup>
130-
<ItemGroup>
131-
<EmbeddedResource Include="FormPluginInformation.resx">
132-
<DependentUpon>FormPluginInformation.cs</DependentUpon>
133-
<SubType>Designer</SubType>
134-
</EmbeddedResource>
135-
<EmbeddedResource Include="FormGerritChangeSubmitted.resx">
136-
<DependentUpon>FormGerritChangeSubmitted.cs</DependentUpon>
137-
</EmbeddedResource>
138-
<EmbeddedResource Include="FormGerritDownload.resx">
139-
<DependentUpon>FormGerritDownload.cs</DependentUpon>
140-
</EmbeddedResource>
141-
<EmbeddedResource Include="FormGerritPublish.resx">
142-
<DependentUpon>FormGerritPublish.cs</DependentUpon>
143-
</EmbeddedResource>
144-
<EmbeddedResource Include="FormGitReview.resx">
145-
<DependentUpon>FormGitReview.cs</DependentUpon>
146-
<SubType>Designer</SubType>
147-
</EmbeddedResource>
148-
<EmbeddedResource Include="Properties\Resources.resx">
149-
<Generator>ResXFileCodeGenerator</Generator>
150-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
151-
</EmbeddedResource>
15+
<ProjectReference Include="..\..\GitCommands\GitCommands.csproj" />
16+
<ProjectReference Include="..\..\GitExtUtils\GitExtUtils.csproj" />
17+
<ProjectReference Include="..\..\GitUI\GitUI.csproj" />
18+
<ProjectReference Include="..\..\ResourceManager\ResourceManager.csproj" />
19+
<ProjectReference Include="..\GitUIPluginInterfaces\GitUIPluginInterfaces.csproj" />
15220
</ItemGroup>
21+
15322
<ItemGroup>
15423
<None Include="app.config" />
15524
<None Include="Resources\GerritPublish.png" />
156-
</ItemGroup>
157-
<ItemGroup>
15825
<None Include="Resources\GerritDownload.png" />
26+
<None Include="Resources\GerritInstallHook.png" />
27+
<None Include="Resources\IconGerrit.png" />
15928
</ItemGroup>
29+
16030
<ItemGroup>
161-
<Content Include="Resources\GerritInstallHook.png" />
162-
<None Include="Resources\IconGerrit.png" />
31+
<!-- Resources -->
32+
<EmbeddedResource Update="Properties\Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" />
16333
</ItemGroup>
164-
<ItemGroup />
165-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
34+
16635
</Project>

0 commit comments

Comments
 (0)