Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tools/Gen2Master/MoveFromGeneration2Master.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Function Move-Generation2MasterHybrid {
#EndRegion

# Generate csproj file and add the dependency in the solution file
Copy-Template -SourceName Az.ModuleName.hybrid.csproj -DestPath $DestPath -DestName "Az.$submoduleName.csproj" -RootModuleName $ModuleName -ModuleName $submoduleName
Copy-Template -SourceName Az.ModuleName.hybrid.csproj -DestPath (Join-Path $DestPath $submoduleDir.Name) -DestName "Az.$submoduleName.csproj" -RootModuleName $ModuleName -ModuleName $submoduleName

$SolutionPath = Join-Path -Path $DestPath -ChildPath $ModuleName.sln

Expand Down Expand Up @@ -317,6 +317,11 @@ Function Move-Generation2MasterHybrid {
}
New-ModuleManifest -Path $DestPsd1Path @Psd1Metadata
}

#update module page
dotnet build "$DestPath\$ModuleName.sln"
Import-Module "$DestPath\..\..\artifacts\Debug\Az.$ModuleName\Az.$ModuleName.psd1"
Update-MarkdownHelpModule -Path "$DestPath\$ModuleName\help" -RefreshModulePage -AlphabeticParamsOrder -UseFullTypeName -ExcludeDontShow
}
}

Expand Down