[Mono-dev] Compilation help / error CS2001

Chandler admin at genome.arizona.edu
Wed May 31 00:36:18 UTC 2017


I would like to install this program on our Linux machines for our users:
https://github.com/MicrosoftGenomics/ConPADE

but I am running into the error "CSC: error CS2001: Source file 
'/opt/MicrosoftGenomics/ConPADE/Properties/AssemblyInfo.cs' could not be 
found."

The OS is RHEL 6.8 and i have installed mono-complete 5.0.1 using the 
"CentOS 6" repositories.  I copied the files from src/* to the root dir, 
since it was complaining about not finding those files, but maybe i'm 
just not doing it right with xbuild?  Or is it something the developer 
needs to address?  See below for full output.

Thanks,
Chandler / Systems Administrator
Arizona Genomics Institute
www.genome.arizona.edu
-- 

$ cd /opt/MicrosoftGenomics/ConPADE/
/opt/MicrosoftGenomics/ConPADE$ cp src/* .
/opt/MicrosoftGenomics/ConPADE$ xbuild ConPADE.csproj

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

XBuild Engine Version 14.0
Mono, Version 5.0.1.1
Copyright (C) 2005-2013 Various Mono authors

Build started 5/30/2017 5:18:13 PM.
__________________________________________________
Project "/opt/MicrosoftGenomics/ConPADE/ConPADE.csproj" (default target(s)):
	Target PrepareForBuild:
		Configuration: Debug Platform: x86
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, 
skipping.
	Target _GenerateTargetFrameworkMonikerAttribute:
	Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its 
outputs are up-to-date.
	Target CoreCompile:
		Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: 
/noconfig /debug:full /debug:portable /optimize- 
/out:obj/x86/Debug/ConPADE.exe ConPADE.cs Properties/AssemblyInfo.cs 
Read.cs obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs 
/target:exe /define:"DEBUG;TRACE" /doc:bin/Debug/ConPADE.XML /nostdlib 
/platform:x86 /reference:./Bio.Core.dll /reference:./Bio.Desktop.dll 
/reference:./Bio.Platform.Helpers.dll 
/reference:/usr/lib/mono/4.5-api/System.dll 
/reference:/usr/lib/mono/4.5-api/System.Xml.Linq.dll 
/reference:/usr/lib/mono/4.5-api/System.Data.DataSetExtensions.dll 
/reference:/usr/lib/mono/4.5-api/Microsoft.CSharp.dll 
/reference:/usr/lib/mono/4.5-api/System.Data.dll 
/reference:/usr/lib/mono/4.5-api/System.Xml.dll 
/reference:/usr/lib/mono/4.5-api/System.Core.dll 
/reference:/usr/lib/mono/4.5-api//mscorlib.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Collections.Concurrent.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Collections.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ComponentModel.Annotations.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ComponentModel.EventBasedAsync.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ComponentModel.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Diagnostics.Contracts.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Diagnostics.Debug.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Diagnostics.Tools.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Diagnostics.Tracing.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Dynamic.Runtime.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Globalization.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.IO.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Linq.Expressions.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Linq.Parallel.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Linq.Queryable.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Linq.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Net.NetworkInformation.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Net.Primitives.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Net.Requests.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ObjectModel.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.Emit.ILGeneration.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.Emit.Lightweight.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.Emit.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.Extensions.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.Primitives.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Reflection.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Resources.ResourceManager.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.Extensions.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.InteropServices.WindowsRuntime.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.InteropServices.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.Numerics.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.Serialization.Json.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.Serialization.Primitives.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.Serialization.Xml.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Runtime.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Security.Principal.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ServiceModel.Duplex.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ServiceModel.Http.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ServiceModel.NetTcp.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ServiceModel.Primitives.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.ServiceModel.Security.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Text.Encoding.Extensions.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Text.Encoding.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Text.RegularExpressions.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Threading.Tasks.Parallel.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Threading.Tasks.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Threading.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Xml.ReaderWriter.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Xml.XDocument.dll 
/reference:/usr/lib/mono/4.5-api/Facades/System.Xml.XmlSerializer.dll 
/warn:4
		Microsoft (R) Visual C# Compiler version 2.0.0.61404
		Copyright (C) Microsoft Corporation. All rights reserved.
CSC: error CS2001: Source file 
'/opt/MicrosoftGenomics/ConPADE/Properties/AssemblyInfo.cs' could not be 
found.
	Task "Csc" execution -- FAILED
	Done building target "CoreCompile" in project 
"/opt/MicrosoftGenomics/ConPADE/ConPADE.csproj".-- FAILED
Done building project "/opt/MicrosoftGenomics/ConPADE/ConPADE.csproj".-- 
FAILED

Build FAILED.
Errors:

/opt/MicrosoftGenomics/ConPADE/ConPADE.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile 
target) ->

	CSC: error CS2001: Source file 
'/opt/MicrosoftGenomics/ConPADE/Properties/AssemblyInfo.cs' could not be 
found.

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:01.5263370
/opt/MicrosoftGenomics/ConPADE$



More information about the Mono-devel-list mailing list