Skip to content

Allow Az to run on Desktop and ClientRuntime update #7214

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 28 commits into from
Sep 13, 2018

Conversation

markcowl
Copy link
Member

Description

Checklist

@markcowl
Copy link
Member Author

markcowl commented Sep 12, 2018

.travis.yml Outdated
@@ -25,9 +25,10 @@ before_install:
# https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-383489298
script:
- sudo dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG || travis_terminate 1
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u || travis_terminate 1
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep || travis_terminate 1 as this allows the build to stop and fail when static analysis fails.

@@ -12,6 +12,7 @@
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Aks\</OutputPath>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<Version>1.1.0.0</Version>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this version for?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch

[assembly: AssemblyVersion("0.0.5")]
[assembly: AssemblyFileVersion("0.0.5")]
[assembly: AssemblyVersion("0.0.6")]
[assembly: AssemblyFileVersion("0.0.6")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Assembly version number change???

Copy link
Member Author

Choose a reason for hiding this comment

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

no good reason

<PropertyGroup>
<OmitJsonPackage>true</OmitJsonPackage>
</PropertyGroup>

Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove the common targets and then reference the targets by hand? Also, looks like it would have worked if you put the <OmitJsonPackage> above the common Import. Order matters.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because this is a captured Hyak library - it doesn't require 90% of the dependencies in the common targets, just the runtime modules related to Hyak

Copy link
Member Author

Choose a reason for hiding this comment

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

there's no reason to use OmitJsonPackage here if we aren't using the common targets, however.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I was stripping this to bare bones (because it is a captured Hyak library) to try to debug an issue and didn't put it back. Will try using the common pacjage and letting the compiler decide on dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

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

It just makes it easier updating those packages to not have one-off files.

@markcowl
Copy link
Member Author

MiYanni
MiYanni previously approved these changes Sep 13, 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.

LGTM

@v-shresh
Copy link

v-shresh commented Sep 13, 2018 via email

@cormacpayne
Copy link
Member

@v-shresh you are probably receiving emails from our repository (and other Azure repositories) due to how your GitHub notification settings are configured. Please click on your icon in the top right corner, select "Settings" and go to the "Notifications" page to configure when and how you receive notifications from GitHub.

cormacpayne
cormacpayne previously approved these changes Sep 13, 2018
@markcowl markcowl dismissed stale reviews from cormacpayne and MiYanni via f580c7d September 13, 2018 18:40
@markcowl markcowl merged commit cbd6dee into Azure:preview Sep 13, 2018
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.

6 participants