Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/android-tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0be567a
Choose a base ref
...
head repository: dotnet/android-tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f56dec
Choose a head ref
  • 1 commit
  • 7 files changed
  • 1 contributor

Commits on Oct 11, 2022

  1. Move from netcoreapp3.1 to net6.0 (#195)

    I believe this is a good idea anyway, but this should assist with:
    
    dotnet/android#7451
    
    Which is hitting the error:
    
        error NU1102: Unable to find package Microsoft.NETCore.App.Host.osx-x64 with version (= 3.1.31)
    
    .NET Core 3.1.31 is not released yet and is likely on a private feed.
    
    Also pass `6.0.x` to the [`UseDotNet`][0] yaml task.
    
    After these changes, the build failed with:
    
        error MSB3971: The reference assemblies for ".NETFramework,Version=v6.0" were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK.
    
    Mono MSBuild probably can't build .NET 6 projects?
    
    So I fixed various things in the build:
    
    * Use `dotnet build` instead of MSBuild, remove NuGet commands
    
    * No tests were running:
    
        [warning] Project file(s) matching the specified pattern were not found.
    
    * Fixed the `$(XATBuildingForNetCoreApp)` property, so tests run.
    
    * Upload artifacts based on the pool name: `$(vmImage)`
    
    * Use `$(PackageOutputPath)` instead of `$(OutputPath)`
    
    * `PublishBuildArtifacts` is deprecated use `PublishPipelineArtifact`
    
    * Save `.binlog` files as artifacts
    
    [0]: https://learn.microsoft.com/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer
    jonathanpeppers authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    9f56dec View commit details
    Browse the repository at this point in the history
Loading