722 questions with Windows App SDK tags

Sort by: Updated
0 answers

Some doubts regarding after registering for WinUI3 packaged with external location app?

Hi, I was earlier creating a WinUI3 blank unpackaged app. Followed the steps here to make my solution from packaged to unpackaged application. In this project I have disabled the XAML code and created my own entry point (WinMain). Steps that I have…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,519 questions
asked 2024-04-18T11:28:49.1633333+00:00
Rohan Pande 245 Reputation points
commented 2024-04-19T09:28:30.82+00:00
Rohan Pande 245 Reputation points
0 answers

Keep lines, ellipses and polylines at the same position within an image during resizing (WinUI3)

Hello, Is there an easy way to achieve it in WinUI3? I have an image within a grid that is resizable manually and there are ellipses, lines and polylines which mark positions in the image. <Grid> <Image…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-18T22:09:16.7866667+00:00
youki 991 Reputation points
commented 2024-04-19T05:54:55.36+00:00
Xiaopo Yang - MSFT 11,256 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Inconsistent behaviour of windows App SDK runtime Installer

Hi, I'm working on WinUI3 desktop application in C++. We are building a Framework dependent unpackaged desktop application with this we were able to generate a single EXE application. But here to run this WinUI3 application we need to install Windows App…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-05T12:30:42.7066667+00:00
Harshithraj1871 1,496 Reputation points
accepted 2024-04-17T11:43:45.3466667+00:00
Harshithraj1871 1,496 Reputation points
1 answer One of the answers was accepted by the question author.

Understanding Windows app tamper protection

Hi, I'm working on a WinUI3 desktop application in CPP. I'm building an application packaged with external location. There I read that What does tamper protection mean here? Does it mean it wont allow us to tamper with application's data and files? I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-16T09:52:20.51+00:00
Harshithraj1871 1,496 Reputation points
commented 2024-04-17T07:29:37.8666667+00:00
Harshithraj1871 1,496 Reputation points
1 answer One of the answers was accepted by the question author.

How do I download "Windows Media Device Manager 11 SDK" ?

Hi, I'm developing a device management application. I want to download "Windows Media Device Manager 11 SDK". https://learn.microsoft.com/en-us/windows/win32/wmdm/windows-media-device-manager-11-sdk But download link is broken. How do I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 questions
asked 2024-04-12T21:35:45.11+00:00
yukin y 20 Reputation points
commented 2024-04-15T12:18:39.2466667+00:00
yukin y 20 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Application exe in debug folder not working

After running th MAUI application in windows, I go to debug folder and tried to open the .exe application file but it's not responding. I noticed there is a createdump application file in the same path and my application file is also less size compared…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,843 questions
asked 2024-04-12T04:21:54.52+00:00
Vinothkumar Swaminathan 20 Reputation points
commented 2024-04-15T05:27:59.7166667+00:00
Vinothkumar Swaminathan 20 Reputation points
1 answer

Where can I find "api-ms-win-core-heap-l2-1-0.dll"?

My program uses LocalAlloc and LocalFree, but it reports an error on Windows 7 indicating that api-ms-win-core-heap-l2-1-0.dll is missing. I found information about LocalAlloc and LocalFree in this link…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-10T14:42:44.0166667+00:00
勇强 韩 136 Reputation points
edited an answer 2024-04-13T08:39:25.9466667+00:00
Castorix31 81,461 Reputation points
1 answer One of the answers was accepted by the question author.

Alternatives for the application to make it as a packaged application?

Hi, I am currently building a WinUI3 C++ application using Windows App SDK. But currently the application is unpackaged mode. I am currently thinking to shift to packaged mode as it is recommended by the Microsoft currently I have tried the sample…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,519 questions
asked 2024-03-13T04:17:56.3366667+00:00
Rohan Pande 245 Reputation points
commented 2024-04-12T05:12:00.36+00:00
Rohan Pande 245 Reputation points
1 answer

How to fix the error that occurs when executing the GenerateTemporaryTargetAssembly task

When creating an sdk project with wpf elements, the error Could not copy the file ProjectName.csproj.nuget.dgspec.json occurs when building on the server. I see that the files csproj.nuget.g.props and nuget.g.targets are created and copied, but the file…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,577 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,201 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
asked 2023-09-22T15:39:23.6633333+00:00
Danila 25 Reputation points
commented 2024-04-10T21:46:54.18+00:00
Suchy, Joe 0 Reputation points
0 answers

Does Media Foundation interface IAudioMeterInformation supports audioformat MFAudioFormat_Float?

Hello, I'm working on a XAudio2 project. When loading a file, I convert the input audio format to an input format XAudio2 can work with. Those are, according the docs, MFAudioFormat_Float and MFAudioFormat_PCM. Now, when using PCM, …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,103 questions
asked 2024-04-09T19:52:55.07+00:00
FactoryX.code 0 Reputation points
edited a comment 2024-04-10T03:37:54.87+00:00
Xiaopo Yang - MSFT 11,256 Reputation points Microsoft Vendor
0 answers

How to remove thin black border while printing bitmap in Win32 app

Hello, I'm working on C++/WinRT application, and trying to print bitmap using printer. But I'm getting thin black border on the printed page. I'm doing similar to below code snippet. // Printer HDC HDC hdc_printer = CreateDCW (NULL, L"My…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 questions
asked 2024-04-09T12:49:16.9433333+00:00
Shyam Butani 20 Reputation points
commented 2024-04-10T02:03:21.4366667+00:00
Xiaopo Yang - MSFT 11,256 Reputation points Microsoft Vendor
0 answers

System Exception thrown when changing focus on screens when debuging run program in Visual Studio

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) in VisualStudio. I have two screens on my…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,201 questions
asked 2024-03-20T18:43:30.7933333+00:00
Paul Harvey Chiverton Messina 5 Reputation points
edited the question 2024-04-09T08:40:21.75+00:00
Anna Xiu-MSFT 25,466 Reputation points Microsoft Vendor
0 answers

Listview selection event event is firing when we click on scroll viewer

Hi Team, i am win ui3 application using windows app sdk version - 1.4.240 I have "list view" inside the "scroll viewer" control . List view - has selection changed event Problem : when i click on the scroll viewer, List view selection…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-05T06:37:57.6+00:00
Sunil A M 171 Reputation points
commented 2024-04-09T06:06:42.5433333+00:00
Xiaopo Yang - MSFT 11,256 Reputation points Microsoft Vendor
0 answers

To have a CustomPage instead of default Page for base of all pages in the application.

Instead of having the base Page for all the xaml page files, I need to have my CustomPage.xaml. I have created a CustomPage and had it as a base of my SettingsPage.xaml. It compiles successfully but throws a warning. Please check the code follows, using…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-03-28T12:50:59.9466667+00:00
guess_me_if_u_can 126 Reputation points
commented 2024-04-09T02:18:24.1533333+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
0 answers

Transition not working correctly in ListView and GridView (WinUI 3)

Hello, the transitions in a bound ListView and GridView are not working correctly, can you confirm this? (It is unchecked and uncoordinated, items are not added in order, especially when you reload them?) <ListView.ItemContainerTransitions> …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-03-20T11:15:31.2233333+00:00
youki 991 Reputation points
commented 2024-04-09T02:18:11.79+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
1 answer

Change image source in contentdialog title template winui c#

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope. I have…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,577 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-03-19T17:38:21.8233333+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:57.9133333+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
1 answer

Serialdevice winui c# fire event when data received

Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) to manage my motorized telescope and I am…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,201 questions
asked 2024-03-19T10:44:13.14+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-04-09T02:17:29.2233333+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
0 answers

Is there a way to find the DownLoad folder programmatically?

You know, where remote systems put things when they don't give you a chance to tell them where to put them, The Environment.SpecialFolders enum doesn't see to have one,

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,103 questions
asked 2024-03-16T20:19:05.3966667+00:00
Marc Graham 26 Reputation points
commented 2024-04-09T02:17:13.18+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
1 answer

Best practices for handling resources (.resw) that need to be formatted

I have resources like Formatted by {0} on x Approach #1 In the backend (.cs file), we create a parameter like so: string FormattedString = string.format(getResource("abc"), userId); and use the FormmatedString directly in the xaml file. …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-03-05T07:39:10.5733333+00:00
Brij 0 Reputation points
commented 2024-04-09T02:16:31.29+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Package missing in offline source

Microsoft.Windows.SDK.NET.Ref Microsoft.AspNetCore.App.Runtime.win-x64 Microsoft.WindowsDesktop.App.Runtime.win-x64 Microsoft.NETCore.App.Runtime.win-x64 so i am new to winui and i just installed the required things for winui desktop i installed…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,577 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
722 questions
asked 2024-04-03T15:44:17.9166667+00:00
Emmanuel James 20 Reputation points
edited a comment 2024-04-04T11:44:45.28+00:00
Emmanuel James 20 Reputation points