Skip to content

Instantly share code, notes, and snippets.

@larsw
Created December 8, 2010 10:25
Show Gist options
  • Save larsw/733114 to your computer and use it in GitHub Desktop.
Save larsw/733114 to your computer and use it in GitHub Desktop.
C:\github\larsw\ncqrs-master>tools\nant\nant.exe /f:"MAIN.build"
NAnt 0.91 (Build 0.91.3881.0; alpha2; 17.08.2010)
Copyright (C) 2001-2010 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/github/larsw/ncqrs-master/MAIN.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: build
build:
[echo] Building release 0.8.0
BuildFramework:
[echo] START BUILDING FRAMEWORK
[exec] Microsoft (R) Build Engine Version 4.0.30319.1
[exec] [Microsoft .NET Framework, Version 4.0.30319.1]
[exec] Copyright (C) Microsoft Corporation 2007. All rights reserved.
[exec]
[exec] Build started 08.12.2010 11:24:57.
[exec] Project "C:\github\larsw\ncqrs-master\Framework\NcqrsFramework.sln" on node 1 (default targets).
[exec] ValidateSolutionConfiguration:
[exec] Building solution configuration "debug|Mixed Platforms".
[exec] Project "C:\github\larsw\ncqrs-master\Framework\NcqrsFramework.sln" (1) is building "C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\Ncqrs.csproj" (2) on node 1 (default targets).
[exec] GenerateTargetFrameworkMonikerAttribute:
[exec] Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
[exec] CoreCompile:
[exec] Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
[exec] ContractDeclarativeAssemblyCS:
[exec] Skipping target "ContractDeclarativeAssemblyCS" because all output files are up-to-date with respect to the input files.
[exec] CreateCodeContractReferenceAssembly:
[exec] Skipping target "CreateCodeContractReferenceAssembly" because all output files are up-to-date with respect to the input files.
[exec] CodeContractRewrite:
[exec] Skipping target "CodeContractRewrite" because all output files are up-to-date with respect to the input files.
[exec] CopyFilesToOutputDirectory:
[exec] Ncqrs -> C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\bin\Debug\Ncqrs.dll
[exec] ContractXmlDocumentation:
[exec] "C:\Program Files (x86)\Microsoft\Contracts\Bin\ccdocgen" -assembly "bin\Debug\CodeContracts\Ncqrs.Contracts.dll" -xmlFile "bin\Debug\Ncqrs.XML" -resolvedPaths:"C:\github\larsw\ncqrs-master\Framework\lib\log4net\log4net.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll;C:\github\larsw\ncqrs-master\Framework\lib\json.net\Newtonsoft.Json.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.configuration.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Transactions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll " -libpaths "C:\Program Files (x86)\Microsoft\Contracts\Contracts\.NETFramework\v4.0;C:\github\larsw\ncqrs-master\Framework\lib\log4net\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\;C:\github\larsw\ncqrs-master\Framework\lib\json.net\;C:\github\larsw\ncqrs-master\Framework\lib\log4net\CodeContracts;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\CodeContracts;C:\github\larsw\ncqrs-master\Framework\lib\json.net\CodeContracts "
[exec] CCDoc failed with uncaught exception: An item with the same key has already been added.
[exec] Stack trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
[exec] at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
[exec] at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
[exec] at Microsoft.Cci.MutableCodeModel.MetadataCopier.GetMutableShallowCopy(IMethodReference methodReference)
[exec] at Microsoft.Cci.MutableCodeModel.MetadataCopier.GetTypeSpecificMutableShallowCopy(IMethodReference methodReference)
[exec] at Microsoft.Cci.MutableCodeModel.MetadataCopier.DeepCopy(GenericMethodParameterReference genericMethodParameterReference)
[exec] at Microsoft.Cci.MutableCodeModel.MetadataCopier.DeepCopy(IGenericMethodParameterReference genericMethodParameterReference)
[exec] at Microsoft.Cci.MutableCodeModel.MetadataCopier.Substitute(ITypeReference typeReference)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.DeepCopy(AddressDereference addressDereference)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.CreateMutableType.Visit(IAddressDereference addressDereference)
[exec] at Microsoft.Cci.MutableCodeModel.AddressDereference.Dispatch(ICodeVisitor visitor)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.Substitute(IExpression expression)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.DeepCopy(Conversion conversion)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.CreateMutableType.Visit(IConversion conversion)
[exec] at Microsoft.Cci.MutableCodeModel.Conversion.Dispatch(ICodeVisitor visitor)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.Substitute(IExpression expression)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.DeepCopy(BinaryOperation binaryOperation)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.CreateMutableType.Visit(INotEquality notEquality)
[exec] at Microsoft.Cci.MutableCodeModel.NotEquality.Dispatch(ICodeVisitor visitor)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.Substitute(IExpression expression)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.DeepCopy(Conditional conditional)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.CreateMutableType.Visit(IConditional conditional)
[exec] at Microsoft.Cci.MutableCodeModel.Conditional.Dispatch(ICodeVisitor visitor)
[exec] at Microsoft.Cci.MutableCodeModel.CodeCopier.Substitute(IExpression expression)
[exec] at Microsoft.Cci.MutableCodeModel.CodeAndContractCopier.DeepCopy(PostCondition postCondition)
[exec] at Microsoft.Cci.MutableCodeModel.CodeAndContractCopier.DeepCopy(List`1 postConditions)
[exec] at Microsoft.Cci.MutableCodeModel.CodeAndContractCopier.DeepCopy(MethodContract methodContract)
[exec] at Microsoft.Cci.MutableContracts.ContractHelper.CopyContract(IMetadataHost host, IMethodContract methodContract, IMethodDefinition toMethod, IMethodDefinition fromMethod)
[exec] at Microsoft.Cci.Contracts.CodeContractsContractExtractor.GetMethodContractFor(Object method)
[exec] at Microsoft.Cci.MutableContracts.ContractHelper.GetMethodContractFor(IContractAwareHost host, IMethodDefinition methodDefinition)
[exec] at CCDoc.CCDocContractHelper.TryGetMethodContract(CodeContractAwareHostEnvironment host, IMethodReference method, IMethodContract& methodContract, DocTracker docTracker)
[exec] at CCDoc.ContractTraverser.ContractPackager.PackageMethodContracts(IMethodDefinition method, Boolean isPure)
[exec] at CCDoc.ContractTraverser.Visit(IMethodDefinition methodDefinition)
[exec] at Microsoft.Cci.MetadataReader.ObjectModelImplementation.MethodDefinition.Dispatch(IMetadataVisitor visitor)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(ITypeDefinitionMember typeMember)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(IEnumerable`1 typeMembers)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(ITypeDefinition typeDefinition)
[exec] at CCDoc.ContractTraverser.Visit(ITypeDefinition typeDefinition)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(IEnumerable`1 namespaceMembers)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(INamespaceDefinition namespaceDefinition)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(IEnumerable`1 namespaceMembers)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(INamespaceDefinition namespaceDefinition)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(IEnumerable`1 namespaceMembers)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(INamespaceDefinition namespaceDefinition)
[exec] at Microsoft.Cci.BaseMetadataTraverser.Visit(IModule module)
[exec] at CCDoc.CCDoc.GetContracts(Options options, DocTracker docTracker)
[exec] at CCDoc.CCDoc.RealMain(String[] args)
[exec] at CCDoc.CCDoc.Main(String[] args)
[exec] elapsed time: 1615,0924ms
[exec] C:\Program Files (x86)\Microsoft\Contracts\MsBuild\v4.0\Microsoft.CodeContracts.targets(548,5): error MSB3073: The command ""C:\Program Files (x86)\Microsoft\Contracts\Bin\ccdocgen" -assembly "bin\Debug\CodeContracts\Ncqrs.Contracts.dll" -xmlFile "bin\Debug\Ncqrs.XML" -resolvedPaths:"C:\github\larsw\ncqrs-master\Framework\lib\log4net\log4net.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll;C:\github\larsw\ncqrs-master\Framework\lib\json.net\Newtonsoft.Json.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.configuration.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Transactions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll " -libpaths "C:\Program Files (x86)\Microsoft\Contracts\Contracts\.NETFramework\v4.0;C:\github\larsw\ncqrs-master\Framework\lib\log4net\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\;C:\github\larsw\ncqrs-master\Framework\lib\json.net\;C:\github\larsw\ncqrs-master\Framework\lib\log4net\CodeContracts;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\CodeContracts;C:\github\larsw\ncqrs-master\Framework\lib\json.net\CodeContracts "" exited with code 1. [C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\Ncqrs.csproj]
[exec] Done Building Project "C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\Ncqrs.csproj" (default targets) -- FAILED.
[exec] Done Building Project "C:\github\larsw\ncqrs-master\Framework\NcqrsFramework.sln" (default targets) -- FAILED.
[exec]
[exec] Build FAILED.
[exec]
[exec] "C:\github\larsw\ncqrs-master\Framework\NcqrsFramework.sln" (default target) (1) ->
[exec] "C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\Ncqrs.csproj" (default target) (2) ->
[exec] (ContractXmlDocumentation target) ->
[exec] C:\Program Files (x86)\Microsoft\Contracts\MsBuild\v4.0\Microsoft.CodeContracts.targets(548,5): error MSB3073: The command ""C:\Program Files (x86)\Microsoft\Contracts\Bin\ccdocgen" -assembly "bin\Debug\CodeContracts\Ncqrs.Contracts.dll" -xmlFile "bin\Debug\Ncqrs.XML" -resolvedPaths:"C:\github\larsw\ncqrs-master\Framework\lib\log4net\log4net.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll;C:\github\larsw\ncqrs-master\Framework\lib\json.net\Newtonsoft.Json.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.configuration.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Transactions.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll " -libpaths "C:\Program Files (x86)\Microsoft\Contracts\Contracts\.NETFramework\v4.0;C:\github\larsw\ncqrs-master\Framework\lib\log4net\;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\;C:\github\larsw\ncqrs-master\Framework\lib\json.net\;C:\github\larsw\ncqrs-master\Framework\lib\log4net\CodeContracts;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\CodeContracts;C:\github\larsw\ncqrs-master\Framework\lib\json.net\CodeContracts "" exited with code 1. [C:\github\larsw\ncqrs-master\Framework\src\Ncqrs\Ncqrs.csproj]
[exec]
[exec] 0 Warning(s)
[exec] 1 Error(s)
[exec]
[exec] Time Elapsed 00:00:01.89
BUILD FAILED
C:\github\larsw\ncqrs-master\MAIN.build(53,6):
External Program Failed: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe (return code was 1)
Total time: 2.4 seconds.
C:\github\larsw\ncqrs-master>pause
Press any key to continue . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment