Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

msft-Jeyaram
Copy link
Contributor

@msft-Jeyaram msft-Jeyaram commented May 30, 2017

  • 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 #2737, #2746


This change is Reviewable

… 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
@msft-Jeyaram msft-Jeyaram changed the title Implement of RTObjCInterop to be consumed via built packages Implement RTObjCInterop to be consumed via built packages May 30, 2017
@msft-Jeyaram
Copy link
Contributor Author

Will force push the diffs to make it easier to review.

</ItemGroup>
<ItemGroup>
<ClangCompile Include="dllmain.cpp" />
<ClangCompile Include="src/*.mm" />
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

<ClangCompile Include="src/*.mm" />

Choose a reason for hiding this comment

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

LOL.

Copy link
Contributor Author

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);
Copy link
Contributor

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>
Copy link
Contributor

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" />

Choose a reason for hiding this comment

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

LOL.

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