0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VisualStudio 2019 WebForm Bootstrap3→4 Update

Last updated at Posted at 2020-11-01

持っている知識は Excel/AccessのVBA。ほぼ毎日 VBA を使っている。
Webシステムを作成するには VB の方が理解しやすいので、ASP.NETのVisualBasicを選択しました。
勉強しながら、学んだことを忘れないようにメモっておきます。
(画像多めです。)

環境

Windows 10 Pro
VisualStudio 2019

VisualStudio 2019

超初心者、MVC は難しそうなので WebForm を選択しました。
画面デザインには、Bootstrapを利用したいと思います。

WebForm の新規プロジェクトを作成

WebForm の 新規プロジェクトを作成した。
image.png

[新しいプロジェクトの作成]で、[ASP.NET Webアプリケーション]を選択
image.png

プロジェクト名を[WebForm1]とした
image.png

[Web Forms]を選択
image.png

[WebForm]のプロジェクトが作成された。
image.png
Bootstrapを使ったページができている。

パッケージのアップデート(Bootstrap 3 → 4)

Bootstrapをアップデートしようと、[NuGetパッケージの管理]を選択
image.png

[Bootstrap]にチェックを入れ[更新]した
image.png

エラー発生!
image.png

パッケージマネージャコンソールで、[Update-Package]を実行
image.png

PM>Update-Packageを実行

image.png
どうやらうまくいったようだ。
image.png

終了後に、アップデート画面が表示されたので、チェックを入れて更新した。
image.png

しかし、先ほどと同様にエラー発生!
image.png

とりあえず、Bootstrap v4.5.2 にはなったようだ。
エラーの意味はよく分からないので、もう少し勉強します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?