GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build fails with: MSBUILD: error MSBUILD0004: Too many project files specified · Issue #114 · dotdevelop/dotdevelop

build fails with: MSBUILD: error MSBUILD0004: Too many project files specified #114

New issue
Copy link
New issue
Copy link
Open
Open
build fails with: MSBUILD: error MSBUILD0004: Too many project files specified#114
Copy link

Description

@DjangoReinhard
DjangoReinhard
opened on Jun 9, 2023
Issue body actions

Hi,

I followed build instructions on debian stable (11) and got this error:

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

MSBUILD: error MSBUILD0004: Too many project files specified

make[2]: *** [Makefile:1008: restore-packages] Fehler 1
make[2]: Verzeichnis „/usr/local/src/dotdevelop/main“ wird verlassen
make[1]: *** [Makefile:548: all-recursive] Fehler 1
make[1]: Verzeichnis „/usr/local/src/dotdevelop/main“ wird verlassen
make: *** [Makefile:54: all-recursive] Fehler 1

Activity

  1. knocte commented on Jun 9, 2023

    @knocte
    knocte
    on Jun 9, 2023
    Member
    More actions

    Debian doesn't have packages for msbuild and I believe msbuild is a requirement for building dotdevelop.

  2. DjangoReinhard commented on Jun 9, 2023

    @DjangoReinhard
    DjangoReinhard
    on Jun 9, 2023
    Author
    More actions

    If that's true, what about to add it to build requirements?

    ... any way:
    I installed msbuild from source, build succeeded without errors or warnings, but it did not change anything respect to dotdevelop

  3. knocte commented on Jun 9, 2023

    @knocte
    knocte
    on Jun 9, 2023
    Member
    More actions

    If you still see this:

    >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
    

    It means the build is still not using msbuild. Maybe run configure again?

    If that's true, what about to add it to build requirements?

    True that, open a PR?

  4. DjangoReinhard commented on Jun 9, 2023

    @DjangoReinhard
    DjangoReinhard
    on Jun 9, 2023
    Author
    More actions

    Maybe run configure again?
    Of cause, I did that before posting

    I actually removed the entire source tree and restarted from scratch ...
    ... but it looks like some of github servers have problems and "git submodule update" run into timeouts.

    I reply when I can rerun build process.

  5. knocte commented on Jun 17, 2023

    @knocte
    knocte
    on Jun 17, 2023
    Member
    More actions

    How did it go mate?

  6. DjangoReinhard commented on Jun 17, 2023

    @DjangoReinhard
    DjangoReinhard
    on Jun 17, 2023
    Author
    More actions

    Thank you for the reminder!

    Unfortunately the problem with the timeout still exists (RefactoringEssentials and others).
    Its not possible to run the "git submodule update ..."

  7. macias commented on Jun 20, 2023

    @macias
    macias
    on Jun 20, 2023
    More actions

    I have the same error. I have multitple .Net SDKs installed (with MSBuild.dll) but it seems DotDevelop makefiles do not see any of them. Another thing is that running MSBuild.dll directly gives an error, so it should be run via "dotnet msbuild".

    openSUSE 15.3

  8. knocte commented on Jun 21, 2023

    @knocte
    knocte
    on Jun 21, 2023
    Member
    More actions

    dotdevelop cannot be built with .NET SDKs (formerly called ".NETCore", now called .NETv5 or newer). When I recommended to use msbuild I was referring to mono's msbuild package (which is equivalent to the old version of .NET: v.4.x).

    Reacted by macias
  9. peetervois commented on Jan 3, 2025

    @peetervois
    peetervois
    on Jan 3, 2025
    More actions

    Happy New Year ! Any links to how to repeat the solution might be helpful. I am facing same issue and am looking to how to build dotdevelop. Thanx.

  10. MakiWolf commented on Jan 4, 2025

    @MakiWolf
    MakiWolf
    on Jan 4, 2025
    More actions

    This error happens when using old mono packages from linux distributions. Since mono has made their own fork of msbuild, they have deprecated xbuild. Xbuild seems to have an error with too many project files. Also xbuild support has been removed in monodevelop, when searching for it in commits and pull request history.

    The last needed mono packages for building dotdevelop are available here:

    https://www.mono-project.com/download/stable/#download-lin

    Also you can take a look at CI Manifest:

    https://github.com/dotdevelop/dotdevelop/blob/main/.github/workflows/monodevelop.yml

    I have tested it now and it seems to build without problems.

    And now mono development have moved to wine gitlab:

    https://gitlab.winehq.org/mono/mono

    But they have not released anything yet. Or have forked msbuild which is needed for building dotdevelop yet.

    Source Code for msbuild mono fork was here:

    https://github.com/mono/linux-packaging-msbuild

    https://github.com/mono/msbuild

    A next step would also be to see which changes are needed for building it from the new wine monos repo to build msbuild on linux.

    Reacted by Lex Li and lytico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.