Ejemplo n.º 1
0
        public override IEnumerable <FrameworkName> GetSupportedFrameworks()
        {
#if VS14
            if (_nugetAwareProject != null)
            {
                using (var cts = new CancellationTokenSource())
                {
                    var task = _nugetAwareProject.GetSupportedFrameworksAsync(cts.Token);
                    return(task.Result);
                }
            }
#endif

            return(new FrameworkName[] { DteProject.GetTargetFrameworkName() });
        }