Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter Bootstrap for ASP.Net MVC 4 Sample 1.1.100 Crash #99

Closed
ahmed-sherien opened this issue Oct 10, 2013 · 35 comments
Closed

Twitter Bootstrap for ASP.Net MVC 4 Sample 1.1.100 Crash #99

ahmed-sherien opened this issue Oct 10, 2013 · 35 comments

Comments

@ahmed-sherien
Copy link

I just installed Twitter Bootstrap for ASP.Net MVC 4 Sample 1.1.100, it gave the following error:

  • Error 1 The name 'NavigationRouteFilters' does not exist in the current context
  • Error 2 'System.Web.Routing.RouteValueDictionary' does not contain a definition for 'HasFilterToken' and no extension method 'HasFilterToken' accepting a first argument of type 'System.Web.Routing.RouteValueDictionary' could be found (are you missing a using directive or an assembly reference?)
  • Error 3 'System.Web.Routing.RouteValueDictionary' does not contain a definition for 'FilterToken' and no extension method 'FilterToken' accepting a first argument of type 'System.Web.Routing.RouteValueDictionary' could be found (are you missing a using directive or an assembly reference?)
  • Error 4 The type or namespace name 'NavigationRouteOptions' could not be found (are you missing a using directive or an assembly reference?)
@ahmed-sherien
Copy link
Author

I think you didn't upload navigationroutes.mvc4 -Version 1.1.100

@erichexter
Copy link
Owner

that version does not exist

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Thu, Oct 10, 2013 at 5:39 PM, Ahmed Sherien notifications@github.comwrote:

I think you didn't upload navigationroutes.mvc4 -Version 1.1.100


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26097671
.

@ahmed-sherien
Copy link
Author

When I uninstalled the 1.1.100 versions and installed the 1.0.90 ones things went well no errors anywhere ...

@serra
Copy link
Contributor

serra commented Oct 11, 2013

I can confirm that installing package version 1.1.100 into an empty MVC4 application does NOT give the user a compiling project.

IMO this is another loose end of navigation routes "overhaul". Related #68 #82.

@ScottL7
Copy link

ScottL7 commented Oct 13, 2013

I too am having the exact same build errors along with 3 additional errors:
I started with an empty MVC4 project, added the sample via NuGet tried to build and generated the errors below:
2013-10-12_21-34-53

@leemccolm
Copy link

I am also having this problem.

@allen-of-yore
Copy link

Me too. Since Friday. Now Monday 10/14. Exact same issues.

@jgajeway
Copy link

Is there ANY solution to this? Pretty much the same for me, created an Empty MVC 4 project, added bootstrap nuget package, added sample nuget package, solution will not build. Tried a few workarounds but nothing worked and it looks like even trying to specify an earlier version of the bootstap nuget package still installs 1.1.1

@jgajeway
Copy link

I guess if you don't want to take advantage of the routing that's set up for you you can just comment out the code. It's not the most ideal solution but it worked for me since I really don't need that for this simple project. Would be nice to have a working sample though.

@allen-of-yore
Copy link

Hello - It's been a few days now - like a week. Has anyone encountered a fix for this? Does anyone know if ANYONE is working on a fix? Thanks.

@erichexter
Copy link
Owner

I have not had any spare cycles to look I to this. With the release of vs
2013, they support bootstrap out if the box I am not sure there is much
need for this project going forward

On Thursday, October 17, 2013, Allen wrote:

Hello - It's been a few days now - like a week. Has anyone encountered a
fix for this? Does anyone know if ANYONE is working on a fix? Thanks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26540629
.

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

@ScottL7
Copy link

ScottL7 commented Oct 17, 2013

Hi Eric, interestingly the currently release version of VS 2013 RC uses Bootstrap v2.3, but the latest bootstrap version is v3.0. I found a good website that provides step-by-step procedures on how to update 2013's Bootstrap:
Using Bootstrap 3 with Visual Studio 2013 ASP.NET MVC Template by Ghislain Proulx: http://www.ghislainproulx.net/Blog/2013/09/using-bootstrap-3-with-visual-studio-2013-aspnet-mvc-template

