Join  |  Sign in
Save Project in ScriptDebugger Demo

09-Sep-2017 09:08 AM

Aresto

Aresto

Posts: 3

How to save the  "*.csproj" After modifying it in the  Script Debugging Demo example ?


  Reply

10-Sep-2017 03:31 AM

Andrew Medvedev

Andrew Medvedev

Posts: 50

Hi,

We only have a basic code to load script source from the project file, however saving modified project file is outside the library's scope.
.NET Framework includes a class for project content manipulation, loading and saving, you may find these links useful :

https://stackoverflow.com/questions/22957913/modify-programatically-csproj-files-with-microsoft-build-evaluation-instead-of
https://msdn.microsoft.com/en-us/library/microsoft.build.evaluation.project.aspx

regards,
Andrew

  Reply