Bug 29449 - xbuild fails to build .csproj
Summary: xbuild fails to build .csproj
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-28 00:48 UTC by webmaster
Modified: 2015-04-28 00:48 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 29449 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description webmaster 2015-04-28 00:48:33 UTC
I just upgrade mono from 3.12.1 to 4.0.1 on my ubuntu 14.04 64bit server and found that xbuild no longer been able to build my .csproj projects. The following is part of the output:


Project "/[project-dir]/ServiceApi/NodeJS/MembershipPlusServiceAPI.NodeJS.csproj" (default target(s)):
        Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
        Target ResolveProjectReferences:
                Project "/[project-dir]/Shared/MembershipPlusShared.csproj" (default target(s)):
                        Target PrepareForBuild:
                                Configuration: Debug Platform: AnyCPU
                        Target ResolveAssemblyReferences:
: error : Error initializing task ResolveAssemblyReference: Exception has been thrown by the target of an invocation.
                                Project "/[project-dir]/Service/MembershipPlusService.csproj" (default target(s)):
                                        Target PrepareForBuild:
                                                Configuration: Debug Platform: AnyCPU
                                        Target ResolveProjectReferences:
                                                Project "/[project-dir]/Repository/Generic/MembershipPlusRepo.Generic.csproj" (default target(s)):
                                                        Target PrepareForBuild:
                                                                Configuration: Debug Platform: AnyCPU
                                                        Target ResolveAssemblyReferences:
: error : Error initializing task ResolveAssemblyReference: Exception has been thrown by the target of an invocation.
                                                                Project "/[project-dir]/Data/MySql/MembershipPlusData.MySql.csproj" (default target(s)):
                                                                        Target PrepareForBuild:
                                                                                Configuration: Debug Platform: AnyCPU
                                                                        Target ResolveAssemblyReferences:
: error : Error initializing task ResolveAssemblyReference: Exception has been thrown by the target of an invocation.
                                                                                Project "/[project-dir]/Repository/MySql/MembershipPlusRepo.MySql.csproj" (default target(s)
):
                                                                                        Target PrepareForBuild:
                                                                                                Configuration: Debug Platform: AnyCPU
                                                                                        Target ResolveAssemblyReferences:
: error : Error initializing task ResolveAssemblyReference: Exception has been thrown by the target of an invocation.
                                                                                                Project "/[project-dir]/Repository/Demo/MembershipPlusRepo.Demo.csproj" (default target(s)):
                                                                                                        Target PrepareForBuild:
                                                                                                                Configuration: Debug Platform: AnyCPU
                                                                                                        Target ResolveAssemblyReferences:
: error : Error initializing task ResolveAssemblyReference: Exception has been thrown by the target of an invocation.
                                                                                                                Done building project "/[project-dir]/ServiceApi/NodeJS/MembershipPlusServiceAPI.NodeJS.csproj".-- FAILED
                                                                                                                Build FAILED.
                                                                                                                Errors:
                                                                                                                /[project-dir]/ServiceApi/NodeJS/MembershipPlusServiceAPI.NodeJS.csproj (default targets) ->