Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Add net6.0 target framework, bump editor #3

Merged
merged 4 commits into from
Mar 4, 2022
Merged

Conversation

sandyarmstrong
Copy link
Member

Reference MS.VS.Language explicitly to work around restore bug.

Reference MS.VS.Language explicitly to work around restore bug.
</ItemGroup>

<ItemGroup>
<Reference Include="System.ComponentModel.Composition" />
</ItemGroup>

<!-- Turn off windows dependency check. Some packages still have windows-specific dependencies, even though in the cases that matter they are not used at run-time -->
<Target Name="IgnoreWindowsReferenceError" BeforeTargets="_CheckForTransitiveWindowsDesktopDependencies">
Copy link
Member Author

Choose a reason for hiding this comment

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

This target should only be necessary when a net6.0* project references net472 nupkgs. In this project, every package should resolve as netstandard2.0 for the net6.0 target framework, but for some reason NuGet is resolving them as net472, triggering this error and also NuGet/Home#5957.

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 should note that this happens even if I remove the net472 from TargetFrameworks completely.

- name: Test (Windows)
if: startsWith (matrix.os, 'windows')
run: dotnet test -c ${{ matrix.config }} --no-build
# - name: Test (Windows)
Copy link
Member Author

Choose a reason for hiding this comment

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

Tests won't work unless minieditor gets updated.

Copy link
Member

Choose a reason for hiding this comment

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

we don’t care at this point

@KirillOsenkov
Copy link
Member

Can you do me a favor and merge/bump? thanks. Let me know if I can help with any tasks.

@sandyarmstrong sandyarmstrong merged commit 718703c into mac Mar 4, 2022
@KirillOsenkov KirillOsenkov deleted the dev/sandy/net6tf branch March 4, 2022 22:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants