LoginSignup
0
0

More than 3 years have passed since last update.

VisualStudio2019でパッケージを復元しない時

Posted at

VisualStudio2019で新規にXamarinプロジェクトを作成した際、
ビルドができず、Nugetのパッケージを復元できませんでしたとのメッセージが出て困った。

コンソールを見ると下記メッセージが...

Unable to get repository signature information for source https://api.nuget.org/v3-index/repository-signatures/4.7.0/index.json.

解決方法

VisualStudioを再起動してプロジェクトを開き直すとこの問題は解決した。

原因

VisualStudio2019で新規プロジェクトを作成すると、
プロジェクト配下のobjフォルダ以下に
nuget.targetsやnuget.props, project.assets.jsonが生成されないみたい。

2017の時はこんな事なかったのになぁ。。

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