如何在Visual Studio Community 2015中将``复制本地属性''设置为true [英] How to Set the Copy Local Property to true in visual studio community 2015

查看:107
本文介绍了如何在Visual Studio Community 2015中将``复制本地属性''设置为true的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Visual Studio 2015中将复制本地"属性设置为True,但是当我将其从false更改为true并移至下一个属性时,该值又更改回false

I am trying to set Copy Local property to True in visual studio 2015 but When I change it from false to true and move to the next property, the value changed back to false

推荐答案

您需要执行以下操作

  • 在参考"标签中单击参考

  • Click on the reference in the references tab

按F4键弹出属性网格

将嵌入的互操作类型"设置为False(这会在本地复制副本)

Set "Embed Interop Types" to False (this will ungray Copy Local)

将复制本地"设置为true

Set "Copy Local" to true

这篇关于如何在Visual Studio Community 2015中将``复制本地属性''设置为true的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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