@erichexter
Copy link
Owner

I believe the soon to be released version will have 3.0

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Thu, Oct 17, 2013 at 2:56 PM, ScottL7 notifications@github.com wrote:

Hi Eric, interestingly the currently release version of VS 2013 RC uses
Bootstrap v2.3, but the latest bootstrap version is v3.0. I found a good
website that provides step-by-step procedures on how to update 2013's
Bootstrap:
Using Bootstrap 3 with Visual Studio 2013 ASP.NET MVC Template by
Ghislain Proulx:
http://www.ghislainproulx.net/Blog/2013/09/using-bootstrap-3-with-visual-studio-2013-aspnet-mvc-template


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26545288
.

@ScottL7
Copy link

ScottL7 commented Oct 17, 2013

Either way, thank you for all you have done!!! It is tremendously appreciated!!!

Warmest regards,
= Scott =

On Oct 17, 2013, at 4:25 PM, Eric Hexter notifications@github.com wrote:

I believe the soon to be released version will have 3.0

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Thu, Oct 17, 2013 at 2:56 PM, ScottL7 notifications@github.com wrote:

Hi Eric, interestingly the currently release version of VS 2013 RC uses
Bootstrap v2.3, but the latest bootstrap version is v3.0. I found a good
website that provides step-by-step procedures on how to update 2013's
Bootstrap:
Using Bootstrap 3 with Visual Studio 2013 ASP.NET MVC Template by
Ghislain Proulx:
http://www.ghislainproulx.net/Blog/2013/09/using-bootstrap-3-with-visual-studio-2013-aspnet-mvc-template


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26545288
.


Reply to this email directly or view it on GitHub.

@allen-of-yore
Copy link

Eric: Thanks for the reply.
I wasn't aware that vs2013 was out of beta.
Thanks much.

Allen

On Thu, Oct 17, 2013 at 12:45 PM, Eric Hexter notifications@github.comwrote:

I have not had any spare cycles to look I to this. With the release of vs
2013, they support bootstrap out if the box I am not sure there is much
need for this project going forward

On Thursday, October 17, 2013, Allen wrote:

Hello - It's been a few days now - like a week. Has anyone encountered a
fix for this? Does anyone know if ANYONE is working on a fix? Thanks.


Reply to this email directly or view it on GitHub<
https://github.com/erichexter/twitter.bootstrap.mvc/issues/99#issuecomment-26540629>

.

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26543887
.

@erichexter
Copy link
Owner

vs2013 was released on msdn today.. go get it and try it out

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Thu, Oct 17, 2013 at 3:35 PM, Allen notifications@github.com wrote:

Eric: Thanks for the reply.
I wasn't aware that vs2013 was out of beta.
Thanks much.

Allen

On Thu, Oct 17, 2013 at 12:45 PM, Eric Hexter notifications@github.comwrote:

I have not had any spare cycles to look I to this. With the release of
vs
2013, they support bootstrap out if the box I am not sure there is much
need for this project going forward

On Thursday, October 17, 2013, Allen wrote:

Hello - It's been a few days now - like a week. Has anyone encountered
a
fix for this? Does anyone know if ANYONE is working on a fix? Thanks.


Reply to this email directly or view it on GitHub<

https://github.com/erichexter/twitter.bootstrap.mvc/issues/99#issuecomment-26540629>

.

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter


Reply to this email directly or view it on GitHub<
https://github.com/erichexter/twitter.bootstrap.mvc/issues/99#issuecomment-26543887>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26550034
.

@allen-of-yore
Copy link

Will do and Thanks much!

Allen Simmer

@erichexter
Copy link
Owner

I will get this version patched but it will not be upgraded now that the
asp.net team will maintain this for mvc5. I will extract the runtime
scaffolding and make that work with the new mvc 5 templates.

The only outstanding issue is if the community thinks the navigation is
valuable, if there is the need for it we could just extract that and make
it work with the new packages

On Thursday, October 17, 2013, Allen wrote:

Will do and Thanks much!

Allen Simmer


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-26550785
.

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

@serra
Copy link
Contributor

serra commented Oct 18, 2013

👍 this is the way to go

