Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving to AsyncPackage #71

Merged
merged 101 commits into from
Feb 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
00d158e
Starting development for 3.0.0
StefanKert Dec 23, 2018
7b68ef6
Dropping support for vs2013
StefanKert Dec 23, 2018
55c7f2d
Removing third party nuget packages and replace with Microsoft packages
StefanKert Dec 23, 2018
3bb9a5d
update to make use of asyncpackage
StefanKert Dec 27, 2018
70932b1
Further major refactorings.
StefanKert Jan 4, 2019
3a680f8
Added further extension methods to make them more readable.
StefanKert Jan 7, 2019
0b1f15d
Further improvement for several entities. Starting to move to IVsUpda…
StefanKert Jan 14, 2019
f227aa9
Fixed integrationtests
StefanKert Mar 8, 2019
645cf64
Next steps to a cleaner structure
StefanKert Mar 9, 2019
83b9de1
Introducing several services
StefanKert Mar 9, 2019
b97a25d
Added several additional services and moved some components to Contra…
StefanKert Mar 11, 2019
f4ccea4
Moved some controls and components to separate classes
StefanKert Mar 16, 2019
edfb460
Further cleanup
StefanKert Mar 16, 2019
c284def
Additional fixes.
StefanKert Mar 16, 2019
d93ece9
Reorganizing generic.xaml
StefanKert Mar 18, 2019
d7d1747
Some minor refactorings
StefanKert Mar 19, 2019
09983f2
Added Description parameter
StefanKert Mar 19, 2019
9fbfd93
Using common xaml for indicators
StefanKert Mar 19, 2019
ed47ff2
Removed further inused classes.
StefanKert Mar 20, 2019
4eda9df
Bring back BuildVision ToolWindow
StefanKert Mar 20, 2019
cbb7d32
Adding vstest console runner
StefanKert Mar 21, 2019
259979c
Separated unittests and integrationtests into two steps
StefanKert Mar 21, 2019
f6da48d
Wildcards to include subdirectories
StefanKert Mar 21, 2019
48247fa
No need to build develop
StefanKert Mar 21, 2019
334f6c2
Added xunit 2.4.1 and description for tests
StefanKert Mar 21, 2019
c5357eb
installing vstest
StefanKert Mar 21, 2019
a5bf96f
Uninstalled mstestadapter
StefanKert Mar 21, 2019
7dadb21
Invoke dotnet vstest directly
StefanKert Mar 21, 2019
8c1b82a
Using righ tname for assembly
StefanKert Mar 21, 2019
4208d10
Migrated common / contracts to new csproj
StefanKert Mar 21, 2019
2776e37
Using $(BuildConfiguration) for tests
StefanKert Mar 21, 2019
12c8e7c
Setting Exp flag
StefanKert Mar 21, 2019
fd16d33
Try to run on localmachine
StefanKert Mar 22, 2019
e99bd6e
Merge branch 'feature/asyncpackage' of https://github.com/stefankert/…
StefanKert Mar 22, 2019
d7c779e
Continue on failure nbgv install
StefanKert Mar 22, 2019
7651841
Using ui vs2017 build agent
StefanKert Mar 22, 2019
697e63b
Fixed packageloadtest
StefanKert Mar 22, 2019
2dc9a63
Using hosted agent agai
StefanKert Mar 22, 2019
16f40a5
Fixed issue with indicators
StefanKert Mar 23, 2019
06bf033
Moved some files to different places
StefanKert Mar 23, 2019
6d18526
Added back most of the ermoved functionalities
StefanKert Mar 23, 2019
46a8a8d
Additional cleanups and fixes
StefanKert Mar 23, 2019
0485750
Initial flow is working again.. needs much more cleanup but we are on…
StefanKert Mar 23, 2019
28b7bd3
Included error messages to projectgrid
StefanKert Mar 29, 2019
01d54f8
Fixed setting dialogs and furthe rthings
StefanKert Mar 30, 2019
d43a806
Removed unused channel .. maybe later
StefanKert Mar 30, 2019
c0d8a8b
Added global exceptionhandling
StefanKert Apr 5, 2019
08b6200
Reset current projects on rebuild
StefanKert Apr 5, 2019
00b0fe6
Fixed issue with progressbar
StefanKert Apr 5, 2019
0b6022e
Using metapackage
StefanKert Apr 5, 2019
0e8d802
Only navigate on errorlevel Error
StefanKert Apr 6, 2019
7b7d4a7
Using autload
StefanKert Apr 6, 2019
dcde1ae
Auto load after solution opened
StefanKert Apr 6, 2019
c5cc157
Using nuget pkg for ms build
StefanKert Apr 6, 2019
b0166af
Using outoload behaviour
StefanKert Apr 6, 2019
f4ae645
Loading in background
StefanKert Apr 6, 2019
fc16b7e
Using syncsolutiuon again
StefanKert Apr 6, 2019
afb62ac
Seems like toolwindow is working properly
StefanKert Apr 6, 2019
d81a0ae
MInor cleanup
StefanKert Apr 6, 2019
86897c2
Fixed cancel build error
StefanKert Apr 6, 2019
9e7f92d
Fixed cancel build issue
StefanKert Apr 6, 2019
51c606f
Hide pending items
StefanKert Apr 6, 2019
77e7aac
Smaller cleanups and fixes to sorting
StefanKert Apr 7, 2019
91f935e
Cleanup stuff
StefanKert Apr 12, 2019
901673d
Using new logging framework Serilog do trace errors more easily
StefanKert Apr 12, 2019
58a8042
Further cleanup
StefanKert Apr 12, 2019
82e540e
Fixed grouping
StefanKert Apr 13, 2019
cd18456
Updated nuget packages to latest versions
StefanKert Apr 27, 2019
8d9518c
Adaptions
StefanKert Apr 27, 2019
97cffaa
Adaptions
StefanKert Apr 27, 2019
c1cf87d
Fixed many compilation warnings
StefanKert Apr 27, 2019
764e267
Fixed some warnings
StefanKert Apr 27, 2019
6629963
Showing error if something fails at startup
StefanKert Apr 27, 2019
f78baaf
Use ObservableCollection again
StefanKert Apr 27, 2019
3962260
No need to display timestamp
StefanKert Apr 27, 2019
a14a6fb
Refresh columns after settings have changed
StefanKert Apr 27, 2019
7720135
Warning label for projects with warnings is now default
StefanKert Apr 27, 2019
9251aca
Fixed issue with buildvision breaking on breaking build
StefanKert Apr 27, 2019
125ee49
Added option to opt out participating in telemetry. Building multiple…
StefanKert Apr 27, 2019
77de19d
Fixed yaml buildscript
StefanKert Apr 27, 2019
5c3c62f
once again.. to less whitespaces
StefanKert Apr 27, 2019
d1eb541
added build configs
StefanKert Apr 27, 2019
63b4efb
Added initial event
StefanKert Apr 27, 2019
b8ee8a5
Added preview icon
StefanKert Apr 27, 2019
a38259f
Do not track roleinstance and rolename
StefanKert Apr 27, 2019
ea508d5
Flush diagnostics client
StefanKert Apr 27, 2019
f4de254
Resolved most of the warnings in codefactor
StefanKert Apr 27, 2019
3519228
Added back instrumentationkey
StefanKert Apr 27, 2019
b1b0530
Add basic tracing for builds
StefanKert Apr 27, 2019
edc8082
fixed build
StefanKert Apr 27, 2019
393c29b
Updating order of elements
StefanKert Jul 5, 2019
8fd3995
Returning right number for warned projects
StefanKert Jul 5, 2019
10838b8
Fixed double parantheses (as proposed by toughengineer thanks :))
StefanKert Jul 5, 2019
13eb0fa
Fixed contextmenu checkboxes. Settings are now refreshed if the check…
StefanKert Jul 5, 2019
74ff988
Cleanup
StefanKert Oct 4, 2019
bae30e6
Fixed some performance issues
StefanKert Oct 4, 2019
3da540b
Several fixes
StefanKert Oct 5, 2019
3df9af8
removed logging
StefanKert Oct 5, 2019
9b03434
Do not use reflection for sorting
StefanKert Oct 5, 2019
f316dcf
Removed some things from projectitem
StefanKert Oct 6, 2019
3ea37b7
Fixed errorlist
StefanKert Oct 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed double parantheses (as proposed by toughengineer thanks :))
StefanKert committed Jul 5, 2019
commit 10838b8cc14c4ddbe16e5026e83696a082a48fc9
13 changes: 6 additions & 7 deletions src/BuildVision.UI/Helpers/BuildMessagesFactory.cs
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ private string GetTimeString(DateTime? startTime)
}
}

