Build classic solution as well

This commit is contained in:
Matthew Leibowitz 2021-07-13 04:44:37 +02:00
Родитель 8ca385a345
Коммит 893f427638
2 изменённых файлов: 16 добавлений и 3 удалений

Просмотреть файл

@ -103,11 +103,14 @@ stages:
- pwsh: |
$vs = & dotnet vs where --preview --prop=InstallationPath
$msbuild = "$vs\MSBuild\Current\Bin\MSBuild.exe"
& $msbuild /r ./Microsoft.Maui.Graphics-net6.sln /p:Configuration=${{ BuildConfiguration }} /bl:$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration }}.binlog
& $msbuild /r ./Microsoft.Maui.Graphics.sln /p:Configuration=${{ BuildConfiguration }} /bl:$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration }}.binlog
displayName: build net6 solutions
# - pwsh: dotnet cake --configuration=${{ BuildConfiguration }}
# displayName: build net6 solutions
- pwsh: |
$vs = & dotnet vs where --preview --prop=InstallationPath
$msbuild = "$vs\MSBuild\Current\Bin\MSBuild.exe"
& $msbuild /r ./Microsoft.Maui.Graphics-net6.sln /p:Configuration=${{ BuildConfiguration }} /bl:$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration }}.binlog
displayName: build net6 solutions
- task: NuGetCommand@2
displayName: 'Pack nupkg'

Просмотреть файл

@ -19,6 +19,9 @@
<group targetFramework="net6.0-ios13.6" />
<group targetFramework="net6.0-maccatalyst13.5" />
<group targetFramework="net6.0-windows10.0.18362" />
<group targetFramework="xamarin.ios10" />
<group targetFramework="monoandroid10.0" />
<group targetFramework="xamarin.mac20" />
<group targetFramework=".NETStandard2.0" />
<group targetFramework=".NETStandard2.1" />
</dependencies>
@ -29,6 +32,13 @@
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/netstandard2.1/Microsoft.Maui.Graphics.dll" target="lib/netstandard2.1/Microsoft.Maui.Graphics.dll"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/netstandard2.1/Microsoft.Maui.Graphics.pdb" target="lib/netstandard2.1/Microsoft.Maui.Graphics.pdb"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/xamarin.ios10/Microsoft.Maui.Graphics.dll" target="lib/xamarin.ios10/Microsoft.Maui.Graphics.dll"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/xamarin.ios10/Microsoft.Maui.Graphics.pdb" target="lib/xamarin.ios10/Microsoft.Maui.Graphics.pdb"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/monoandroid10.0/Microsoft.Maui.Graphics.dll" target="lib/monoandroid10.0/Microsoft.Maui.Graphics.dll"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/monoandroid10.0/Microsoft.Maui.Graphics.pdb" target="lib/monoandroid10.0/Microsoft.Maui.Graphics.pdb"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/xamarin.mac20/Microsoft.Maui.Graphics.dll" target="lib/xamarin.mac20/Microsoft.Maui.Graphics.dll"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/xamarin.mac20/Microsoft.Maui.Graphics.pdb" target="lib/xamarin.mac20/Microsoft.Maui.Graphics.pdb"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/net6.0-ios/Microsoft.Maui.Graphics.dll" target="lib/net6.0-ios13.6/Microsoft.Maui.Graphics.dll"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/net6.0-ios/Microsoft.Maui.Graphics.pdb" target="lib/net6.0-ios13.6/Microsoft.Maui.Graphics.pdb"/>
<file src="src/Microsoft.Maui.Graphics/bin/$configuration$/net6.0-android/Microsoft.Maui.Graphics.dll" target="lib/net6.0-android30.0/Microsoft.Maui.Graphics.dll"/>