mater branch not building

2 views
Skip to first unread message

Chris Nicola

unread,
Apr 3, 2010, 4:15:24 PM4/3/10
to S#arp Architecture
Just pulled down from GitHub and for some reason changes made in the
fixes for modelbinding and validation checking are cuasing me
trouble. Apparently NameValueCollectionValueProvider(formCollection,
null) is a protected constructor and
bindingContext.ValueProvider.GetValue(bindingContext.ModelName); is
missing it's key parameter.

Any idea why I'm seeing this.

Also the SharpArch.Web project is referencing a version of
System.Web.Mvc from the GAC instead of from the bin folder.

Chris Nicola

unread,
Apr 3, 2010, 4:24:22 PM4/3/10
to S#arp Architecture
Hmm, more oddness. The error about the GetValue having two parameters
is only in Visual Studio, if I fix it then when I run go.bat I get the
opposite error that there should only be one parameter... which one is
it?

The problem with NameValueCollectionValueProvider from the test class
seems to still be an issue when running the build script. It is an
abstract class that cannot be instantiated.

Chris Nicola

unread,
Apr 3, 2010, 10:32:04 PM4/3/10
to S#arp Architecture
Ok I've solved this.  My GAC version of MVC2 was not the release and for some reason there was some significant changes to the NameValueCollectionValueProvider (what a mouthfull).  So the references in bin/ should probably be updated (my opinion is #A should build regardless of whether or not MVC2 is installed).

Chris


--
You received this message because you are subscribed to the Google Groups "S#arp Architecture" group.
To post to this group, send email to sharp-arc...@googlegroups.com.
To unsubscribe from this group, send email to sharp-architect...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sharp-architecture?hl=en.


Alec Whittington

unread,
Apr 3, 2010, 11:17:34 PM4/3/10
to sharp-arc...@googlegroups.com
Chris,
     since we are prepping for the release, somethings might be a bit out of whack, especially since we just merged the branch back into the trunk. I will make sure it all gets corrected before the final release. Thanks for pointing these out.

Cheers,
Alec Whittington

Chris Nicola

unread,
Apr 4, 2010, 12:30:52 AM4/4/10
to sharp-arc...@googlegroups.com
No problem at all Alex, I just wanted to give you a heads up in case it is of any help to you guys as you get ready.  I did find another dll issue, the version of Nhibernate.Linq you have included is still for 2.1.1, you can get the 2.1.2 version from here http://sourceforge.net/projects/nhibernate/files/

I know how bad DLL hell gets.  Wish we had a way to build like rails people do... one day... one glorious day ;-).

There are also some DLLs that are not being output to the build folder when clicktobuild.bat is run.  In the end what I did was copy the dll's from the Northwind sample to upgrade my existing project and then downloaded the nHibernate.linq dll from SF.

Anyways I'm happy to say I have my Graphite blog engine project up and running using MVC2 and #A 1.5 along with Spark and RestfulRouting. 

Thanks,
Chris

Chris Nicola

unread,
Apr 4, 2010, 1:37:33 AM4/4/10
to sharp-arc...@googlegroups.com
Also finding that the version of MvcContrib included is broken.  I am building it from the codeplex source, however they reference Castle.Windsor 2.0 and #A is using 2.1.  I've decided to rebuild mvccontrib with 2.1.

If I get this all done and working I will upload my changes to my fork on github.

Alec Whittington

unread,
Apr 4, 2010, 5:57:49 PM4/4/10
to sharp-arc...@googlegroups.com
This was all building prior to the merging of the MVC 2 branch back on to the trunk. I will look into it. I ended up having to pull the MVCContrib bits from source and building against the updated castle stuff.

Out of curiosity, are you starting a fresh project or upgrading an existing?

Cheers,
Alec Whittington

Alec Whittington

unread,
Apr 4, 2010, 6:09:29 PM4/4/10
to sharp-arc...@googlegroups.com
Chris,
    sorry to bombard you with questions today, but can you tell me which ones are not being copied over? I will get those fixed up today.

Cheers,
Alec Whittington

Asbjørn Ulsberg

unread,
Apr 8, 2010, 1:35:53 AM4/8/10
to sharp-arc...@googlegroups.com, Chris Nicola
I haven't had these problems, but found that the version of MvcContrib
included was a bit old. Is that right or did I somehow not get the right
version from GitHub?


-Asbj�rn


On Sun, 04 Apr 2010 08:37:33 +0300, Chris Nicola <chni...@gmail.com>
wrote:

>>>>> sharp-architect...@googlegroups.com<sharp-architecture%2Bunsu...@googlegroups.com>


>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/sharp-architecture?hl=en.
>>>>>
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups
>>>> "S#arp Architecture" group.
>>>> To post to this group, send email to
>>>> sharp-arc...@googlegroups.com
>>>> .
>>>> To unsubscribe from this group, send email to

>>>> sharp-architect...@googlegroups.com<sharp-architecture%2Bunsu...@googlegroups.com>


>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/sharp-architecture?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups
>>> "S#arp Architecture" group.
>>> To post to this group, send email to
>>> sharp-arc...@googlegroups.com.
>>> To unsubscribe from this group, send email to

>>> sharp-architect...@googlegroups.com<sharp-architecture%2Bunsu...@googlegroups.com>

Alec Whittington

unread,
Apr 8, 2010, 10:24:31 AM4/8/10
to sharp-arc...@googlegroups.com
What version are you seeing? it should be 2.0.34.0.

Cheers,
Alec Whittington




2010/4/7 Asbjørn Ulsberg <asbj...@gmail.com>
I haven't had these problems, but found that the version of MvcContrib included was a bit old. Is that right or did I somehow not get the right version from GitHub?


-Asbjørn
To unsubscribe from this group, send email to sharp-architect...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages