Menu

#5 Complialtion unsuccesful, but no error given

open
nobody
None
5
2008-11-10
2008-11-10
Anonymous
No

I can't get Nester to run, but I have no clue what to do to solve the problem.
I had to use the 2.4.2 dlls (could not use 2.4.8).
Release version is chosen as shown in the (good) demo.

I have a solution with two projects: one with and one without test code (to prevent test code dependencies to end up in final products).

Running msbuild works (see below)
--------------------------------------------------
G:\>msbuild c:\projects.net\darwin\DependenciesViewer\RPA\RPA.sln /t:Rebuild /p:Configuration=Release
Microsoft (R) Build Engine Version 2.0.50727.1433
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2005. All rights reserved.

Build started 10-11-2008 10:53:03.
__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPA.sln" (Rebuild target(s)):

Target ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Target Rebuild:
Target RPA:Rebuild:
__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPA.sln" is building "c:\projects.net\darwin\DependenciesViewer\RPA\RPA.csproj" (Rebuil
d target(s)):

Target CoreCompile:
c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4
/baseaddress:285212672 /define:TRACE /reference:c:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:c:\WINNT\Microsoft.NET\Framewor
k\v2.0.50727\System.dll /reference:c:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.XML.dll /debug+ /debug:pdbonly /filealign:4096 /optimize+ /out:o
bj\Release\RPA.dll /target:library /warnaserror- MultiSet.cs Properties\AssemblyInfo.cs Relation.cs RelationEnumerator.cs Set.cs
Target CopyFilesToOutputDirectory:
Copying file from "obj\Release\RPA.dll" to "bin\Release\RPA.dll".
RPA -> c:\projects.net\darwin\DependenciesViewer\RPA\bin\Release\RPA.dll
Copying file from "obj\Release\RPA.pdb" to "bin\Release\RPA.pdb".
Target RPATest:Rebuild:
__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPA.sln" is building "c:\projects.net\darwin\DependenciesViewer\RPA\RPATest\RPATest.csp
roj" (Rebuild target(s)):

Target ResolveProjectReferences:
__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPATest\RPATest.csproj" is building "c:\projects.net\darwin\DependenciesViewer\RPA\ RPA.csproj" (GetTargetPath target(s)):

__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPATest\RPATest.csproj" is building "c:\projects.net\darwin\DependenciesViewer\RPA\ RPA.csproj" (GetNativeManifest target(s)):

Target CoreCompile:
c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4
/baseaddress:285212672 /define:TRACE /reference:C:\WINNT\assembly\GAC\nunit.framework\2.2.0.0__96d09a1eb7f44a77\nunit.framework.dll /reference:c:\proj
ects.net\darwin\DependenciesViewer\RPA\bin\Release\RPA.dll /reference:c:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:c:\WINNT\ Microsoft.NET\Framework\v2.0.50727\System.dll /reference:c:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.XML.dll /debug- /filealign:4096 /optimize+
/out:obj\Release\RPATest.dll /target:library /warnaserror- AssemblyInfo.cs TestIsorelation.cs TestMultiSet.cs TestRelation.cs TestSet.cs
Target _CopyFilesMarkedCopyLocal:
Copying file from "c:\projects.net\darwin\DependenciesViewer\RPA\bin\Release\RPA.dll" to "bin\Release\RPA.dll".
Copying file from "c:\projects.net\darwin\DependenciesViewer\RPA\bin\Release\RPA.pdb" to "bin\Release\RPA.pdb".
Target GetCopyToOutputDirectoryItems:
__________________________________________________
Project "c:\projects.net\darwin\DependenciesViewer\RPA\RPATest\RPATest.csproj" is building "c:\projects.net\darwin\DependenciesViewer\RPA\ RPA.csproj" (GetCopyToOutputDirectoryItems target(s)):

Target CopyFilesToOutputDirectory:
Copying file from "obj\Release\RPATest.dll" to "bin\Release\RPATest.dll".
RPATest -> c:\projects.net\darwin\DependenciesViewer\RPA\RPATest\bin\Release\RPATest.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:01.41

Success with solving it!

pierre van de laar_AT_esi nl

(add dots between the words and replace _AT_ by the at-symbol)

Discussion

  • Nobody/Anonymous

    I am seeing the same error.
    I am using sln file that is made in Visual Stduio 2008.
    MSBUILd is the same.

     
  • Nobody/Anonymous

    I have the same issue. I had to recompile Nester.nunit with Nunit 2.4.7 and that got it running, but when I run instrumentation on my test assemblies it says compilation unsuccesful. Is this because they were compiled in VS2008?

    Chris

     

Log in to post a comment.