Skip to content

Commit 3f220a0

Browse files
committed
Merge branch 'main' into cinnamon/pt-cmd-pal
2 parents 9cd1092 + 125b29c commit 3f220a0

File tree

7 files changed

+28
-17
lines changed

7 files changed

+28
-17
lines changed

hub/apps/windows-app-sdk/downloads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.localizationpriority: medium
1212
This page provides download links to the *latest* releases of the [Windows App SDK](index.md) in the three release channels (stable, preview, and experimental). To get started quickly, download the latest x64 installer below. Or, for older releases, see [Archive of Windows App SDK downloads](downloads-archive.md).
1313

1414
> [!div class="button" style="text-align: left;" width="150px;"]
15-
> [Download the latest x64 stable installer (1.6.5)](https://aka.ms/windowsappsdk/1.6/latest/windowsappruntimeinstall-x64.exe)
15+
> [Download the latest x64 stable installer (1.7.0)](https://aka.ms/windowsappsdk/1.7/latest/windowsappruntimeinstall-x64.exe)
1616
1717
For all the latest Windows App SDK downloads, refer to the tables and links below. To learn more, see [Windows App SDK release channels](release-channels.md) and the release notes provided below for each version.
1818

hub/dev-drive/group-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ To update this filter attach policy, select **Dev Drive filter attach policy** f
180180
FSUtil can be used to query the Group Policy configured for Dev Drive. Here is the output from an FsUtil query for a Dev Drive Group Policy configured to:
181181
182182
- Enable Dev Drive
183-
- Let antivirus filters protect Dev Drives (`MsSecFlt`)
183+
- Let Microsoft Defender Antivirus filters protect Dev Drives (`WdFilter`)
184184
- `FileInfo` minifilter has been added to the **Filter list** as an allowed filter
185185
186186
Enter the FSUtil command:

hub/dev-environment/javascript/react-on-wsl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Install React on Windows Subsystem for Linux
3-
description: Install React on Windows Subsystem for Linux (WSL) and start developing web apps with React components and the create-react-app toolchain.
3+
description: Install React on Windows Subsystem for Linux (WSL) and start developing web apps with React components and the Vite front-end build toolchain.
44
ms.topic: article
55
keywords: react, install react on wsl, install react on linux on windows, react and windows, react development with windows, react with windows 10, react on windows, react with wsl
66
ms.date: 03/30/2021

hub/dev-environment/javascript/react-overview.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ React is an open-source JavaScript library for building front end user interface
1515

1616
React components are typically written in JavaScript and JSX (JavaScript XML) which is a JavaScript extension that looks like a lot like HTML, but has some syntax features that make it easier to do common tasks like registering event handlers for UI elements. A React component implements the **render** method, which returns the JSX representing the component's UI. In a web app, the JSX code returned by the component is translated into browser-compliant HTML rendered in the browser.
1717

18+
> [!IMPORTANT]
19+
> In February 2025, the React team [announced](https://react.dev/blog/2025/02/14/sunsetting-create-react-app) that Create React App (CRA) has been deprecated for new apps. The team recommends that existing apps migrate to a framework like Next.js or React Router or migrate to a build tool like Vite, Parcel, or RSBuild.
20+
1821
## Does React work on Windows?
1922

2023
Yes. Windows supports two different environments for developing React apps:
@@ -26,7 +29,7 @@ Yes. Windows supports two different environments for developing React apps:
2629

2730
Windows supports a wide range of scenarios for React developers, including:
2831

29-
- **Basic web apps**: If you are new to React and primarily interested in learning about building a basic web app with React, we recommend that you [install create-react-app directly on Windows](./react-on-windows.md). If you're planning to create a web app that will be deployed for production, you may want to consider [installing create-react-app on Windows Subsystem for Linux (WSL)](./react-on-wsl.md), for better performance speed, system call compatibility, and alignment between your local development environment and deployment environment (which is often a Linux server).
32+
- **Basic web apps**: If you are new to React and primarily interested in learning about building a basic web app with React, we recommend that you [create a React app using the vite frontend tooling on Windows](./react-on-windows.md). If you're planning to create a web app that will be deployed for production, you may want to consider [create a React app using the vite frontend tooling on Windows Subsystem for Linux (WSL)](./react-on-wsl.md), for better performance speed, system call compatibility, and alignment between your local development environment and deployment environment (which is often a Linux server).
3033

3134
- **Single-Page Apps (SPAs)**: These are websites that interact with the user by dynamically rewriting the current web page with new data from a server, rather than the browser default of loading entire new pages. If you want to build a static content-oriented SPA website, we recommend installing [Gatsby on WSL](./gatsby-on-wsl.md). If you want to build a server-rendered SPA website with a Node.js backend, we recommend [installing Next.js on WSL](./nextjs-on-wsl.md). (Though Next.js now also offers [static file serving](https://nextjs.org/docs/app/building-your-application/optimizing/static-assets)).
3235

@@ -82,7 +85,7 @@ React is a library, not a framework, so may require additional tools to create a
8285
- [Babel](https://babeljs.io/): A JavaScript compiler mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments. It can also be helpful to use [babel-preset-env](https://babeljs.io/docs/en/babel-preset-env) so that you don't need to micromanage syntax transforms or browser polyfills and can define what internet browsers to support.
8386
- [ESLint](https://eslint.org/): A tool for identifying and reporting on patterns found in your JavaScript code that helps you make your code more consistent and avoid bugs.
8487
- [Enzyme](https://enzymejs.github.io/enzyme/): A JavaScript testing utility for React that makes it easier to test your React Components' output.
85-
- [Jest](https://jestjs.io/): A testing framework built into the create-react-app package to help with writing idiomatic JavaScript tests.
88+
- [Jest](https://jestjs.io/): A testing framework that works together with Babel to help with writing idiomatic JavaScript tests in React apps.
8689
- [Mocha](https://mochajs.org/): A testing framework that runs on Node.js and in the browser to help with asynchronous testing, reporting, and mapping uncaught exceptions to the correct test cases.
8790

8891
## React courses and tutorials

hub/powertoys/administrator.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ When running any application as an administrator (also referred to as elevated p
1616

1717
There are two options for PowerToys to support applications running as administrator (with elevated permissions):
1818

19-
1. **Recommended**: PowerToys will display a notification when an elevated process is detected. Open PowerToys Settings. On the General tab, select **Restart as administrator**.
20-
2. Enable **Always run as administrator** in the PowerToys Settings.
19+
- **Recommended**: PowerToys will display a notification when an elevated process is detected. Open PowerToys Settings. On the General tab, select **Restart as administrator**.
20+
- Enable **Always run as administrator** in the PowerToys Settings.
21+
22+
> [!NOTE]
23+
> It's not recommended to always run an application as administrator unless absolutely necessary. Running apps as administrator may expose your system to security risks. One of our principles at Microsoft is to be **secure by default**. Read more about our **Secure Future Initiative (SFI)** [here](https://www.microsoft.com/trust-center/security/secure-future-initiative).
2124
2225
## Support for admin mode with PowerToys
2326

@@ -54,6 +57,9 @@ Admin mode permissions may be required in the following scenarios:
5457
- Display shortcut
5558
- Video Conference Mute
5659

60+
> [!NOTE]
61+
> Each PowerToys utility has information in its Settings page about whether it requires admin mode and when it's required.
62+
5763
## Run as administrator: elevated processes explained
5864

5965
Windows applications run in _User mode_ by default. To run an application in _Administrative mode_ or as an _elevated process_ means that app will run with additional access to the operating system. Most apps don't need to run with elevated permission. However, a common scenario for requiring administrator permission would be to run certain PowerShell commands or edit the registry.

landing/arm-docs/arm64x-build.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To build your CMake project binaries as Arm64X, you can use any version of [CMak
9797

9898
3. Add a new .cmake file to your CMake project called `arm64x.cmake`. Copy the snippet below into the new .cmake file.
9999

100-
```JSON
100+
```cmake
101101
# directory where the link.rsp file generated during arm64 build will be stored
102102
set(arm64ReproDir "${CMAKE_CURRENT_SOURCE_DIR}/repros")
103103

@@ -139,7 +139,7 @@ To build your CMake project binaries as Arm64X, you can use any version of [CMak
139139

140140
If you need to use an older linker, copy the below snippet instead. This route uses an older flag [/LINK_REPRO](/cpp/build/reference/linkrepro). Using the /LINK_REPRO route will result in a slower overall build time due to the copying of files and has known issues when using Ninja generator.
141141

142-
```JSON
142+
```cmake
143143
# directory where the link_repro directories for each arm64x target will be created during arm64 build.
144144
set(arm64ReproDir "${CMAKE_CURRENT_SOURCE_DIR}/repros")
145145
@@ -185,7 +185,7 @@ endif()
185185

186186
4. In the bottom of the top level `CMakeLists.txt` file in your project, add the snippet below. Be sure to substitute the contents of the angle brackets with actual values. This will consume the `arm64x.cmake` file you just created above.
187187

188-
```JSON
188+
```cmake
189189
if(DEFINED BUILD_AS_ARM64X)
190190
set(ARM64X_TARGETS <Targets you want to Build as ARM64X>)
191191
include("<directory location of the arm64x.cmake file>/arm64x.cmake")
@@ -210,7 +210,7 @@ You can build an Arm64X pure forwarder from the Arm64 developer command prompt f
210210

211211
1. Create empty `OBJ` files that will later be used by the linker to create the pure forwarder. These are empty as the pure forwarder has no code in it. To do this, create an empty file. For the example below, we named the file **empty.cpp**. Empty `OBJ` files are then created using `cl`, with one for Arm64 (`empty_arm64.obj`) and one for Arm64EC (`empty_x64.obj`):
212212

213-
```cpp
213+
```batch
214214
cl /c /Foempty_arm64.obj empty.cpp
215215
cl /c /arm64EC /Foempty_x64.obj empty.cpp
216216
```
@@ -237,7 +237,7 @@ You can build an Arm64X pure forwarder from the Arm64 developer command prompt f
237237
238238
3. You can then use `link` to create `LIB` import files for both x64 and Arm64:
239239
240-
```cpp
240+
```batch
241241
link /lib /machine:x64 /def:foo_x64.def /out:foo_x64.lib
242242
link /lib /machine:arm64 /def:foo_arm64.def /out:foo_arm64.lib
243243
```

uwp/launch-resume/create-adaptive-tiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
description: Adaptive tile templates are a new feature in Windows 10, allowing you to design your own tile notification content using a simple and flexible markup language that adapts to different screen densities.
2+
description: Adaptive tile templates allow you to design tile notification content using a simple, flexible markup language that adapts to different screen densities.
33
title: Create adaptive tiles
44
ms.assetid: 1246B58E-D6E3-48C7-AD7F-475D113600F9
55
label: Create adaptive tiles
66
template: detail.hbs
77
ms.date: 08/08/2024
8-
ms.topic: article
8+
ms.topic: concept-article
99
keywords: windows 10, uwp
1010
ms.localizationpriority: medium
11+
# customer intent: As a Windows developer, I want to create adaptive tiles for my app so that I can provide a better user experience.
1112
---
13+
1214
# Create adaptive tiles
1315

1416
[!INCLUDE [notes](includes/live-tiles-note.md)]
@@ -21,7 +23,7 @@ Adaptive tile templates are a new feature in Windows 10, allowing you to design
2123

2224
**Install Notifications library.** If you'd like to use C# instead of XML to generate notifications, install the NuGet package named [Microsoft.Toolkit.Uwp.Notifications](https://www.nuget.org/packages/Microsoft.Toolkit.Uwp.Notifications/) (search for "notifications uwp"). The C# samples provided in this article use version 1.0.0 of the NuGet package.
2325

24-
**Install Notifications Visualizer.** This free Windows app helps you design adaptive live tiles by providing an instant visual preview of your tile as you edit it, similar to Visual Studio's XAML editor/design view. See [Notifications Visualizer](/windows/apps/design/shell/tiles-and-notifications/notifications-visualizer) for more information, or [download Notifications Visualizer from the Store](https://www.microsoft.com/store/apps/notifications-visualizer/9nblggh5xsl1).
26+
**Install Notifications Visualizer.** This free Windows app helps you design adaptive live tiles by providing an instant visual preview of your tile as you edit it, similar to Visual Studio's XAML editor/design view. See [Notifications Visualizer](/windows/apps/design/shell/tiles-and-notifications/notifications-visualizer) for more information, or [download Notifications Visualizer from the Store](https://apps.microsoft.com/detail/9nblggh5xsl1).
2527

2628
## How to send a tile notification
2729

@@ -218,7 +220,7 @@ new TileVisual()
218220
Branding can be applied for specific tile sizes one of two ways:
219221

220222
1. By applying the attribute on the [TileBinding](tile-schema.md#tilebinding) element.
221-
2. By applying the attribute on the [TileVisual](tile-schema.md#tilevisual) element, which affects the entire notification payload.
223+
1. By applying the attribute on the [TileVisual](tile-schema.md#tilevisual) element, which affects the entire notification payload.
222224

223225
If you don't specify branding for a binding, it will use the branding that's provided on the visual element.
224226

@@ -1334,7 +1336,7 @@ TileWide = new TileBinding()
13341336
}
13351337
```
13361338

1337-
## Related topics
1339+
## Related content
13381340

13391341
- [Tile content schema](tile-schema.md)
13401342
- [Send a local tile notification](sending-a-local-tile-notification.md)

0 commit comments

Comments
 (0)