无法使用VS 2017 15.6.5编辑和构建装配 [英] no way to edit and build assembly withe VS 2017 15.6.5

查看:115
本文介绍了无法使用VS 2017 15.6.5编辑和构建装配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我曾经使用Visual Studio 2017 15.0开发我的UWP应用程序开发。

I used to wotk on my UWP application developement with Visual Studio 2017 15.0.

我不得不更改我的comptuer,因此我安装了最新版本的Visual Studio(15.6.5)。

I had to change my comptuer and so I installed the last version of Visual Studio (15.6.5).

第一个问题:我注意到程序集属性语法已更改(为什么?)。所以我改变了房产名称但是 无法从汇编信息editeor中的新AssemblyInfo.cs文件中加载信息(总是空字段)。

First issue: I noticed that assembly properties syntax had changed (why?). So I changed the propertry names but  there were no way to load information from the new AssemblyInfo.cs file in the assembly information editeor (always empty fields).

第二个问题:当我想构建时,我有错误:

Second issue: when i want to build, i have the error :

" XamlCompiler错误WMC1006:无法解析程序集或Windows元数据文件'系统.Runtime.dll' 2> C:\Program Files(x86)\ Windows Kits \10\bin\10.0.15063.0 \ XamlCompiler \ Microsoft.Windows.UI.Xaml.Common.targets(261,5):
Xaml内部错误错误WMC9999:类型Universe无法解析程序集"

我不能再工作了。有人可以帮助我吗?

I cannot work anymore. Someone can help me?

Thibault

推荐答案

请尝试检查 "在Visual Studio中构建期间自动检查缺少的软件包" ("允许NuGet下载已丢失的软件包"已经检查过),然后重建

您可以在工具 - >中找到这些设置。 NuGet包管理器 - >包管理器设置。

You can find these settings in Tools --> NuGet Package Manager --> Package Manager Settings.

 

问候,

弗莱彻


这篇关于无法使用VS 2017 15.6.5编辑和构建装配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