8

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

Raviraj reddy
  • 119
  • 1
  • 1
  • 4

2 Answers2

8

enter image description here

You will need to do the following

  • Click on the reference in the references tab

  • Hit F4 to bring up the properties grid

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

  • Set "Copy Local" to true

Michael Haephrati
  • 3,381
  • 1
  • 29
  • 53
Sachink
  • 1,335
  • 9
  • 20
0

This could caused by "global Settings"

Check if there is a Directory.Build.props-File somewhere in the folder that contains your source, and remove it.

For background see my Answer here: https://stackoverflow.com/a/50755604/1196586

gReX
  • 1,489
  • 1
  • 20
  • 35