Skip to content

Commit d2c1a4b

Browse files
committed
Replace reference to XML in csproj with reference to help folder
1 parent 8810c06 commit d2c1a4b

File tree

48 files changed

+280
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+280
-245
lines changed

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Azure.AnalysisServices.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ NestedModules = @(
6565
FunctionsToExport = '*'
6666

6767
# Cmdlets to export from this module
68-
CmdletsToExport = '*'
68+
CmdletsToExport = 'Add-AzureAnalysisServicesAccount',
69+
'Restart-AzureAnalysisServicesInstance'
6970

7071
# Variables to export from this module
7172
VariablesToExport = '*'

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,11 @@
130130
</ProjectReference>
131131
</ItemGroup>
132132
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
133+
<Target Name="AfterBuild">
134+
<ItemGroup>
135+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
136+
</ItemGroup>
137+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
138+
</Target>
133139
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
134140
</Project>

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands.AnalysisServices.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@
117117
<Link>AzureRM.AnalysisServices.psd1</Link>
118118
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
119119
</None>
120-
<Content Include="Microsoft.Azure.Commands.AnalysisServices.dll-help.xml">
121-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
122-
</Content>
123120
<None Include="MSSharedLibKey.snk" />
124121
<None Include="packages.config">
125122
<SubType>Designer</SubType>
@@ -147,5 +144,11 @@
147144
</ProjectReference>
148145
</ItemGroup>
149146
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
147+
<Target Name="AfterBuild">
148+
<ItemGroup>
149+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
150+
</ItemGroup>
151+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
152+
</Target>
150153
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
151154
</Project>

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,6 @@
292292
</ProjectReference>
293293
</ItemGroup>
294294
<ItemGroup>
295-
<Content Include="Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml">
296-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
297-
</Content>
298295
<None Include="..\AzureRM.ApiManagement.psd1">
299296
<Link>AzureRM.ApiManagement.psd1</Link>
300297
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -307,4 +304,10 @@
307304
</ItemGroup>
308305
<ItemGroup />
309306
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
307+
<Target Name="AfterBuild">
308+
<ItemGroup>
309+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
310+
</ItemGroup>
311+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
312+
</Target>
310313
</Project>

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@
209209
</ProjectReference>
210210
</ItemGroup>
211211
<ItemGroup>
212-
<Content Include="Microsoft.Azure.Commands.ApiManagement.dll-help.xml">
213-
<SubType>Designer</SubType>
214-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
215-
</Content>
216212
<None Include="..\AzureRM.ApiManagement.psd1">
217213
<Link>AzureRM.ApiManagement.psd1</Link>
218214
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -226,4 +222,10 @@
226222
<WCFMetadata Include="Service References\" />
227223
</ItemGroup>
228224
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
225+
<Target Name="AfterBuild">
226+
<ItemGroup>
227+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
228+
</ItemGroup>
229+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
230+
</Target>
229231
</Project>

src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,6 @@
251251
<DependentUpon>Resources.resx</DependentUpon>
252252
</Compile>
253253
</ItemGroup>
254-
<ItemGroup>
255-
<Content Include="Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml">
256-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
257-
<SubType>Designer</SubType>
258-
</Content>
259-
</ItemGroup>
260254
<ItemGroup>
261255
<Compile Include="Common\CompilationJobStreamType.cs" />
262256
<None Include="..\AzureRM.Automation.psd1">
@@ -290,4 +284,10 @@
290284
</ProjectReference>
291285
</ItemGroup>
292286
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
293-
</Project>
287+
<Target Name="AfterBuild">
288+
<ItemGroup>
289+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
290+
</ItemGroup>
291+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
292+
</Target>
293+
</Project>

src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,6 @@
214214
</EmbeddedResource>
215215
</ItemGroup>
216216
<ItemGroup>
217-
<Content Include="Microsoft.Azure.Commands.AzureBackup.dll-help.xml">
218-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
219-
</Content>
220217
<Content Include="Resources\Microsoft.WindowsAzure.Management.Common.dll" />
221218
<Content Include="Resources\Security.Cryptography.dll" />
222219
</ItemGroup>
@@ -236,4 +233,10 @@
236233
</ItemGroup>
237234
<ItemGroup />
238235
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
236+
<Target Name="AfterBuild">
237+
<ItemGroup>
238+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
239+
</ItemGroup>
240+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
241+
</Target>
239242
</Project>

src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,6 @@
382382
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
383383
</EmbeddedResource>
384384
</ItemGroup>
385-
<ItemGroup>
386-
<Content Include="Microsoft.Azure.Commands.Batch.dll-Help.xml">
387-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
388-
<SubType>Designer</SubType>
389-
</Content>
390-
</ItemGroup>
391385
<ItemGroup>
392386
<ProjectReference Include="..\..\..\Common\Commands.Common.Authentication\Commands.Common.Authentication.csproj">
393387
<Project>{d3804b64-c0d3-48f8-82ec-1f632f833c9e}</Project>
@@ -404,4 +398,10 @@
404398
</ItemGroup>
405399
<ItemGroup />
406400
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
401+
<Target Name="AfterBuild">
402+
<ItemGroup>
403+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
404+
</ItemGroup>
405+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
406+
</Target>
407407
</Project>

src/ResourceManager/Billing/Commands.Billing/Commands.Billing.csproj

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@
119119
<Link>AzureRM.Billing.psd1</Link>
120120
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
121121
</None>
122-
<None Include="help\AzureRM.Billing.md">
123-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
124-
</None>
125-
<None Include="help\Get-AzureRmBillingInvoice.md">
126-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
127-
</None>
128122
<None Include="MSSharedLibKey.snk" />
129123
<None Include="packages.config" />
130124
</ItemGroup>
@@ -138,12 +132,13 @@
138132
<ItemGroup>
139133
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
140134
</ItemGroup>
141-
<ItemGroup>
142-
<Content Include="Microsoft.Azure.Commands.Billing.dll-Help.xml">
143-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
144-
</Content>
145-
</ItemGroup>
146135
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
136+
<Target Name="AfterBuild">
137+
<ItemGroup>
138+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
139+
</ItemGroup>
140+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
141+
</Target>
147142
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
148143
Other similar extension points exist, see Microsoft.Common.targets.
149144
<Target Name="BeforeBuild">

src/ResourceManager/Cdn/Commands.Cdn/Commands.Cdn.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,6 @@
151151
<Compile Include="Subscription\GetAzureRmCdnEdgeNodes.cs" />
152152
<Compile Include="Subscription\GetAzureRmCdnSubscriptionResourceUsage.cs" />
153153
</ItemGroup>
154-
<ItemGroup>
155-
<Content Include="Microsoft.Azure.Commands.Cdn.dll-help.xml">
156-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
157-
<SubType>Designer</SubType>
158-
</Content>
159-
</ItemGroup>
160154
<ItemGroup>
161155
<ProjectReference Include="..\..\..\Common\Commands.Common.Authentication\Commands.Common.Authentication.csproj">
162156
<Project>{d3804b64-c0d3-48f8-82ec-1f632f833c9e}</Project>
@@ -198,4 +192,10 @@
198192
</ItemGroup>
199193
<ItemGroup />
200194
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
195+
<Target Name="AfterBuild">
196+
<ItemGroup>
197+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
198+
</ItemGroup>
199+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
200+
</Target>
201201
</Project>

src/ResourceManager/CognitiveServices/Commands.Management.CognitiveServices/Commands.Management.CognitiveServices.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@
140140
<None Include="Microsoft.Azure.Commands.Management.CognitiveServices.dll-Help.psd1">
141141
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
142142
</None>
143-
<Content Include="Microsoft.Azure.Commands.Management.CognitiveServices.dll-Help.xml">
144-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
145-
<SubType>Designer</SubType>
146-
</Content>
147143
<None Include="MSSharedLibKey.snk" />
148144
<None Include="packages.config" />
149145
</ItemGroup>
@@ -168,4 +164,10 @@
168164
</EmbeddedResource>
169165
</ItemGroup>
170166
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
167+
<Target Name="AfterBuild">
168+
<ItemGroup>
169+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
170+
</ItemGroup>
171+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
172+
</Target>
171173
</Project>

src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,12 @@
439439
<SubType>Designer</SubType>
440440
</EmbeddedResource>
441441
</ItemGroup>
442-
<ItemGroup>
443-
<Content Include="Microsoft.Azure.Commands.Compute.dll-Help.xml">
444-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
445-
<SubType>Designer</SubType>
446-
</Content>
447-
</ItemGroup>
448442
<ItemGroup />
449443
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
444+
<Target Name="AfterBuild">
445+
<ItemGroup>
446+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
447+
</ItemGroup>
448+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
449+
</Target>
450450
</Project>

src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,6 @@
258258
<SubType>Designer</SubType>
259259
</EmbeddedResource>
260260
</ItemGroup>
261-
<ItemGroup>
262-
<Content Include="Microsoft.Azure.Commands.DataFactories.dll-Help.xml">
263-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
264-
<SubType>Designer</SubType>
265-
</Content>
266-
</ItemGroup>
267261
<ItemGroup>
268262
<ProjectReference Include="..\..\..\Common\Commands.Common.Authentication\Commands.Common.Authentication.csproj">
269263
<Project>{d3804b64-c0d3-48f8-82ec-1f632f833c9e}</Project>
@@ -279,4 +273,10 @@
279273
</ProjectReference>
280274
</ItemGroup>
281275
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
276+
<Target Name="AfterBuild">
277+
<ItemGroup>
278+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
279+
</ItemGroup>
280+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
281+
</Target>
282282
</Project>

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands.DataLakeAnalytics.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,6 @@
163163
</Compile>
164164
</ItemGroup>
165165
<ItemGroup>
166-
<Content Include="Microsoft.Azure.Commands.DataLakeAnalytics.dll-help.xml">
167-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
168-
</Content>
169166
<Content Include="Microsoft.Azure.Commands.DataLakeAnalytics.format.ps1xml">
170167
<SubType>Designer</SubType>
171168
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
@@ -207,5 +204,11 @@
207204
</ProjectReference>
208205
</ItemGroup>
209206
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
207+
<Target Name="AfterBuild">
208+
<ItemGroup>
209+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
210+
</ItemGroup>
211+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
212+
</Target>
210213
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
211214
</Project>

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands.DataLakeStore.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@
180180
<Link>AzureRM.DataLakeStore.psd1</Link>
181181
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
182182
</None>
183-
<Content Include="Microsoft.Azure.Commands.DataLakeStore.dll-help.xml">
184-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
185-
</Content>
186183
<Content Include="Microsoft.Azure.Commands.DataLakeStoreFileSystem.format.ps1xml">
187184
<SubType>Designer</SubType>
188185
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
@@ -220,5 +217,11 @@
220217
</ProjectReference>
221218
</ItemGroup>
222219
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
220+
<Target Name="AfterBuild">
221+
<ItemGroup>
222+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
223+
</ItemGroup>
224+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
225+
</Target>
223226
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
224227
</Project>

src/ResourceManager/DevTestLabs/Commands.DevTestLabs/Commands.DevTestLabs.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@
173173
<Name>Commands.ResourceManager.Common</Name>
174174
</ProjectReference>
175175
</ItemGroup>
176-
<ItemGroup>
177-
<Content Include="Microsoft.Azure.Commands.DevTestLabs.dll-help.xml">
178-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
179-
</Content>
180-
</ItemGroup>
181176
<ItemGroup>
182177
<EmbeddedResource Include="Properties\Resources.resx">
183178
<SubType>Designer</SubType>
@@ -186,4 +181,10 @@
186181
</EmbeddedResource>
187182
</ItemGroup>
188183
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
184+
<Target Name="AfterBuild">
185+
<ItemGroup>
186+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
187+
</ItemGroup>
188+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
189+
</Target>
189190
</Project>

src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@
199199
<ItemGroup>
200200
<WCFMetadata Include="Service References\" />
201201
</ItemGroup>
202-
<ItemGroup>
203-
<Content Include="Microsoft.Azure.Commands.Dns.dll-Help.xml">
204-
<SubType>Designer</SubType>
205-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
206-
</Content>
207-
</ItemGroup>
208202
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
203+
<Target Name="AfterBuild">
204+
<ItemGroup>
205+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
206+
</ItemGroup>
207+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
208+
</Target>
209209
</Project>

src/ResourceManager/EventHub/Commands.EventHub/Commands.EventHub.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,12 @@
178178
<Name>Commands.ResourceManager.Common</Name>
179179
</ProjectReference>
180180
</ItemGroup>
181-
<ItemGroup>
182-
<None Include="Microsoft.Azure.Commands.EventHub.dll-Help.xml">
183-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
184-
</None>
185-
</ItemGroup>
186181
<ItemGroup />
187182
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
183+
<Target Name="AfterBuild">
184+
<ItemGroup>
185+
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
186+
</ItemGroup>
187+
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutDir)help\" ContinueOnError="false" />
188+
</Target>
188189
</Project>

0 commit comments

Comments
 (0)