7

When you create a new project in vs17 (basic mvc .net web application in c#). It comes with bootstrap 3, which means all the scaffolded pages and designs are wrong since they revamped the column sizing system.

Is there any way VS can be updated so it scaffolds etc. correctly after updating a project to bootstrap v4? Or is there going to be an update at some point for this change?

ObedMarsh
  • 433
  • 4
  • 19

2 Answers2

2

I ran into this same question when using a VS17 asp.net core mvc scaffold. With a little digging I was able to find a tutorial that walks you through updating bootstrap and jquery (Scroll about a third of the way down the page to the 'Upgrade Bootstrap Through Bower Package' section):

http://www.mytecbits.com/microsoft/dot-net/bootstrap-asp-net-core-mvc

Additionally, it is possible to create custom scaffolds with more modern versions of bootstrap. If you find yourself needing to update this often, it may be worth looking into that.

Ryan Gibbs
  • 1,292
  • 1
  • 15
  • 27
0

right here you will find how to replace the template of the edit view scaffolding for Bootstrap 4

Max
  • 4,965
  • 17
  • 49
  • 64