Skip to content

Enable Built-in COM interop for ContentIsland sample#2100

Open
Zakariathr22 wants to merge 1 commit intomicrosoft:mainfrom
Zakariathr22:BuiltInComInteropSupport
Open

Enable Built-in COM interop for ContentIsland sample#2100
Zakariathr22 wants to merge 1 commit intomicrosoft:mainfrom
Zakariathr22:BuiltInComInteropSupport

Conversation

@Zakariathr22
Copy link
Contributor

Description

Explicitly enables built-in COM interop in the project by setting true in the .csproj file.
This ensures that the ContentIsland sample can load models without throwing a System.NotSupportedException when trimming is enabled.

Motivation and Context

How Has This Been Tested?

Tested by running the ContentIsland sample locally in both Release and Debug mode.

Screenshots (if appropriate):

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Copy link
Contributor Author

@Zakariathr22 Zakariathr22 left a comment

Choose a reason for hiding this comment

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

Important

I’m not sure if this will impact the NAOT adoption in PR #2095, so it may need verification to ensure there are no runtime issues.

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.

Built-in COM disabled via feature switch when loading ContentIsland sample

1 participant