File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 304
304
<!-- Build and create package content -->
305
305
<Exec Command =" dotnet --version" />
306
306
<Exec Command =" dotnet new sln -n Azure.PowerShell --force" />
307
- <PropertyGroup >
308
- <GenerateSolutionCommand >$projects = (Get-ChildItem -Path src/ResourceManager -Recurse -Include '*.csproj' | Where-Object { $_.FullName -notlike '*.Test.Netcore.csproj' } | ForEach-Object { $_.FullName }) -join ' '; Invoke-Expression ""dotnet sln Azure.PowerShell.sln add $projects""</GenerateSolutionCommand >
309
- </PropertyGroup >
310
- <Exec Command =" $(PowerShellCoreCommandPrefix) " $(GenerateSolutionCommand)" " />
307
+ <ItemGroup >
308
+ <ModuleCsprojFiles Include =" $(LibraryRoot)src/ResourceManager/**/*.csproj" Exclude =" $(LibraryRoot)src/ResourceManager/**/*.Test.Netcore.csproj" />
309
+ </ItemGroup >
310
+ <Exec Command =" dotnet sln Azure.PowerShell.sln add @(ModuleCsprojFiles->'%(FullPath)', ' ')" />
311
+ <Exec Command =" dotnet sln Azure.PowerShell.sln add $(LibraryRoot)tools/Tools.Common/Tools.Common.Netcore.csproj $(LibraryRoot)tools/StaticAnalysis/StaticAnalysis.Netcore.csproj" />
311
312
<Exec Command =" dotnet publish Azure.PowerShell.sln -c $(Configuration)" />
312
313
313
314
<!-- Delete powershell runtime files -->
You can’t perform that action at this time.
0 commit comments