-
Notifications
You must be signed in to change notification settings - Fork 197
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
Update samples to 0.74 #937
Conversation
@@ -12,17 +12,17 @@ | |||
}, | |||
"dependencies": { | |||
"react": "18.2.0", | |||
"react-native": "0.73.0", | |||
"react-native-windows": "0.73.2" | |||
"react-native": "0.74.0-rc.9", |
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.
"react-native": "0.74.0-rc.9", | |
"react-native": "0.74.0", |
Assuming @TatianaKapos validated that this works fine.
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.
Thought I reverted them all - will fix!
|
||
<Properties> | ||
<DisplayName>Calculator</DisplayName> | ||
<PublisherDisplayName>CN=React Native Windows Sample</PublisherDisplayName> | ||
<PublisherDisplayName>yajurgrover</PublisherDisplayName> |
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.
Revert
<PublisherDisplayName>yajurgrover</PublisherDisplayName> | |
<PublisherDisplayName>CN=React Native Windows Sample</PublisherDisplayName> |
Name="7657a35a-6073-4280-b14b-409220cbd347" | ||
Publisher="CN=React Native Windows Sample" | ||
Version="1.0.0.0" /> | ||
|
||
<mp:PhoneIdentity PhoneProductId="b3e4af42-aec3-46e8-a138-cb2e481514b2" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> | ||
<mp:PhoneIdentity PhoneProductId="7657a35a-6073-4280-b14b-409220cbd347" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> |
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.
Ideally the package identity is stable across updates. If you create from a fresh app template you'll need to copy the project and package ids back over.
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Import Project="$(SolutionDir)\ExperimentalFeatures.props" Condition="Exists('$(SolutionDir)\ExperimentalFeatures.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProjectGuid>{7410B9FC-308E-4496-B556-FC56F1910AA7}</ProjectGuid> | ||
<ProjectGuid>{B2ABB10D-1A83-4DF1-8D0C-7167F3F88A5F}</ProjectGuid> |
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.
You should be able to do a find replace to put back the old project guid.
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.
FYI the project guid is just a Visual Studio thing. But it should be able to be left unchanged.
The one in the package manifest is what actually determines the store listing. So changing that is more disruptive.
<Identity | ||
Name="b36753c3-2e37-4dd8-8d3d-66953d899343" | ||
Name="bad696f0-699e-47a2-87df-2877b64a81a6" | ||
Publisher="CN=React Native Windows Sample" | ||
Version="1.0.0.0" /> | ||
|
||
<mp:PhoneIdentity PhoneProductId="b36753c3-2e37-4dd8-8d3d-66953d899343" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> | ||
<mp:PhoneIdentity PhoneProductId="bad696f0-699e-47a2-87df-2877b64a81a6" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> | ||
|
||
<Properties> | ||
<DisplayName>CalculatorNuGet</DisplayName> | ||
<PublisherDisplayName>CN=React Native Windows Sample</PublisherDisplayName> | ||
<PublisherDisplayName>yajurgrover</PublisherDisplayName> |
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 with other project, leave the package and project information intact.
samples/Calculator/csharp/windows/calculator/Package.appxmanifest
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris Glein <26607885+chrisglein@users.noreply.github.com>
…eact-native-windows-samples into yg-update-samples
"type": "Project" | ||
"type": "Project", | ||
"dependencies": { | ||
"boost": "[1.76.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.
Not sure about this change - didn't create any issues when building the sample but wanted to confirm if this should be kept.
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.
May just be from a package dependency, if it didn't break the project it's fine to keep :)
@@ -4,7 +4,7 @@ See [../README.md](../README.md) for details of this sample. | |||
|
|||
See [../csharp/](../csharp/) for a C# version of this sample. | |||
|
|||
It currently targets React Native Windows 0.73. | |||
It currently targets React Native Windows 0.74. |
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.
Can you also update the ReadMe in the parent folder? (also maybe add that to the ReadMe upgrade instructions, I also always forgot to update that one!)
Description
Upgrade Calculator, CalculatorNuget and NativeModule samples to 0.74 as part of 0.74 release.
Why
Part of microsoft/react-native-windows#12874
Screenshots
N/A
Microsoft Reviewers: Open in CodeFlow