int ICompilerOptionsHostObject.SetCompilerOptions(string compilerOptions, out bool supported) { #pragma warning disable CS0618 // Type or member is obsolete (Legacy API that cannot be changed) VisualStudioProjectOptionsProcessor.SetCommandLine(compilerOptions); #pragma warning restore CS0618 supported = true; return(VSConstants.S_OK); }
public virtual void Disconnect() { _batchScopeCreator.StopTrackingProject(VisualStudioProject); VisualStudioProjectOptionsProcessor?.Dispose(); ProjectCodeModel.OnProjectClosed(); VisualStudioProject.RemoveFromWorkspace(); // Unsubscribe IVsHierarchyEvents DisconnectHierarchyEvents(); }
public void SetMainClass(string fullyQualifiedClassName) { VisualStudioProjectOptionsProcessor.SetMainTypeName(fullyQualifiedClassName); }
public void SetOutputFileType(OutputFileType fileType) { VisualStudioProjectOptionsProcessor.SetOutputFileType(fileType); }
int ICompilerOptionsHostObject.SetCompilerOptions(string compilerOptions, out bool supported) { VisualStudioProjectOptionsProcessor.SetCommandLine(compilerOptions); supported = true; return(VSConstants.S_OK); }