asp.net-core – 基本bproject create无法创建优质Nuget缓存
发布时间:2020-12-16 03:17:29 所属栏目:asp.Net 来源:网络整理
导读:我想让我的第一个.Net Core解决方案正常工作. 当我尝试在VS 2015中创建项目时,它失败了.所以回归基础. 使用这些指示: MS .Net Core 我这样做了 C:devTestsmkdir hwapp2C:devTestscd hwapp2C:devTestshwapp2dotnet -v newWelcome to .NET Core!------
我想让我的第一个.Net Core解决方案正常工作.
当我尝试在VS 2015中创建项目时,它失败了.所以回归基础. 使用这些指示: 我这样做了 C:devTests>mkdir hwapp2 C:devTests>cd hwapp2 C:devTestshwapp2>dotnet -v new Welcome to .NET Core! --------------------- Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs. Telemetry -------------- The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community. You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell. You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry. Configuring... ------------------- A command is running to initially populate your local package cache,to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once. Decompressing 100% 1758 ms Expanding 100% 6072 ms Failed to create prime the NuGet cache. restore failed with: 1 Telemetry is: Disabled Created new C# project in C:devTestshwapp2. 我在作为管理员的命令提示符中运行它.当我尝试在VS 2015中创建一个项目时也会发生同样的事情.顺便说一下,关闭了防火墙. 环境是 > Windows 10 Pro(Build 14393) 解决方法
您应该安装最新的.NET Core SDK并删除所有以前安装的版本.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net – 使用redirectMode =“ResponseRewrite”的custo
- asp.net – 可以在Web.config中配置一个位置,只允许本地连接
- asp.net-mvc – 如何在我自己的自定义助手中使用ASP.NET MV
- asp.net-mvc – ASP.NET MVC LINQ to SQL或Entities?
- ASP.NET Core / MVC 6 ViewModel中的依赖注入(DI)
- asp.net-mvc – MVC UpdateModel和子类与基类
- asp.net – 缓存最佳实践
- asp.net-mvc – asp.net MVC DisplayTemplates和EditorTemp
- 如何在ASP.NET中最好地填充HTML表?
- MVC中TempData、ViewData和ViewBag的区别
推荐文章
站长推荐
- asp.net – Web API和Upserts
- asp.net – jqgrid editurl:控制器动作参数
- npm – 如何从asp.net vnext项目中的wwwroot访问
- asp.net – sql server报告服务和其他报告工具之
- asp.net – 如何从Visual Studio 2010 SP1运行时
- asp.net-mvc – 无法获取脚本的程序集版本
- asp.net-mvc – 用于表单提交和即时结果显示的良
- asp.net-mvc-4 – ValidateInput(false)vs Allow
- asp.net-mvc-3 – MVC3,多文件上传,模型绑定
- asp.net – 如何使usercontrol可用于多个项目?
热点阅读