private string GetBeginAtString(BuildAction? buildAction)
private static string GetBeginAtString(BuildAction? buildAction)
{
switch (buildAction.Value)
{
@@ -75,7 +75,7 @@ private string GetBeginAtString(BuildAction? buildAction)
}
}

private string GetActionName(BuildAction buildAction)
private static string GetActionName(BuildAction buildAction)
{
switch (buildAction)
{
@@ -92,7 +92,7 @@ private string GetActionName(BuildAction buildAction)
}
}

private string GetUnitName(BuildScope buildScope)
private static string GetUnitName(BuildScope buildScope)
{
string unitName = "";
switch (buildScope)
@@ -210,7 +210,7 @@ private string GetBuildDoneMajorMessage(IBuildInformationModel buildInformationM
return resultMainString;
}

private string GetResultName(BuildResultState resultState)
private static string GetResultName(BuildResultState resultState)
{
switch (resultState)
{
@@ -243,9 +243,8 @@ private string GetBuildDoneExtraMessage(IBuildInformationModel buildInformationM
return string.Empty;
}

TimeSpan timeSpan = buildInformationModel.BuildFinishTime.Value.Subtract(buildInformationModel.BuildStartTime.Value);
string extraTimePartString = GetExtraTimePartString(timeSpan);
return string.Format(_packageSettingsProvider.Settings.BuildMessagesSettings.ExtraMessageStringFormat, extraTimePartString);
var timeSpan = buildInformationModel.BuildFinishTime.Value.Subtract(buildInformationModel.BuildStartTime.Value);
return GetExtraTimePartString(timeSpan);
}

private string GetExtraTimePartString(TimeSpan timeSpan)
2 changes: 1 addition & 1 deletion src/BuildVision/Services/BuildInformationProvider.cs
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ public class BuildInformationProvider : IBuildInformationProvider

public IBuildInformationModel BuildInformationModel { get; } = new BuildInformationModel();
public ObservableCollection<IProjectItem> Projects { get; } = new ObservableRangeCollection<IProjectItem>();

[ImportingConstructor]
public BuildInformationProvider(
[Import(typeof(IBuildOutputLogger))] IBuildOutputLogger buildOutputLogger,