@ayagoub
Copy link

ayagoub commented Oct 22, 2013

Hi,

I tried VS2013 with bootstrap 3, i think there is a problem with HTML helpers (@Html.EditorFor() use Bootsrap 2 input classes).

And with mvc 4 i am blocked with HasFilterToken() and FilterToken().

Any idea please.

@elhaix
Copy link

elhaix commented Oct 28, 2013

Same issue as listed here: http://stackoverflow.com/questions/19618771/how-to-resolve-mvc4-twitter-bootstrap-project-fail-from-simple-nuget-installatio/19638918?noredirect=1#19638918 - and those files were dated October 26, 2013. What's the solution?

@ryandh
Copy link

ryandh commented Oct 29, 2013

yes, I got the same errors. on the vs2012
image

image

nuget dependencies
  <package id="Twitter.Bootstrap" version="2.3.2" targetFramework="net45" />
  <package id="twitter.bootstrap.mvc4" version="1.1.100" targetFramework="net45" />
  <package id="twitter.bootstrap.mvc4.htmlhelpers" version="1.1.100" targetFramework="net45" />
  <package id="twitter.bootstrap.mvc4.sample" version="1.1.100" targetFramework="net45" />
  <package id="WebApiTestClient" version="1.1.1" targetFramework="net45" />

@SRIRAM0905
Copy link

Hi Eric:Please help me out,is that doable

I am having the same problem,mine is little bit complex.

1)I installed MVC 4.0 template on vs 2010 with 4.0 FRAME WORK.
2)Then i installed Bootstrap ,and examples for MVC 4.0 same error.........................

i am unable to fix this problem........

untitled
in VS 2010 using 4.0 framework on MVC 4.0 template

@titombo
Copy link

titombo commented Dec 5, 2013

Same problem as above

@bking1579
Copy link

Some of us are small shops and don't always jump on the latest version of Visual Studio. Anyone have a simple, repeatable fix for this without upgrading to VS2013?

@ColdFireDesigns
Copy link

Same! I have this issue, and it's still not resolved.

@jgajeway
Copy link

its not going to be resolved most likely, with the bootstrap template coming out for MVC5 (or already out I guess I should say) there is no need for this. So I'm guessing someone will just have to fix it on their own and post the fix or you will just have to find a new solution if you can't upgrade visual studio to the latest and greatest

From: Jason Beaudoin [mailto:notifications@github.com]
Sent: Thursday, January 30, 2014 1:34 PM
To: erichexter/twitter.bootstrap.mvc
Cc: Justin Gajeway
Subject: Re: [twitter.bootstrap.mvc] Twitter Bootstrap for ASP.Net MVC 4 Sample 1.1.100 Crash (#99)

Same! I have this issue, and it's still not resolved.


Reply to this email directly or view it on GitHubhttps://github.com//issues/99#issuecomment-33724167.

@veve90
Copy link

veve90 commented Mar 19, 2014

I have the same problem! Is smb having a solution for this?

@serra
Copy link
Contributor

serra commented Mar 20, 2014

As a workaround, try installing version 1.0.90. There is a how-to on SO. This issue is unlikely to be resolved.

Version 1.0.90 will give you most of the stuff you need.

@bardware
Copy link

It's not about integrating bootstrap with an ASP.NET project but about having a working sample to look at when developing.

@kmiloaguilar
Copy link
Contributor

@erichexter you need to update the navigation routes nuget package. I submitted a few hours a pull request that will fix this also, but you need to update from the latest you have in that other repo NavigationRoutes

@erichexter
Copy link
Owner

done

@kmiloaguilar
Copy link
Contributor

Is that updated in nuget? Can you remind my your nuget feed?

@erichexter
Copy link
Owner

http://www.myget.org/F/erichexter/

its listed under Preview Releases in the Readme.md

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Thu, Nov 13, 2014 at 8:32 AM, Camilo Aguilar notifications@github.com
wrote:

Is that updated in nuget? Can you remind my your nuget feed?

Reply to this email directly or view it on GitHub
#99 (comment)
.

@kmiloaguilar
Copy link
Contributor

I confirm that this is fixed. @erichexter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests