Bug 42371 - Member 'ListViewItemCount' was not found.
Summary: Member 'ListViewItemCount' was not found.
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: msbuild ()
Version: 4.5.X
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Ankit Jain
URL:
Depends on:
Blocks:
 
Reported: 2016-07-06 00:13 UTC by Alex
Modified: 2017-08-31 14:32 UTC (History)
4 users (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 42371 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 Alex 2016-07-06 00:13:46 UTC
Getting the following error from Mono compiler:

Member 'ListViewItemCount' was not found.

The odd thing is there are 0 references to ListViewItemCount in the code.


Building: XenAdmin (Debug)

Build started 7/5/2016 7:04:08 PM.
__________________________________________________
Project "/home/kallisti5/Code/xenadmin/XenAdmin/XenAdmin.csproj" (Build target(s)):
	
	Target PrepareForBuild:
		Configuration: Debug Platform: AnyCPU
	
	Target CopyFilesMarkedCopyLocal:
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterLib/bin/Debug/XenCenterLib.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenCenterLib.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterLib/bin/Debug/XenCenterLib.dll.mdb' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenCenterLib.dll.mdb'
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterVNC/bin/Debug/XenCenterVNC.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenCenterVNC.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterVNC/bin/Debug/XenCenterVNC.dll.mdb' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenCenterVNC.dll.mdb'
		Copying file from '/home/kallisti5/Code/xenadmin/XenModel/bin/Debug/XenModel.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenModel.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenModel/bin/Debug/XenModel.dll.mdb' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenModel.dll.mdb'
		Copying file from '/home/kallisti5/Code/xenadmin/XenOvfApi/bin/Debug/XenOvf.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenOvf.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenOvfApi/bin/Debug/XenOvf.dll.mdb' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenOvf.dll.mdb'
		Copying file from '/home/kallisti5/Code/xenadmin/XenOvfTransport/bin/Debug/XenOvfTransport.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenOvfTransport.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenOvfTransport/bin/Debug/XenOvfTransport.dll.mdb' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/XenOvfTransport.dll.mdb'
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterLib/bin/Debug/ICSharpCode.SharpZipLib.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/ICSharpCode.SharpZipLib.dll'
		Copying file from '/home/kallisti5/Code/xenadmin/XenCenterLib/bin/Debug/Ionic.Zip.dll' to '/home/kallisti5/Code/xenadmin/XenAdmin/bin/Debug/Ionic.Zip.dll'
	
	Target GenerateResources:
		Tool /usr/lib/mono/4.5/resgen.exe execution started with arguments: /useSourcePath /compile "Dialogs/ConfirmVMDeleteDialog.resx,obj/Debug/XenAdmin.Dialogs.ConfirmVMDeleteDialog.resources" 
/usr/lib/mono/4.5/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Exception has been thrown by the target of an invocation.
Inner exception: Member 'ListViewItemCount' was not found.

	Task "GenerateResource" execution -- FAILED
	Done building target "GenerateResources" in project "/home/kallisti5/Code/xenadmin/XenAdmin/XenAdmin.csproj".-- FAILED
	
Done building project "/home/kallisti5/Code/xenadmin/XenAdmin/XenAdmin.csproj".-- FAILED

Build FAILED.
Errors:

/home/kallisti5/Code/xenadmin/XenAdmin/XenAdmin.csproj (Build) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (GenerateResources target) ->

	/usr/lib/mono/4.5/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Exception has been thrown by the target of an invocation.
Inner exception: Member 'ListViewItemCount' was not found.


	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:01.3082560

---------------------- Done ----------------------

Build: 1 error, 49 warnings