Example #1
0
        async Task RunTests(DotNetProject project)
        {
            await project.ClearCachedData();

            var config = IdeApp.Workspace.ActiveConfiguration ?? ConfigurationSelector.Default;

            using (var timer = new SimpleTimer(LogView, project, "GetReferencedAssemblies")) {
                var results = await project.GetReferencedAssemblies(config, false);
            }

            using (var timer = new SimpleTimer(LogView, project, "GetSourceFilesAsync")) {
                var sources = await project.GetSourceFilesAsync(config);
            }
        }