c# - Changing csproj file in open project without reloading -


i'm making addin visualstudio(2015).

i want change .csproj file in opened project code have reload project.

is there way without reloading, special vs tools change project properties?

my code:

var collection = new projectcollection(); collection.defaulttoolsversion = "4.0"; var project = collection.loadproject(@"..\..\myproject.csproj");  var group = project.xml.addpropertygroup(); group.label = "mygroup"; group.addproperty(myname, "myvalue");  project.save(); 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -