Git Product home page Git Product logo

Comments (7)

dleeapho avatar dleeapho commented on September 12, 2024

Seems like source-build needs to uptake #1624 from buildtools. Oddly, I cannot repro this issue building in a rhel Docker container (though I have a patch failure further down). @karajas PTAL.

from source-build.

normj avatar normj commented on September 12, 2024

I'm getting the same error on Mac

Running: /Users/norm/git-repos/source-build/init-tools.sh
Installing 'https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006845/dotnet-sdk-2.0.0-preview3-006845-osx-x64.tar.gz' to '/Users/norm/git-repos/source-build/Tools/dotnetcli/dotnet.tar'
Running: /Users/norm/git-repos/source-build/Tools/dotnetcli/dotnet restore "/Users/norm/git-repos/source-build/init-tools.msbuild" --no-cache --packages /Users/norm/git-repos/source-build/packages --source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json /p:BuildToolsPackageVersion=2.0.0-prerelease-01721-01
  Restoring packages for /Users/norm/git-repos/source-build/init-tools.msbuild...
  Installing Microsoft.DotNet.BuildTools 2.0.0-prerelease-01721-01.
  Generating MSBuild file /Users/norm/git-repos/source-build/Tools/2.0.0-prerelease-01721-01/init-tools.msbuild.nuget.g.props.
  Generating MSBuild file /Users/norm/git-repos/source-build/Tools/2.0.0-prerelease-01721-01/init-tools.msbuild.nuget.g.targets.
  Restore completed in 3.98 sec for /Users/norm/git-repos/source-build/init-tools.msbuild.
Running: /Users/norm/git-repos/source-build/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01721-01/lib/init-tools.sh /Users/norm/git-repos/source-build /Users/norm/git-repos/source-build/Tools/dotnetcli/dotnet /Users/norm/git-repos/source-build/Tools
Running: /Users/norm/git-repos/source-build/Tools/dotnetcli/dotnet restore "/Users/norm/git-repos/source-build/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01721-01/lib/tool-runtime/project.csproj" --source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json --source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json --source https://api.nuget.org/v3/index.json 
/Users/norm/git-repos/source-build/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01721-01/lib/tool-runtime/project.csproj : error NU1003: PackageTargetFallback and AssetTargetFallback cannot be used together. Remove PackageTargetFallback(deprecated) references from the project environment.

from source-build.

jaredpar avatar jaredpar commented on September 12, 2024

Is there a known commit where I can build the repo on Mac? Tried a number and get a variety of failures.

from source-build.

dleeapho avatar dleeapho commented on September 12, 2024

@karajas is this still happening?

from source-build.

karajas avatar karajas commented on September 12, 2024

I haven't seen any other occurrences.

from source-build.

mishra14 avatar mishra14 commented on September 12, 2024

seems like project.csproj uses PackageTargetFallback and AssetTargetFallback. Both of these msbuild properties cannot be used together.

from source-build.

dleeapho avatar dleeapho commented on September 12, 2024

Per @karajas this seems to have been fixed.

from source-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.