Skip to content

Commit

Permalink
update csharp
Browse files Browse the repository at this point in the history
  • Loading branch information
Yajur-Grover committed Dec 11, 2024
1 parent 44f7cec commit c7cabfa
Show file tree
Hide file tree
Showing 6 changed files with 1,556 additions and 1,447 deletions.
38 changes: 19 additions & 19 deletions samples/NativeModuleSample/cppwinrt/windows/NativeModuleSample.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NativeModuleSample", "NativeModuleSample\NativeModuleSample.vcxproj", "{40ED929B-BA52-4F72-9AF8-21E65D475B54}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NativeModuleSample", "NativeModuleSample\NativeModuleSample.vcxproj", "{E1524B0D-DA75-41E3-A300-84CA96E057D7}"
ProjectSection(ProjectDependencies) = postProject
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {F7D32BD0-2749-483E-9A0D-1635EF7E3136}
EndProjectSection
Expand Down Expand Up @@ -54,24 +54,24 @@ Global
Release|ARM64 = Release|ARM64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|ARM64.ActiveCfg = Debug|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|ARM64.Build.0 = Debug|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|ARM64.Deploy.0 = Debug|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x64.ActiveCfg = Debug|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x64.Build.0 = Debug|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x64.Deploy.0 = Debug|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x86.ActiveCfg = Debug|Win32
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x86.Build.0 = Debug|Win32
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Debug|x86.Deploy.0 = Debug|Win32
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|ARM64.ActiveCfg = Release|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|ARM64.Build.0 = Release|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|ARM64.Deploy.0 = Release|ARM64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x64.ActiveCfg = Release|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x64.Build.0 = Release|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x64.Deploy.0 = Release|x64
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x86.ActiveCfg = Release|Win32
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x86.Build.0 = Release|Win32
{40ED929B-BA52-4F72-9AF8-21E65D475B54}.Release|x86.Deploy.0 = Release|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|ARM64.Build.0 = Debug|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|ARM64.Deploy.0 = Debug|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x64.ActiveCfg = Debug|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x64.Build.0 = Debug|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x64.Deploy.0 = Debug|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x86.ActiveCfg = Debug|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x86.Build.0 = Debug|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Debug|x86.Deploy.0 = Debug|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|ARM64.ActiveCfg = Release|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|ARM64.Build.0 = Release|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|ARM64.Deploy.0 = Release|ARM64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x64.ActiveCfg = Release|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x64.Build.0 = Release|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x64.Deploy.0 = Release|x64
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x86.ActiveCfg = Release|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x86.Build.0 = Release|Win32
{A816992C-A7D8-4E57-AA41-0F997703EA91}.Release|x86.Deploy.0 = Release|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.Build.0 = Debug|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.ActiveCfg = Debug|x64
Expand Down
13 changes: 10 additions & 3 deletions samples/NativeModuleSample/csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"windows": "react-native run-windows"
"windows": "npx @react-native-community/cli run-windows"
},
"peerDependencies": {
"react": "^16.13.1",
Expand All @@ -14,7 +14,14 @@
"devDependencies": {
"metro-config": "^0.66.2",
"react": "18.3.1",
"react-native": "0.75.1",
"react-native-windows": "^0.75.0"
"react-native": "0.76.2",
"react-native-windows": "^0.76.2"
},
"react-native-windows": {
"init-windows": {
"name": "NativeModuleSample",
"namespace": "NativeModuleSample",
"template": "old/uwp-cs-lib"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
-->
<UseHermes>true</UseHermes>

<!--
Changes compilation to assume use of WinUI 3 instead of System XAML.
Requires creation of new project.
See https://microsoft.github.io/react-native-windows/docs/winui3
-->
<UseWinUI3>false</UseWinUI3>

<!--
Changes compilation to assume use of Microsoft.ReactNative NuGet packages
instead of building the framework from source.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This project was created with react-native-windows 0.75.0 -->
<!-- This project was created with react-native-windows 0.76.2 -->
<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')" />
Expand Down
Loading

0 comments on commit c7cabfa

Please sign in to comment.