# How to attach Nuget package.config file for cmake project

**URL:** https://discourse.cmake.org/t/how-to-attach-nuget-package-config-file-for-cmake-project/10685
**Category:** Usage
**Tags:** os:windows
**Created:** [April 18, 2024, 9:18am UTC](https://discourse.cmake.org/t/how-to-attach-nuget-package-config-file-for-cmake-project/10685 "2024-04-18T09:18:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![harshith\_raj](https://discourse.cmake.org/user_avatar/discourse.cmake.org/harshith_raj/32/4500_2.png) [@harshith\_raj](https://discourse.cmake.org/u/harshith_raj)
#### Post date: [April 18, 2024, 9:18am UTC](https://discourse.cmake.org/t/how-to-attach-nuget-package-config-file-for-cmake-project/10685/1 "2024-04-18T09:18:46Z")

</div>

Hi,

I’m working on CPP WinUI3 desktop application with cmake. By default WinUI3 project uses MSBuild. We made the project use cmake with the help of this sample project. ref - [GitHub - fredemmott/cmake-cpp-winrt-winui3: Archived experiment - see https://github.com/openkneeboard/openkneeboard for a real world example](https://github.com/fredemmott/cmake-cpp-winrt-winui3) (use this project as reference)

WinUI3 uses NuGet packages, and it has a corresponding file called _package.manifest_ which looks like this

 ![image](https://discourse.cmake.org/uploads/default/original/2X/7/78ada154164793be862380d6978db14590068878.png)

I’m trying to attach this file to my cmake WinUI3 project. I did not find any way to attach this file to my project with cmake.

How to add this file to the cmake project?

Thank you.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [April 27, 2024, 3:36pm UTC](https://discourse.cmake.org/t/how-to-attach-nuget-package-config-file-for-cmake-project/10685/2 "2024-04-27T15:36:08Z")

</div>

I suspect that [`VS_USER_PROPS`](https://cmake.org/cmake/help/latest/prop_tgt/VS_USER_PROPS.html) would be the way to do this.
