-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Conversation
src/TestPrerequisites/Common.Test.Prerequisites/Common.TestPrerequisites.csproj
Show resolved
Hide resolved
.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 |
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.
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> |
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.
What is this version for?
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.
good catch
[assembly: AssemblyVersion("0.0.5")] | ||
[assembly: AssemblyFileVersion("0.0.5")] | ||
[assembly: AssemblyVersion("0.0.6")] | ||
[assembly: AssemblyFileVersion("0.0.6")] |
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.
Assembly version number change???
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.
no good reason
<PropertyGroup> | ||
<OmitJsonPackage>true</OmitJsonPackage> | ||
</PropertyGroup> | ||
|
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.
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.
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.
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
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.
there's no reason to use OmitJsonPackage here if we aren't using the common targets, however.
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.
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.
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 just makes it easier updating those packages to not have one-off files.
src/TestPrerequisites/Common.Test.Prerequisites/Common.TestPrerequisites.csproj
Show resolved
Hide resolved
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.
LGTM
@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. |
Description
Checklist
CONTRIBUTING.md
platyPS
module