|
17 | 17 | </PropertyGroup> |
18 | 18 |
|
19 | 19 | <ItemGroup> |
20 | | - <Net452Projects Include="$(Src)**\*.csproj" Exclude="$(Src)**\*.Netcore.csproj;$(Src)**\*.Tests.csproj;$(Src)**\*.Test.csproj;$(Src)**\*.UnitTest.csproj"/> |
| 20 | + <Net452Projects Include="$(Src)**\*.csproj" Exclude="$(Src)**\*.Netcore.csproj;$(Src)**\*.Tests.csproj;$(Src)**\*.Test.csproj;$(Src)**\*.UnitTest.csproj" /> |
21 | 21 | </ItemGroup> |
22 | | - <Exec Command="$(NuGet) pack %(Net452Projects.FullPath) -OutputDirectory $(Net452PackDir) -Properties Configuration=$(Configuration) -Version $(PackageVersion)-preview -IncludeReferencedProjects"/> |
| 22 | + <Exec Command="$(NuGet) pack %(Net452Projects.FullPath) -OutputDirectory $(Net452PackDir) -Properties Configuration=$(Configuration) -Version $(PackageVersion)-preview -IncludeReferencedProjects" /> |
23 | 23 | </Target> |
24 | 24 |
|
25 | 25 | <Target Name="netstandard20"> |
26 | 26 | <Message Importance="high" Text="Pack: netstandard20 started" /> |
27 | 27 | <ItemGroup> |
28 | | - <NetStandard20Projects Include="$(Src)**\*.Netcore.csproj" Exclude="$(Src)**\*.Tests.Netcore.csproj;$(Src)**\*.Test.Netcore.csproj;$(Src)**\*.UnitTest.Netcore.csproj"/> |
| 28 | + <NetStandard20Projects Include="$(Src)**\*.Netcore.csproj" Exclude="$(Src)**\*.Tests.Netcore.csproj;$(Src)**\*.Test.Netcore.csproj;$(Src)**\*.UnitTest.Netcore.csproj" /> |
29 | 29 | </ItemGroup> |
30 | | - <Exec Command="dotnet pack %(NetStandard20Projects.FullPath) -c $(Configuration) /p:PackageVersion=$(PackageVersion)-preview --no-build"/> |
| 30 | + <Exec Command="dotnet pack %(NetStandard20Projects.FullPath) -c $(Configuration) /p:PackageVersion=$(PackageVersion)-preview --no-build" /> |
31 | 31 | </Target> |
32 | 32 |
|
33 | 33 | <Target Name="All" DependsOnTargets="net452;netstandard20"> |
|
39 | 39 |
|
40 | 40 | <!-- https://philcupp.wordpress.com/2009/10/12/msbuild-tricks-i-don%E2%80%99t-want-to-forget/ --> |
41 | 41 | <ItemGroup> |
42 | | - <Net452Paths Include="$(Net452PackDir)*.nupkg"/> |
43 | | - <NetStandard20Paths Include="$(NetStandard20PackDir)*.nupkg"/> |
| 42 | + <Net452Paths Include="$(Net452PackDir)*.nupkg" /> |
| 43 | + <NetStandard20Paths Include="$(NetStandard20PackDir)*.nupkg" /> |
44 | 44 | </ItemGroup> |
45 | 45 |
|
46 | 46 | <!-- https://stackoverflow.com/a/2012178/294804 --> |
47 | 47 | <CreateItem Include="@(Net452Paths->'%(Filename)%(Extension)')" AdditionalMetadata="TargetPath=%(FullPath)"> |
48 | | - <Output TaskParameter="Include" ItemName="Net452Packages"/> |
| 48 | + <Output TaskParameter="Include" ItemName="Net452Packages" /> |
49 | 49 | </CreateItem> |
50 | 50 | <CreateItem Include="@(NetStandard20Paths->'%(Filename)%(Extension)')" AdditionalMetadata="TargetPath=%(FullPath)"> |
51 | | - <Output TaskParameter="Include" ItemName="NetStandard20Packages"/> |
| 51 | + <Output TaskParameter="Include" ItemName="NetStandard20Packages" /> |
52 | 52 | </CreateItem> |
53 | 53 |
|
54 | 54 | <ItemGroup> |
55 | 55 | <Packs Include="@(NetStandard20Packages)" Condition=" '@(Net452Packages)' == '@(NetStandard20Packages)' and %(Identity) != '' " /> |
56 | 56 | </ItemGroup> |
57 | 57 |
|
58 | | - <Exec Command="$(NupkgMerge) -P %(Packs.TargetPath) -S $(Net452PackDir)@(Packs) -O %(Packs.TargetPath)"/> |
| 58 | + <Exec Command="$(NupkgMerge) -P %(Packs.TargetPath) -S $(Net452PackDir)@(Packs) -O %(Packs.TargetPath)" /> |
59 | 59 |
|
60 | 60 | <ItemGroup> |
61 | 61 | <Net452OnlyPackages Include="$(Net452PackDir)Microsoft.Azure.PowerShell.ScenarioTest.*.nupkg;$(Net452PackDir)Microsoft.Azure.PowerShell.ServiceManagement.*.nupkg" Exclude="$(Net452PackDir)Microsoft.Azure.PowerShell.ScenarioTest.ResourceManager.*.nupkg" /> |
|
0 commit comments