Skip to content

Conversation

@allisonchou
Copy link
Contributor

Summary of the changes

  • This should hopefully fix our failing internal builds due to duplicate darc publishing.

@allisonchou allisonchou requested review from a team as code owners February 14, 2023 21:31

<MSBuild Projects="@(ProjectToPublish)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" />
<MSBuild Projects="@(ProjectToPublish_PlatformAgnostic)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" />
<MSBuild Projects="@(ProjectToPublish_PlatformAgnostic)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
Copy link
Member

Choose a reason for hiding this comment

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

Thought it was interesting we couldn't just check the OS property like we do elsewhere, what's different about this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We probably can! Might be better for readability actually, I just updated it. We used $([MSBuild]::IsOSPlatform(...) earlier in the same file so I originally just re-used it for convenience, but it's really only needed to distinguish between Mac/Linux.

@allisonchou allisonchou enabled auto-merge (squash) February 14, 2023 21:41
@allisonchou allisonchou merged commit afc192e into main Feb 14, 2023
@allisonchou allisonchou deleted the allichou/FixDuplicatePublishing branch February 14, 2023 22:27
333fred added a commit to 333fred/razor that referenced this pull request Feb 15, 2023
* upstream/main: (29 commits)
  Consolidate roslyn versions (dotnet#8103)
  Don't set always-auth
  Fix darc publishing (dotnet#8275)
  Update LSP protocol DLL version
  reducing line comment length
  Avoid killing the process when a login window is closed.
  Clean up serialization benchmarks
  Accepting applicationUrl with more than one url. "applicationUrl": "http://localhost:7104;https://localhost:7105"
  Removing more code related to blazorwasmdebuggingextension
  Add More Data For RemoteInvocationException (dotnet#8240)
  Trying to completely remove the BlazorWasmDebuggingExtension and getting URL information from launchSettings.json
  Cleanup
  Fix TextMate missing item
  Use ImmutableHashSet rather than HashSet in LegacySyntaxNodeExtensions
  Use more efficient stack for FlattenSpansInReverse
  Use an object pool rather than a thread-static
  Remove unneeded 'aggressive inlining' attributes
  Add lock to protect against multi-threaded access
  Rename fields to use _lazy prefix
  Clean up and further optimizations in LegacySyntaxNodeExtensions
  ...
@mthalman
Copy link
Member

FYI: This change regressed source-build. Logged an issue here: #8332

@mmitche
Copy link
Member

mmitche commented Mar 9, 2023

Creating packages on all of the platforms, is probalby best. Removing those that shouldn't be published on certain platforms is what will avoid the double publish issue.

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.

6 participants