|
1 |
| -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <Import Project="..\..\..\..\MonoDevelop.props" />
|
3 | 3 | <Import Project="$(ReferencesGtk)" />
|
4 | 4 | <PropertyGroup>
|
5 |
| - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 |
| - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 5 | + <TargetFramework>$(MDTargetFramework)</TargetFramework> |
7 | 6 | <ProjectGuid>{0413DB7D-8B35-423F-9752-D75C9225E7DE}</ProjectGuid>
|
8 |
| - <TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion> |
9 | 7 | <OutputPath>..\..\..\..\build\AddIns\VersionControl</OutputPath>
|
| 8 | + <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems> |
| 9 | + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
| 10 | + <DefineConstants>$(DefineConstants);NoSshUserKeyCredentials</DefineConstants> |
10 | 11 | </PropertyGroup>
|
11 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " /> |
12 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " /> |
13 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMac|AnyCPU' " /> |
14 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugGnome|AnyCPU' " /> <
E377
/td> |
15 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWin32|AnyCPU' " /> |
16 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseWin32|AnyCPU' " /> |
17 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMac|AnyCPU' " /> |
18 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseGnome|AnyCPU' " /> |
19 | 12 | <ItemGroup>
|
20 |
| - <Reference Include="System" /> |
21 |
| - <Reference Include="System.Core" /> |
22 |
| - <Reference Include="System.Net.Http" /> |
23 |
| - </ItemGroup> |
24 |
| - <ItemGroup> |
25 |
| - <Compile Include="AssemblyInfo.cs" /> |
26 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitClient.cs" /> |
27 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitVersionControl.cs" /> |
28 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitRepository.cs" /> |
29 |
| - <Compile Include="MonoDevelop.VersionControl.Git\Commands.cs" /> |
30 |
| - <Compile Include="MonoDevelop.VersionControl.Git\PushDialog.cs" /> |
31 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitNodeBuilderExtension.cs" /> |
32 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitService.cs" /> |
33 |
| - <Compile Include="MonoDevelop.VersionControl.Git\UserInfoConflictDialog.cs" /> |
34 |
| - <Compile Include="MonoDevelop.VersionControl.Git\ConflictResolutionDialog.cs" /> |
35 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitConfigurationDialog.cs" /> |
36 |
| - <Compile Include="MonoDevelop.VersionControl.Git\EditBranchDialog.cs" /> |
37 |
| - <Compile Include="MonoDevelop.VersionControl.Git\EditRemoteDialog.cs" /> |
38 |
| - <Compile Include="MonoDevelop.VersionControl.Git\MergeDialog.cs" /> |
39 |
| - <Compile Include="MonoDevelop.VersionControl.Git\Stash.cs" /> |
40 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitUtil.cs" /> |
41 |
| - <Compile Include="MonoDevelop.VersionControl.Git\CredentialsDialog.cs" /> |
42 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitCredentials.cs" /> |
43 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitOptionsPanelWidget.cs" /> |
44 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitOptionsPanel.cs" /> |
45 |
| - <Compile Include="MonoDevelop.VersionControl.Git\StashManagerDialog.cs" /> |
46 |
| - <Compile Include="MonoDevelop.VersionControl.Git\NewStashDialog.cs" /> |
47 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitCommitDialogExtensionWidget.cs" /> |
48 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitCommitDialogExtension.cs" /> |
49 |
| - <Compile Include="MonoDevelop.VersionControl.Git\UserGitConfigDialog.cs" /> |
50 |
| - <Compile Include="MonoDevelop.VersionControl.Git\GitSelectRevisionDialog.cs" /> |
51 |
| - <Compile Include="AddinInfo.cs" /> |
52 |
| - <Compile Include="MonoDevelop.VersionControl.Git\ProjectTemplateHandler.cs" /> |
53 |
| - <Compile Include="MonoDevelop.VersionControl.Git\TfsSmartSubtransport.cs" /> |
54 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.ConflictResolutionDialog.cs" /> |
55 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.CredentialsDialog.cs" /> |
56 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.EditBranchDialog.cs" /> |
57 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.EditRemoteDialog.cs" /> |
58 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.GitCommitDialogExtensionWidget.cs" /> |
59 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.GitConfigurationDialog.cs" /> |
60 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.GitOptionsPanelWidget.cs" /> |
61 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.MergeDialog.cs" /> |
62 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.NewStashDialog.cs" /> |
63 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.PushDialog.cs" /> |
64 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.StashManagerDialog.cs" /> |
65 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.UserGitConfigDialog.cs" /> |
66 |
| - <Compile Include="Gui\MonoDevelop.VersionControl.Git.UserInfoConflictDialog.cs" /> |
67 |
| - <Compile Include="MonoDevelop.VersionControl.Git\IGitCredentialsProvider.cs" /> |
68 |
| - <Compile Include="MonoDevelop.VersionControl.Git\XwtCredentialsDialog.cs" /> |
69 |
| - </ItemGroup> |
70 |
| - <ItemGroup> |
71 |
| - <ProjectReference Include="..\..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj"> |
72 |
| - <Project>{7525BB88-6142-4A26-93B9-A30C6983390A}</Project> |
73 |
| - <Name>MonoDevelop.Core</Name> |
74 |
| - <Private>False</Private> |
75 |
| - </ProjectReference> |
76 |
| - <ProjectReference Include="..\..\..\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj"> |
77 |
| - <Project>{27096E7F-C91C-4AC6-B289-6897A701DF21}</Project> |
78 |
| - <Name>MonoDevelop.Ide</Name> |
79 |
| - <Private>False</Private> |
80 |
| - </ProjectReference> |
81 |
| - <ProjectReference Include="..\MonoDevelop.VersionControl\MonoDevelop.VersionControl.csproj"> |
82 |
| - <Project>{19DE0F35-D204-4FD8-A553-A19ECE05E24D}</Project> |
83 |
| - <Name>MonoDevelop.VersionControl</Name> |
84 |
| - <Private>False</Private> |
85 |
| - </ProjectReference> |
86 |
| - <ProjectReference Include="..\..\..\..\external\xwt\Xwt\Xwt.csproj"> |
87 |
| - <Project>{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}</Project> |
88 |
| - <Name>Xwt</Name> |
89 |
| - <Private>False</Private> |
90 |
| - </ProjectReference> |
91 |
| - <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj"> |
92 |
| - <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project> |
93 |
| - <Name>Mono.Addins</Name> |
94 |
| - <Private>False</Private> |
95 |
| - </ProjectReference> |
96 |
| - <ProjectReference Include="..\..\..\..\external\libgit2sharp\LibGit2Sharp\LibGit2Sharp.csproj"> |
97 |
| - <Project>{EE6ED99F-CB12-4683-B055-D28FC7357A34}</Project> |
98 |
| - <Name>LibGit2Sharp</Name> |
99 |
| - </ProjectReference> |
100 |
| - <ProjectReference Include="..\..\..\..\external\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj"> |
101 |
| - <Project>{3B2A5653-EC97-4001-BB9B-D90F1AF2C371}</Project> |
102 |
| - <Name>ICSharpCode.NRefactory</Name> |
103 |
| - <Private>False</Private> |
104 |
| - </ProjectReference> |
105 |
| - <ProjectReference Include="..\..\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor.csproj"> |
106 |
| - <Project>{F8F92AA4-A376-4679-A9D4-60E7B7FBF477}</Project> |
107 |
| - <Name>MonoDevelop.SourceEditor</Name> |
108 |
| - <Private>False</Private> |
109 |
| - </ProjectReference> |
110 |
| - </ItemGroup> |
111 |
| - <ItemGroup> |
112 |
| - <EmbeddedResource Include="MonoDevelop.VersionControl.Git.addin.xml" /> |
| 13 | + <ProjectReference Include="..\..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj" /> |
| 14 | + <ProjectReference Include="..\..\..\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj" /> |
| 15 | + <ProjectReference Include="..\MonoDevelop.VersionControl\MonoDevelop.VersionControl.csproj" /> |
| 16 | + <ProjectReference Include="..\..\..\..\external\xwt\Xwt\Xwt.csproj" /> |
| 17 | + <ProjectReference Include="..\..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj" /> |
| 18 | + <ProjectReference Include="..\..\..\..\external\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj" /> |
| 19 | + <ProjectReference Include="..\..\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor.csproj" /> |
113 | 20 | </ItemGroup>
|
114 | 21 | <ItemGroup Condition=" '$(Configuration)' == 'DebugWin32' OR '$(Configuration)' == 'ReleaseWin32' ">
|
115 | 22 | <EmbeddedResource Include="MonoDevelop.VersionControl.Git.Win32.addin.xml" />
|
116 | 23 | </ItemGroup>
|
117 | 24 | <ItemGroup>
|
118 |
| - <None Include="GitIgnore.txt"> |
119 |
| - <Gettext-ScanForTranslations>False</Gettext-ScanForTranslations> |
120 |
| - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
121 |
| - </None> |
122 |
| - <None Include="..\..\..\..\external\libgit-binary\libgit2.license.txt"> |
123 |
| - <Link>libgit2.license.txt</Link> |
124 |
| - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
125 |
| - </None> |
126 |
| - <None Include="..\..\..\..\external\libgit-binary\libssh2.license.txt"> |
127 |
| - <Link>libssh2.license.txt</Link> |
128 |
| - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
129 |
| - </None> |
130 |
| - <IncludeCopyLocal Include="LibGit2Sharp.dll" /> |
| 25 | + <InternalsVisibleTo Include="MonoDevelop.VersionControl.Git.Tests" /> |
131 | 26 | </ItemGroup>
|
132 | 27 | <ItemGroup>
|
133 | <
E545
/td> | - <InternalsVisibleTo Include="MonoDevelop.VersionControl.Git.Tests" /> |
| 28 | + <PackageReference Include="LibGit2Sharp" Version="0.27.0-preview-0096" /> |
| 29 | + <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net472" Version="1.0.0"> |
| 30 | + <PrivateAssets>all</PrivateAssets> |
| 31 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 32 | + </PackageReference> |
134 | 33 | </ItemGroup>
|
135 |
| - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
136 |
| - <Choose> |
137 |
| - <When Condition=" '$(Configuration)' == 'DebugMac' OR '$(Configuration)' == 'ReleaseMac' "> |
138 |
| - <ItemGroup> |
139 |
| - <NativeBinaries Include="..\..\..\..\external\libgit-binary\mac\*.dylib" /> |
140 |
| - </ItemGroup> |
141 |
| - </When> |
142 |
| - <When Condition=" '$(Configuration)' == 'DebugWin32' OR '$(Configuration)' == 'ReleaseWin32' "> |
143 |
| - <ItemGroup> |
144 |
| - <NativeBinaries Include="..\..\..\..\external\libgit-binary\windows\*.*" /> |
145 |
| - </ItemGroup> |
146 |
| - </When> |
147 |
| - </Choose> |
148 |
| - <Target Name="BeforeBuild"> |
149 |
| - <Exec Command="bash build_libgit2.sh" Condition=" '$(Configuration)' == 'DebugGnome' OR '$(Configuration)' == 'ReleaseGnome' " /> |
150 |
| - </Target> |
151 |
| - <Target Name="AfterBuild"> |
152 |
| - <ItemGroup Condition=" '$(Configuration)' == 'DebugGnome' OR '$(Configuration)' == 'ReleaseGnome' "> |
153 |
| - <NativeBinaries Include="..\..\..\..\external\libgit2\build\*.so*" /> |
154 |
| - </ItemGroup> |
155 |
| - <Copy SourceFiles="@(NativeBinaries)" DestinationFolder="$(OutputPath)\" SkipUnchangedFiles="true" /> |
156 |
| - </Target> |
157 | 34 | </Project>
|
0 commit comments