13

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
  • 169
  • 1
  • 1
  • 5

2 Answers2

13

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,660
  • 1
  • 33
  • 56
Sachink
  • 1,425
  • 10
  • 22
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,060
  • 1
  • 20
  • 35