No files showing in a Visual Studio 2015 Blank Cor

2019-06-02 05:21发布

I'm struggling with ionic and cordova since few days now, one of the last issue I had is when I create a sample blank project in visual studio, the solution explorer is showing no files except the dependencies to Bower and NPM, do you know why?

Screenshot:
enter image description here

2条回答
老娘就宠你
2楼-- · 2019-06-02 05:45

try the following to find out...

Open cmd and type:

1. cd [project folder]
2. cordova build
查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-06-02 05:58

To fix this problem, please close Visual Studio and do the following steps:

  1. Open a Visual Studio Developer command prompt.
  2. Run devenv /clearcache

Or, delete this folder:

%localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache

When you restart Visual Studio the problem should go away.

查看更多
登录 后发表回答