DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
224 stars 79 forks source link

eyecon date picker problem (bad twitterbootstrapmvc reference) #283

Closed ixgaming closed 10 years ago

ixgaming commented 10 years ago

Hi,

It seems there is a problem with the last compiled version of eyecon datepicker plugin

I have updated twitterbootstrapmvc5 and eyecon datepicker to the last version (dated april 11th 2014). but i am having this error : Message d'erreur du compilateur: CS0012: Le type 'TwitterBootstrapMVC.Controls.BootstrapControlGroupTextBox`1' est défini dans un assembly qui n'est pas référencé. Vous devez ajouter une référence à l'assembly 'TwitterBootstrapMVC5, Version=3.12.3.0, Culture=neutral, PublicKeyToken=null'.

it tells the assembly twitterBootstrapMVC5 is not referenced but its name is now twitterbootstrap (not twitterbootstrapMVC5)

After decompiling the eyecon library it seems the problem is here. The eyecon library reference TwitterBootstrapMVC5 version 3.12.3.0 instead of TwitterBootstrapMVC version 3.12.3.0 recompiling eyecon with the good reference should now be ok. Can you update it ?

DmitryEfimenko commented 10 years ago

I just tested this and it works for me. Could you try it on a fresh project and see if it works for you?

ixgaming commented 10 years ago

Hi Dmitry, Thanks for your reply nevertheless, i still have the problem. I have deleted my dll and reloaded them from nuget.

On your website twitterbootstrapMVC can you post the last version of the dll. the current link : https://twitterbootstrapmvc.com/Content/docs/TwitterBootstrapMVC.zip is not the last version.

thanks

DmitryEfimenko commented 10 years ago

Try it on the completely fresh project rather than on the existing. This way we'll know if it's the project's configuration or BMVC. the zip on the website is updated with latest.

FVI commented 10 years ago

Hi ! We encountered the same issue on our project after the update, so we downgraded for the moment and tried on a new project and the issue is the same... It seems that the last updated eyecon library doesn't reference the proper TwitterBootstrapMVC library.

M4k34B3tt3rW0r1D commented 10 years ago

So,

I've checked what is wrong : this is the nuget package ==> it comes with twitterbootstrapmvc.dll instead of twitterbootstrapMVC5.dll which twitterbootstrapmvc.eyecon.datepicker reference on.

You should repackage your nuget package. (and the link you provide to to download the zip).

You must have : T4MVCExtensions.dll TwitterBootstrap.MVC.Eyecon.DatePicker.MVC5.dll (and others) TwitterBootstrap.MVC.Flaty.MVC5.dll TwitterBootstrapMVC5.dll Portable.Licensing.dll

And now all is working fine. :)

DmitryEfimenko commented 10 years ago

Thanks for narrowing this down. It is fixed now. Please confirm it works for you