blob: 34e67e4bb59b044bd80109448c8ef563b3c0def4 (
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
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
|
<ExtensionModel>
<Runtime>
<Import assembly="MonoDevelop.Packaging.dll" />
<Import file="Templates/CrossPlatformLibrary.xpt.xml" />
<Import file="Templates/PackagingProject.xpt.xml" />
</Runtime>
<ConditionType id="ProjectHasNuGetMetadata" type="MonoDevelop.Packaging.ProjectHasNuGetMetadataCondition" />
<Extension path="/MonoDevelop/ProjectModel/MSBuildItemTypes">
<DotNetProjectType
language="NuGet.Packaging"
extension="nuproj"
guid="{5DD5E4FA-CB73-4610-85AB-557B54E96AA9}"
type="MonoDevelop.Packaging.PackagingProject"
alias="NuGetPackaging"
msbuildSupport="Required" />
</Extension>
<Extension path="/MonoDevelop/ProjectModel/ProjectModelExtensions">
<ProjectFlavor
id="MonoDevelop.Packaging.PackagingProjectFlavor"
guid="{5DD5E4FA-CB73-4610-85AB-557B54E96AA9}"
type="MonoDevelop.Packaging.PackagingProjectFlavor"
alias="NuGetPackaging">
</ProjectFlavor>
<Class class="MonoDevelop.Packaging.DotNetProjectPackagingExtension" />
</Extension>
<!--
Need to define a language binding otherwise it is not possible to
open a .nuproj since the DotNetProject.SupportsPartialTypes is called
when initializing a project and it requires a non-null language binding.
-->
<Extension path="/MonoDevelop/ProjectModel/LanguageBindings">
<LanguageBinding
id="NuGet.Packaging"
extensions=".nuproj" />
</Extension>
<Extension path="/MonoDevelop/ProjectModel/MSBuildGlobalPropertyProviders">
<Type
id="NuGetPackagingMSBuildPropertyProvider"
class="MonoDevelop.Packaging.MSBuildGlobalPropertyProvider" />
</Extension>
<Extension path="/MonoDevelop/Ide/ProjectTemplates">
<ProjectTemplate id="MonoDevelop.Packaging.Project" file="Templates/PackagingProject.xpt.xml"/>
<ProjectTemplate id="MonoDevelop.Packaging.CrossPlatformLibrary" file="Templates/CrossPlatformLibrary.xpt.xml"/>
</Extension>
<Extension path="/MonoDevelop/Ide/ProjectTemplateWizards">
<Class id="MonoDevelop.Packaging.ProjectTemplateWizard" class="MonoDevelop.Packaging.Templating.PackagingProjectTemplateWizard" />
<Class id="MonoDevelop.Packaging.CrossPlatformLibraryTemplateWizard" class="MonoDevelop.Packaging.Templating.CrossPlatformLibraryTemplateWizard" />
</Extension>
<Extension path="/MonoDevelop/ProjectModel/Gui/ItemOptionPanels">
<Section id="NuGetPackage" _label="NuGet Package">
<ComplexCondition>
<And>
<Condition id="ItemType" value="DotNetProject" />
<Not>
<Condition id="ItemType" value="MonoDevelop.Packaging.PackagingProject" />
</Not>
</And>
<Section
id="Build"
_label="Build"
fill="true"
class="MonoDevelop.Packaging.OptionPanels.ProjectNuGetBuildOptionsPanel" />
</ComplexCondition>
<Condition id="ItemType" value="MonoDevelop.Packaging.PackagingProject|DotNetProject">
<Section
id="Metadata"
_label="Metadata"
icon="md-prefs-metadata"
fill="true"
class="MonoDevelop.Packaging.OptionPanels.NuGetPackageMetadataOptionsPanel" />
</Condition>
<Condition id="ItemType" value="MonoDevelop.Packaging.PackagingProject">
<Section
id="ReferenceAssemblies"
_label="Reference Assemblies"
icon="md-prefs-package"
fill="true"
class="MonoDevelop.Packaging.OptionPanels.ReferenceAssembliesOptionsPanel" />
</Condition>
</Section>
</Extension>
<Extension path="/MonoDevelop/Ide/Commands">
<Category _name="NuGet" id="NuGet">
<Command
id="MonoDevelop.Packaging.Commands.CreateNuGetPackage"
_description="Creates a NuGet package"
_label="Create NuGet _Package"
defaultHandler="MonoDevelop.Packaging.CreateNuGetPackageHandler" />
<Command
id="MonoDevelop.Packaging.Commands.AddPlatformImplementation"
_description="Adds platform specific implementation for a cross platform project"
_label="Add _Platform Implementation..."
defaultHandler="MonoDevelop.Packaging.AddPlatformImplementationHandler" />
</Category>
</Extension>
<Extension path="/MonoDevelop/Ide/MainMenu/Build">
<Condition id="ProjectHasNuGetMetadata">
<SeparatorItem
id="CreateNuGetPackageSeparator"
insertafter="MonoDevelop.Ide.Commands.ProjectCommands.Clean"
insertbefore="Separator1" />
<CommandItem
id="MonoDevelop.Packaging.Commands.CreateNuGetPackage"
insertafter="CreateNuGetPackageSeparator"
insertbefore="Separator1" />
</Condition>
</Extension>
<Extension path="/MonoDevelop/Ide/ContextMenu/ProjectPad">
<ComplexCondition>
<And>
<Condition id="ItemType" value="DotNetProject|MonoDevelop.Packaging.PackagingProject" />
<Condition id="ProjectHasNuGetMetadata" />
</And>
<SeparatorItem
id="CreateNuGetPackageSeparator"
insertafter="MonoDevelop.Ide.Commands.ProjectCommands.Unload"
insertbefore="MonoDevelop.Ide.Commands.ProjectCommands.CustomCommandList" />
<CommandItem
id="MonoDevelop.Packaging.Commands.CreateNuGetPackage"
insertafter="CreateNuGetPackageSeparator"
insertbefore="MonoDevelop.Ide.Commands.ProjectCommands.CustomCommandList" />
</ComplexCondition>
</Extension>
<Extension path="/MonoDevelop/Ide/ContextMenu/ProjectPad/Add">
<ComplexCondition>
<And>
<Condition id="ItemType" value="DotNetProject" />
<Condition id="ProjectHasNuGetMetadata" />
</And>
<CommandItem
id="MonoDevelop.Packaging.Commands.AddPlatformImplementation"
insertafter="MonoDevelop.PackageManagement.Commands.AddPackages"
insertbefore="MonoDevelop.WebReferences.WebReferenceCommands.Add" />
</ComplexCondition>
</Extension>
<Extension path="/MonoDevelop/DesignerSupport/PropertyProviders">
<Class class="MonoDevelop.Packaging.NuGetFilePropertyProvider" />
<Class class="MonoDevelop.Packaging.NuGetProjectReferencePropertyProvider" />
</Extension>
</ExtensionModel>
|