.net - Visual Studio 2010 和 .NET 4.0 客户端配置文件

标签 .net visual-studio-2010 .net-client-profile

我们是 .NET 组件供应商,我们的产品需要连接到互联网才能激活。在 Visual Studio 2010 中,只要您创建一个新的 WinForms 项目,就会选择 .NET Framework 4.0 Client Profile,而不会为 Internet 连接提供必要的支持。

尽管有这个有争议的默认选择,我们是否可以做些什么来自动将 .NET Framework 切换到 Visual Studio 到 .NET Framework 4.0 Full?

谢谢。

最佳答案

有人整理了一个 hack 来解决这个问题。您需要更改 Visual Studio 模板并重建模板缓存。这在此处详细描述:

http://blog.rolpdog.com/2010/04/changing-default-framework-profile-in.html

我知道我已经死了一个旧帖子,但我遇到了同样的问题,它有助于找到正确的解决方案。

关于.net - Visual Studio 2010 和 .NET 4.0 客户端配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4010418/

相关文章:

c# - 从 C# 确定 SQL Server 数据库列的默认值

c# - 定义用户定义的 Guid

c# - C# : How to remove hover background? 中的自定义按钮

c# - 如何使 C# 源文件由 Visual Studio 处理,但不在程序集中编译?

c# - .Net Framework 4 Full 和 Net Framework 4 Client Profile Targeting

c# - 是否可以在 .Net 的不同项目中处理同一个程序集?

visual-studio-2010 - Entity Framework 生成缺少实体

C++:让 VS2010 提示 "If"和 "="

c# - .NET 4 Client Profile 的真正好处是什么?

.net - 客户资料申请先决条件