问题描述
我在装有Visual Studio 2015的Windows 10笔记本电脑上安装了Windows 10.我正在尝试创建一个通用Windows Phone应用程序的新项目.我总是收到错误:Prameter targetplatformVersion不能为null.以下是我的机器的屏幕截图
I have windows 10 installed laptop with visual studio 2015 on it. I am trying to create a new project of universal Windows phone application. I always get the error Prameter targetplatformVersion cannot be null. Follwing are the screen shot of my machine
我尝试安装并重新安装 windows 10 sdk 也没有运气.
I have tried installation and re-installing the windows 10 sdk as well but no luck.
加载一个现有的项目(在该项目中我已经可以看到targetPlatformVersion)也没有加载并抛出相同的错误.
Loading an existing project where I can see targetPlatformVersion already is also not loading and throwing same error.
有什么主意可以解决为什么为什么我要获取参数targetplatformversion不能为null的问题?
Any idea how I can track down this issue that Why do I get parameter targetplatformversion cannot be null?
更新
在与MS VS团队的Karan进行了详细讨论之后,我们决定进行修复,并且修复成功.
After doing detailed discussion with Karan from MS VS team we decided to run the repair and it worked.
推荐答案
运行Visual Studio修复程序应该可以解决该问题.
Running a Visual Studio repair should solve the problem.
通过单击右上角的按钮将其报告为问题.
Report this as a problem by clicking on the button on the top right
然后按照此处的说明进行操作.确保提供跟踪和堆转储-请勿将其视为可选.
Then follow the instructions here. Ensure you Provide a trace and heap dump - do not treat this as optional.
完成此操作后请回覆,我将确保对此进行检查.
Reply back once you have done this and I will make sure this gets looked at.
这篇关于参数targetplatformversion不能为null-Visual Studio 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!