我已经安装了Visual Studio 2015 Enterprise,但它需要花费太多时间才能启动(5~7分钟).
这是我安装的一些功能:
体系结构和建模工具
Microsoft体系结构和建模工具
LightSwitch for Visual Studio 2015
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015
Visual C#2015
Visual C++ 2015
应用程序洞察工具Visual Studio包1.0
ASP.NET和Web工具
ASP.NET Web框架和工具2013
常用Azure工具1.5
GenerateUnitTest
GitHub.VisualStudio
Microsoft Azure移动服务工具
Microsoft Code Digger
Microsoft.Pex.VisualStudio
NuGet软件包管理器
用于Visual Studio 2015的Office开发人员工具ENU
PreEmptive Analytics Visualizer
SQL Server数据工具
Workflow Manager工具1.0
Xamarin
Xamarin.Android
Xamarin.iOS
Xamarin.TestCloud.Integration
我怎样才能减少时间呢?
我正在使用 Angular v6.1.0 和。我的路由文件在这里:
const routes: Routes = [
{
path: '', component: DashboardComponent, children: [
{ path: '', redirectTo: 'activity', pathMatch: 'full' },
{ path: 'activity', component: ActivityComponent },
{ path: 'recent-activity', component: RecentActivityComponent },
{ path: 'notification', component: NotificationComponent }
]
},
];
Run Code Online (Sandbox Code Playgroud)
这是我订阅导航事件的代码:
router.events.subscribe((event: Event) => {
if (event instanceof NavigationStart) {
// Do something here
} else if (event instanceof NavigationEnd) {
// Do something here
}
});
Run Code Online (Sandbox Code Playgroud)
当我使用 router.navigation 时, NavigationEnd 被触发。
但是,如果我转到/dashboard路由器,它将重定向到上述路由文件中的 …
在旧版本的chrome中,我可以在if else语句中设置断点,以查看if条件中对象的值.
但是当将chrome升级到最新版本时,我现在无法做到.断点是if块内的自动放置.它使调试变得困难,如果我想在if else语句中调试,则必须放置两个断点
我的源代码不会缩小或截断其他任何内容.
我正在使用 pdfjs-dist 模块在模式弹出窗口中显示 pdf 文件。我可以应用一些功能:更改/转到页面、缩放等...
我想以全屏或演示模式查看pdf文件,就像pdfjs的演示一样:
我查看了 pdfjs 源代码,但我不知道如何进入全屏/演示模式。
我正在使用Angular v6,如果用户没有登录,我已经实现了从仪表板到登录页面的重定向.
我对这两个选项感到困惑:
这个案例有什么更好的解决方案?