-
Notifications
You must be signed in to change notification settings - Fork 151
Fix warnings showing in the wrong pane in Visual Studio 2015 #166
Conversation
sharwell
commented
Jul 22, 2015
- Fix Warnings and messages from static contract checking don't appear in the VS2015 error list #137 (easy)
- Fix the build to actually include the results of these changes in the new installers (not easy 😑 )
@@ -52,7 +52,7 @@ static public String GetLocalRegistryRoot() | |||
// Get the visual studio root key | |||
if (VsRoot == null) | |||
{ | |||
ILocalRegistry2 localReg = GetService(typeof(ILocalRegistry)) as ILocalRegistry2; | |||
ILocalRegistry2 localReg = GetService(typeof(SLocalRegistry)) as ILocalRegistry2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Just curious what was the reason for this switch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the documentation for ILocalRegistry2
:
Notes to Callers
Called by any package that wants to register in the Visual Studio section of the registry. This interface is obtained by using theSLocalRegistry
service.
Looks good to me! |
|
||
cd Microsoft.VisualStudio.CodeTools\CodeToolsSetup | ||
call buildMSM release | ||
call export release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 It would be better if the return codes from these calls were checked. It's not the only place where this type of check is omitted, but it does cause AppVeyor to report success even if the build fails.
Fix warnings showing in the wrong pane in Visual Studio 2015