Hello Guys,

I had the same problem regarding tests not running due to PEVerify not
being found. I set the path and it was okay.
Another thing was that the build script supposedly uses NUnit console
test runner and you need to specify .NET 4.0 specific runtime
configuration in the .config file. Since I was on a 32 bit machine, I
fixed nunit-console-x86.exe.config which is related to 32 bit, but I
guess your machine is a 64 bit and you need to fix the nunit-
console.exe.config file. Add this to the end of the config file and
test runner should be able to run:

<startup>
      <supportedRuntime version="v4.0" />
</startup>

Then again, I might be wrong and you may have already done that. I'll
check the build logs and get back to you.

On Jun 7, 5:34 am, Krzysztof Koźmic <[email protected]>
wrote:
> Also perhaps Hadi who updated the scripts for .NET 4 may have some idea
> as of what might be the cause of this.
>
> cheers,
> Krzysztof
>
> On 2010-06-07 11:33, John Simons wrote:
>
> > Have updated the config file to use the path given by Henry but still
> > not working:
> >http://builds.castleproject.org/viewType.html?tab=buildTypeStatusDiv&;...
>
> > I now have created a new build configuration in TC and go it working(2
> > tests failing):
> >http://builds.castleproject.org/viewType.html?tab=buildTypeStatusDiv&;...
>
> > but I'm using the solution file directly:
> >http://builds.castleproject.org/admin/editRunType.html?id=buildType:bt96
>
> > I believe the issue we are having has to do with our custom msbuild
> > scripts, Roelof can you have a look ?
>
> > Cheers
> > John
>
> > On Jun 7, 9:30 am, Henry Conceição<[email protected]>  wrote:
>
> >> The path is: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 
> >> Tools
>
> >> Cheers,
> >> Henry Conceição
>
> >> 2010/6/5 Krzysztof Koźmic<[email protected]>:
>
> >>> I think it's rather part of the SDK
> >>> On my machine it's in c:\Program Files\Microsoft
> >>> SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\
> >>> The test project tries several locations in order, and I think it finds 
> >>> one
> >>> that is for .NET 3.5 and that fails since it can't analyze assemblies for
> >>> .NET 4
>
> >>> Krzysztof
>
> >>> On 2010-06-06 03:45, Henry Conceição wrote:
>
> >>>> I dont have access to the server right now, but it should be the
> >>>> default path for the .net 4. Something like
> >>>> c:\windows\microsoft.net\framework\4...
>
> >>>> Cheers,
> >>>> Henry Conceição
>
> >>>> 2010/6/5 Krzysztof Koźmic<[email protected]>:
>
> >>>>> Hey,
>
> >>>>> I updated Castle.Core to VisualStudio 2010 and .NET 4 (actually Hadi
> >>>>> Eskandari did all the hard work, I just integrated his changes).
> >>>>> Anyway - after the update TC stopped recognizing tests as tests. It does
> >>>>> not
> >>>>> report tests back, and when tests fail (which they currently do) it 
> >>>>> fails
> >>>>> the build as if it was any other kind of build error.
>
> >>>>> Can anyone take a look at this please?
>
> >>>>> Also Henry - what's the path for PeVeryfy for .NET 4 on the build 
> >>>>> server?
> >>>>> I'm pretty sure the tests for DP fail because PEVerify can't be found...
>
> >>>>> cheers,
> >>>>> Krzysztof
>
> >>>>> --
> >>>>> You received this message because you are subscribed to the Google 
> >>>>> Groups
> >>>>> "Castle Project Development List" group.
> >>>>> To post to this group, send email to
> >>>>> [email protected].
> >>>>> To unsubscribe from this group, send email to
> >>>>> [email protected].
> >>>>> For more options, visit this group at
> >>>>>http://groups.google.com/group/castle-project-devel?hl=en.
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Castle Project Development List" group.
> >>> To post to this group, send email to 
> >>> [email protected].
> >>> To unsubscribe from this group, send email to
> >>> [email protected].
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/castle-project-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to