blob: 12b8faf1fc3dd06ded950f4c5797b6c94ef7c21c (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<PropertyGroup>
<_IsSdkStyleProject>false</_IsSdkStyleProject>
<_IsSdkStyleProject Condition="'$(Configurations)' != '' and '$(Platforms)' != ''">true</_IsSdkStyleProject>
<!-- target framework for the core and addins -->
<MDFrameworkVersion>v4.7.2</MDFrameworkVersion>
<MDTargetFramework>net472</MDTargetFramework>
<!--
for sdk-style projects we can set the value directly.
old-style projects need to set it themselves or some IDE stuff breaks.
-->
<TargetFramework Condition="'$(_IsSdkStyleProject)'=='true'">$(MDTargetFramework)</TargetFramework>
</PropertyGroup>
<!-- set some common AssemblyInfo values so SDK-style projects don't have to set them -->
<PropertyGroup>
<AssemblyVersion>2.6.0</AssemblyVersion>
<AssemblyProduct>MonoDevelop</AssemblyProduct>
</PropertyGroup>
<!--
Sign assemblies so they get IVT access to Roslyn.
-->
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<PublicSign>True</PublicSign>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\MonoDevelop-Public.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<DownloadNupkgDirectory>$(MSBuildThisFileDirectory)..\packages\</DownloadNupkgDirectory>
</PropertyGroup>
<!-- set a bunch of default value the project can override -->
<PropertyGroup>
<OutputType>Library</OutputType>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(MSBuildProjectName)</RootNamespace>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(ShortEmbeddedResourceIDs)'!='False'">
<EmbeddedResource>
<LogicalName>%(Filename)%(Extension)</LogicalName>
</EmbeddedResource>
</ItemDefinitionGroup>
<ItemGroup Condition=" '$(MD_PERF_ANALYZERS_ENABLED)' == 'true' ">
<!-- ErrorProne.NET.Structs -->
<Analyzer Include="$(PackagesDirectory)\ErrorProne.NET.Structs.$(NuGetVersionErrorProneNetStructs)\analyzers\dotnet\cs\ErrorProne.Net.StructAnalyzers.dll" />
<!-- ClrHeapAllocationAnalyzer -->
<Analyzer Include="$(PackagesDirectory)\ClrHeapAllocationAnalyzer.$(NuGetVersionAllocationAnalyzer)\analyzers\dotnet\cs\ClrHeapAllocationAnalyzer.dll" />
</ItemGroup>
<PropertyGroup>
<MonoDevelopDevAnalyzer>$(PackagesDirectory)\MonoDevelopDev.Analyzers.$(NugetVersionMonoDevelopAnalyzers)\analyzers\dotnet\cs\MonoDevelop.Analyzers.dll</MonoDevelopDevAnalyzer>
</PropertyGroup>
<ItemGroup>
<Analyzer Include="$(MonoDevelopDevAnalyzer)" Condition="Exists('$(MonoDevelopDevAnalyzer)')" />
</ItemGroup>
<!-- hide these items from VS -->
<ItemDefinitionGroup>
<IncludeCopyLocal>
<Visible>False</Visible>
</IncludeCopyLocal>
<SuppressCopyLocal>
<Visible>False</Visible>
</SuppressCopyLocal>
<DownloadNupkg>
<Visible>False</Visible>
</DownloadNupkg>
</ItemDefinitionGroup>
<!-- default items -->
<ItemGroup Condition="'$(EnableDefaultItems)' == 'true'">
<EmbeddedResource Include="**\*.addin.xml" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<!-- default refs. the TargetFramework check is to exclude RefactoringEssentials -->
<ItemGroup Condition="'$(AddMonoDevelopCoreReferences)' == 'true'">
<Reference Include="System.ComponentModel.Composition" />
<ProjectReference Include="$(MonoDevelopRootDir)src\core\MonoDevelop.Core\MonoDevelop.Core.csproj" Private="False" />
<ProjectReference Include="$(MonoDevelopRootDir)src\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj" Private="False" />
<ProjectReference Include="$(MonoDevelopRootDir)external\mono-addins\Mono.Addins\Mono.Addins.csproj" Private="False" />
</ItemGroup>
</Project>
|