Skip to content

Convert StaticAnalysis to .NET Core #6979

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

Merged
merged 10 commits into from
Aug 23, 2018

Conversation

cormacpayne
Copy link
Member

@cormacpayne cormacpayne commented Aug 20, 2018

Description

Fix for #5900

Convert StaticAnalysis project to .NET Core and ensure that the DependencyAnalyzer is run as a part of the .NET Core build.

Checklist

updating template to include all modules and debugpreference can be copied directly into a ps session
@@ -226,10 +229,6 @@ private void LogBreakingChangesInModule(BreakingChangeAttributesInModule moduleD
foreach (BreakingChangeAttributesInCmdlet cmdletData in moduleData.CmdletList)
{
textForBreakingChangesInModule += string.Format(BREAKING_CHANGE_CMDLET_HEADER_FORMAT_STRING, cmdletData.CmdletName);
foreach (GenericBreakingChangeAttribute attribute in cmdletData.BreakingChangeAttributes)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this change

@@ -58,14 +56,10 @@ public BreakingChangeAttributesInModule GetModuleBreakingChangeAttributes(string
foreach (var type in assembly.GetCmdletTypes())
{
var cmdlet = type.GetAttribute<CmdletAttribute>();
var attributes = type.GetAttributes<GenericBreakingChangeAttribute>();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this change

@markcowl markcowl changed the base branch from preview to release-2018-08-24 August 22, 2018 18:59
markcowl
markcowl previously approved these changes Aug 22, 2018
Copy link
Contributor

@MiYanni MiYanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only a couple questions there.

@@ -44,7 +44,7 @@ $PSVersionTable

### Debug Output

<!-- Please run the above script with $DebugPreference = "Continue" and paste the resulting debug stream in the below code block -->
<!-- Please run the above script with $DebugPreference='Continue' and paste the resulting debug stream in the below code block -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍

@@ -22,7 +22,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="7.1.0-preview" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Common projects aren't used... why the change(s)?

@@ -26,7 +26,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="7.1.0-preview" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Common projects aren't used... why the change(s)?

@@ -30,7 +30,7 @@
<ItemGroup>
<PackageReference Include="Azure.Batch" Version="8.1.1" />
<PackageReference Include="Microsoft.Azure.Management.Batch" Version="4.2.0" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="1.1.0" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the downgrade?

@markcowl markcowl merged commit 522c59b into Azure:release-2018-08-24 Aug 23, 2018
@cormacpayne cormacpayne deleted the static-analysis-netcore branch September 12, 2018 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants