ASP.NET VNext调试MVC源

编程入门 行业动态 更新时间:2024-10-25 10:25:25
本文介绍了ASP.NET VNext调试MVC源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我跟着伊姆兰俾路支省的博客文章在那里他展示了如何可以调试成ASP.Net MVC VNext。

I followed the blog post of Imran Baloch where he shows how you can debug into ASP.Net MVC VNext.

我以前在安装了VS 2014中虚拟机的Azure。

I used a VM in Azure where Vs 2014 is installed.

我创建的全球性解决方案文件夹,并在那里我指定含有的github/aspnet/Mvc/tree/dev/src 。当我试图编译解决方案,我得到了很多,因为缺少引用错误。

I created the global solution folder and placed a global.json file in it where I specified the folder containing the current MVC source cloned from github/aspnet/Mvc/tree/dev/src. When I try to compile the solution I get a lot of errors because of missing references.

有没有人尝试在博客文章中提出的方法是什么?我在做什么错了?

Did anybody try out the method proposed in the blog post? What am I doing wrong?

推荐答案

我在这里拍摄的,因为盲目添加源global.json精品工程我。

I'm shooting blind here because adding the sources to global.json works fine for me.

尝试添加NuGet.config文件包含以下内容您的解决方案:

Try adding a NuGet.config file to your solution with the following content:

<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="AspNetVNext" value="www.myget/F/aspnetvnext/" /> <add key="NuGet" value="nuget/api/v2/" /> </packageSources> </configuration>

另外,尽量做在您的解决方案文件夹的根目录运行 KPM恢复。

如果这没有帮助,请加像KRE版本多一点信息,什么是你的&lt;使用者的个人资料方式&gt; \\ KRE 或&lt;使用者的个人资料方式&gt; \\ KPM 文件夹

If this doesn't help, please add a little more information like KRE version, what is in your <user profile>\.kre or <user profile>\.kpm folders

更多推荐

ASP.NET VNext调试MVC源

本文发布于:2023-06-10 16:27:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/615027.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:NET   ASP   MVC   VNext

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!