提交 bef0dafa 编写于 作者: G Gen Lu

Add a SetProperty API for CPS to passing msbuild properties

上级 bae89322
......@@ -2,8 +2,6 @@
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace Microsoft.VisualStudio.LanguageServices.ProjectSystem
......@@ -25,6 +23,9 @@ internal interface IWorkspaceProjectContext : IDisposable
// Options.
void SetOptions(string commandLineForOptions);
// Other project properties.
void SetProperty(string name, object value);
// References.
void AddMetadataReference(string referencePath, MetadataReferenceProperties properties);
void RemoveMetadataReference(string referencePath);
......
......@@ -123,6 +123,11 @@ public void SetOptions(string commandLineForOptions)
}
}
public void SetProperty(string name, object value)
{
// TODO
}
public void AddMetadataReference(string referencePath, MetadataReferenceProperties properties)
{
referencePath = FileUtilities.NormalizeAbsolutePath(referencePath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册