-
Notifications
You must be signed in to change notification settings - Fork 808
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
Implement RTObjCInterop to be consumed via built packages #2747
base: develop
Are you sure you want to change the base?
Conversation
… source the code. - Fixing various issues with packaging - Open sourcing the code - This removed the old way of copying binaries around, from now one we will generate it directly from the source code. Fixes microsoft#2737, microsoft#2746
Will force push the diffs to make it easier to review. |
</ItemGroup> | ||
<ItemGroup> | ||
<ClangCompile Include="dllmain.cpp" /> | ||
<ClangCompile Include="src/*.mm" /> |
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 is this repeated so many times?
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.
which one? codeflow isn't being nice here
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.
<ClangCompile Include="src/*.mm" />
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.
LOL.
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.
LOL inherited;P can fix that up
@implementation RTObject | ||
+ (instancetype)alloc { | ||
NSLog(@"Cannot allocate WinRT components through alloc/new! Use static instantiators.", NSStringFromClass(self)); | ||
assert(0); |
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.
as are rule, we aren't using asserts/nslog in the framework. Throwing exception instead may be appropriate here.
<UpdateAssemblyInfo>false</UpdateAssemblyInfo> | ||
<WriteVersionInfoToBuildLog>false</WriteVersionInfoToBuildLog> | ||
<TargetFramework>uap10.0</TargetFramework> | ||
</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.
missing PackageIconUrl
</ItemGroup> | ||
<ItemGroup> | ||
<ClangCompile Include="dllmain.cpp" /> | ||
<ClangCompile Include="src/*.mm" /> |
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.
LOL.
Fixes #2737, #2746
This change is