Skip to content

Conversation

@pranavkm
Copy link
Contributor

  • When reverting changes to the VisualBasic.targets file, a property initialization was missed. This would have introduced
    a regression for users upgrading to the 6.0 SDK when they had global imports disabled in their apps.
  • Only add implicitly enabled imports for C# projects.
  • Update the stage 0 SDK and re-enable skipped / altered tests

Fixes #19793
Fixes #19696

* When reverting changes to the VisualBasic.targets file, a property initialization was missed. This would have introduced
a regression for users upgrading to the 6.0 SDK when they had global imports disabled in their apps.
* Only add implicitly enabled imports for C# projects.
* Update the stage 0 SDK and re-enable skipped / altered tests

Fixes #19793
Fixes #19696
@ghost
Copy link

ghost commented Aug 18, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@pranavkm pranavkm requested a review from dsplaisted August 18, 2021 19:10
***********************************************************************************************
-->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

<EnableSourceControlManagerQueries>false</EnableSourceControlManagerQueries>
<EnableSourceLink>false</EnableSourceLink>
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The latest rc1 SDK complains about EOL for 2.1 apps.


#nullable disable

using System;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Re-adding global usings since they're no longer implicitly added.

@wli3 wli3 enabled auto-merge August 18, 2021 20:08
@pranavkm
Copy link
Contributor Author

Expected collection {"macos"} to be equivalent to {"microsoft-android-sdk-full"}, but it misses {"microsoft-android-sdk-full"}.

Is this because of a workload rename? (@sfoslund?)

@sfoslund
Copy link
Member

@pranavkm most if not all of the tests should use fake manifests, not the ones actually installed in stage 0, so the rename shouldn't theoretically matter. Do you have a link to this test failure? Is it persistent?

@pranavkm
Copy link
Contributor Author

@sfoslund
Copy link
Member

Hmm I don't see any cause right away, but it sounds like @wli3 is going to take a look at the test failures since he's domestic cat and added these tests.

@wli3 wli3 merged commit 0e0829e into main Aug 19, 2021
@wli3 wli3 deleted the prkrishn/global-usings-followup branch August 19, 2021 15:28
@pranavkm pranavkm mentioned this pull request Aug 19, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure <Using /> declarations from in-box SDKs are conditioned on C# Remove ImplicitUsings=enable from test after stage 0 SDK is updated

5 participants