我跟着伊姆兰俾路支省的博客文章在那里他展示了如何可以调试成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源
发布评论