简体   繁体   English

Monogame 3.4和Windows 10 UAP项目的常量Visual Studio Update必需弹出窗口

[英]Constant Visual Studio Update Required popup for Monogame 3.4 and Windows 10 UAP project

So, I've been trying to launch Monogame template on Windows Phone emulator with Visual Studio, but I couldn't get it work. 所以,我一直在尝试使用Visual Studio在Windows Phone模拟器上启动Monogame模板,但我无法让它工作。

This is what I have tried: 这是我尝试过的:

In my project I have encountered a problem with creating a Monogame project for Windows UAP in Visual Studio. 在我的项目中,我遇到了在Visual Studio中为Windows UAP创建Monogame项目的问题。 I have tried to create a project with a Wizard tool, but after project creation I got the message that I need to install Universal Platform Tools 我曾尝试使用向导工具创建项目,但在项目创建之后,我收到了需要安装Universal Platform Tools的消息

see picture number 1 见图1

after I pressed Install button an error has occurred 按下“安装”按钮后发生错误

see picture number 2 见图2

,but the Visual Studio Setup window popped anyway. ,但无论如何都会弹出Visual Studio Setup窗口。 I have installed all the features that have been selected, but this didn't help. 我已经安装了所有已选择的功能,但这没有帮助。

see picture number 3 见图3

Notification in Solution Explorer: This project requires a Visual Studio update to load. 解决方案资源管理器中的通知:此项目需要加载Visual Studio更新。 Right-click on the project and choose “Download Update”. 右键单击该项目,然后选择“下载更新”。

see picture number 4 见图4

After clicking on “Download Update” it takes me to this website 点击“下载更新”后,我将访问此网站

After choosing “reload project” it displays the following error: 选择“重新加载项目”后,它会显示以下错误:

see picture number 5 见图5

after choosing highlighted option “Install” it takes me again to the mentioned website. 选择突出显示的选项“安装”后,它再次带我到上述网站。

Does anyone know what I am missing or what should I do in this situation? 有谁知道我错过了什么或在这种情况下我该怎么办?


Installed Software: 安装软件:

Windows 10 Pro with latest updates Windows 10 Pro带有最新更新

Microsoft Visual Studio Community 2015 Version 14.0.24720.00 Update 1 Microsoft Visual Studio社区2015版本14.0.24720.00更新1

Monogame 3.4 for Visual Studio Visual Studio的Monogame 3.4

On your device navigate to 在您的设备上导航至

\\Program Files (x86)\\Windows Kits\\10\\Extension SDKs\\WindowsMobile\\ \\ Program Files(x86)\\ Windows Kits \\ 10 \\ Extension SDKs \\ WindowsMo​​bile \\

From here you will find the version number of windows installed on your system. 从这里您可以找到系统上安装的Windows版本号。
Now Right click and click on Edit YourProject.csproj 现在右键单击并单击Edit YourProject.csproj
Now here look for 现在在这里寻找

<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10240.0" MaxVersionTested="10.0.10240.0" />

You will need to update this to the version numbers here to ones that is installed on your system esp the minversion number. 您将需要更新此这里的版本号到安装系统ESP的MINVERSION数量上的。
Now save it and you should be able to open up your project in most of the cases. 现在保存它,你应该能够在大多数情况下打开你的项目。
If that still doesnt fix the issue or if your project has been created for different version of windows app 8.1 etc then have a look at this Microsoft Link . 如果仍然无法解决问题,或者您的项目是针对不同版本的Windows应用8.1等创建的,那么请查看此Microsoft链接
Hope that helps. 希望有所帮助。 But if in monogame you are still facing an issue try this Webcached link 但如果在单一游戏中你仍然面临一个问题,请尝试使用此Webcached链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM