601 questions with Windows App SDK tags

Sort by: Updated
1 answer

x:Bind default Mode is "OneTime" or sth else in Windows App SDK ?

I have written the code below: XAML code: <ListView ItemsSource="{x:Bind players}"> ***<ListView.ItemTemplate>*** ***<DataTemplate x:DataType="local:Numbers">*** ***<TextBlock…

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.
765 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,733 questions
asked 2024-04-28T01:44:47.1666667+00:00
Konstantinos Pavlis 0 Reputation points
commented 2024-04-29T09:18:15.2066667+00:00
Junjie Zhu - MSFT 17,126 Reputation points Microsoft Vendor
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.
765 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,657 questions
asked 2024-03-13T04:17:56.3366667+00:00
Rohan Pande 445 Reputation points
commented 2024-04-26T00:06:10.75+00:00
Matthew Bonanno 1 Reputation point
1 answer

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.
765 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,224 questions
asked 2024-04-09T19:52:55.07+00:00
FactoryX.code 0 Reputation points
answered 2024-04-24T03:00:20.34+00:00
Xiaopo Yang - MSFT 12,541 Reputation points Microsoft Vendor
1 answer

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.
765 questions
asked 2024-04-18T22:09:16.7866667+00:00
youki 1,021 Reputation points
edited an answer 2024-04-20T23:15:16.3366667+00:00
youki 1,021 Reputation points
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.
765 questions
asked 2024-04-05T12:30:42.7066667+00:00
Harshithraj1871 1,536 Reputation points
accepted 2024-04-17T11:43:45.3466667+00:00
Harshithraj1871 1,536 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.
765 questions
asked 2024-04-16T09:52:20.51+00:00
Harshithraj1871 1,536 Reputation points
commented 2024-04-17T07:29:37.8666667+00:00
Harshithraj1871 1,536 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.
765 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,547 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.
765 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,302 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.
765 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 83,536 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,964 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.
765 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,733 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,170 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
1 answer

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.
765 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,547 questions
asked 2024-04-09T12:49:16.9433333+00:00
Shyam Butani 190 Reputation points
answered 2024-04-10T02:03:21.4366667+00:00
Xiaopo Yang - MSFT 12,541 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,964 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.
765 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 32,896 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.
765 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,733 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 32,896 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.
765 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 32,896 Reputation points Microsoft Vendor
1 answer

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.
765 questions
asked 2024-04-05T06:37:57.6+00:00
Sunil A M 171 Reputation points
answered 2024-04-08T03:14:10.3933333+00:00
Xiaopo Yang - MSFT 12,541 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,964 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.
765 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
1 answer One of the answers was accepted by the question author.

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,734 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.
765 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
798 questions
asked 2024-03-19T17:01:43.8666667+00:00
arunkumar.mr 20 Reputation points
accepted 2024-04-02T09:25:42.06+00:00
arunkumar.mr 20 Reputation points
1 answer

How to extract an icon from executable and save it on disk properly? Any lightweight library?

Is there something in c++? (Windows API/ WinRT) I've tried some solutions online and none of them work. I didn't find anything useful on Github either. I want to display the icons regardless of whether the exe is still there, so I want to save the icon;…

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.
765 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,547 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,657 questions
asked 2024-01-20T12:01:43.6833333+00:00
youki 1,021 Reputation points
edited a comment 2024-03-29T15:15:29.7633333+00:00
youki 1,021 Reputation points
1 answer One of the answers was accepted by the question author.

How to bind a button's command inside a data template in winUI3

I am working on a project using WinUI3. You want to create navigation in the Main Window and modify the Header with DataTemplate. How do I do the <button command="{binding}" within the data template at this time? <NavigationView…

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.
765 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,733 questions
asked 2024-03-08T06:38:16.55+00:00
차준혁 40 Reputation points
accepted 2024-03-19T02:13:53.0933333+00:00
차준혁 40 Reputation points
1 answer

Listing serial ports winui c# visual studio 2022

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.
765 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,733 questions
asked 2024-03-13T11:06:18.64+00:00
Paul Harvey Chiverton Messina 5 Reputation points
commented 2024-03-15T01:44:20.1266667+00:00
Xiaopo Yang - MSFT 12,541 Reputation points Microsoft Vendor