为什么 Visual Studio 2017 在启动时打开 Windows "For developers" 设置?
Why does Visual Studio 2017 open Windows "For developers" settings on startup?
每次我在 Windows 10 启动 VS 2017(企业版)时,它都会打开 设置 > 更新和安全 > 对于开发人员 屏幕。为什么会这样,我该如何预防?
已安装的工作负载:
- .NET 桌面
- UWP
- .NET 移动版 (Xamarin)
我不记得在安装期间更改过任何其他内容。
我在打开 Xamarin 项目时遇到了完全相同的问题。
(可能与Xamarin Mac Agent的配置请求有关)
I've found that enabling the developer mode on the settings stop the
panel to popup everytime.
由于 UWP 工作负载而出现(以及 Visual Studio 中的通知,即您需要开发者许可证才能开发 UWP 应用程序):
https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
However, if you are writing software with Visual Studio on a computer for first time, you will need to enable Developer Mode on both the development PC, and on any devices you'll use to test your code. Opening a UWP project when Developer Mode is not enabled will either open the For developers settings page, or cause this dialog to appear in Visual Studio:
- Developer mode lets you sideload apps, and also run apps from Visual Studio in debug mode.
切换到开发者模式或修改您的 Visual Studio 安装以不包含 UWP 将阻止它发生。
每次我在 Windows 10 启动 VS 2017(企业版)时,它都会打开 设置 > 更新和安全 > 对于开发人员 屏幕。为什么会这样,我该如何预防?
已安装的工作负载:
- .NET 桌面
- UWP
- .NET 移动版 (Xamarin)
我不记得在安装期间更改过任何其他内容。
我在打开 Xamarin 项目时遇到了完全相同的问题。 (可能与Xamarin Mac Agent的配置请求有关)
I've found that enabling the developer mode on the settings stop the panel to popup everytime.
由于 UWP 工作负载而出现(以及 Visual Studio 中的通知,即您需要开发者许可证才能开发 UWP 应用程序):
https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
However, if you are writing software with Visual Studio on a computer for first time, you will need to enable Developer Mode on both the development PC, and on any devices you'll use to test your code. Opening a UWP project when Developer Mode is not enabled will either open the For developers settings page, or cause this dialog to appear in Visual Studio:
- Developer mode lets you sideload apps, and also run apps from Visual Studio in debug mode.
切换到开发者模式或修改您的 Visual Studio 安装以不包含 UWP 将阻止它发生。