# Packaging error

**URL:** <https://discourse.slicer.org/t/packaging-error/18445>\
**Category:** Development\
**Created:** [July 1, 2021, 12:55am UTC](https://discourse.slicer.org/t/packaging-error/18445 "2021-07-01T00:55:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qiqi5210](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/qiqi5210/32/15920_2.png) [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Post date:** [July 1, 2021, 12:55am UTC](https://discourse.slicer.org/t/packaging-error/18445/1 "2021-07-01T00:55:16Z")

</div>

Hello everyone, I made some minor changes to the successful 3D slicer. When I packaged the software, there was an error

**seriousness code explain project file that 's ok Disable display status**  
**error MSB6006 “ “CMD. Exe” exited with code - 1073741819. kneeUpdateLauncherWIcon C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets two hundred and nine**

**seriousness code explain project file that 's ok Disable display status**  
**error MSB6006 “ “CMD. Exe” exited with code - 1073741819. kneeUpdateLauncherIcon C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets two hundred and nine**

Hope to get your reply, thank you！

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 2, 2021, 4:16am UTC](https://discourse.slicer.org/t/packaging-error/18445/2 "2021-07-02T04:16:12Z")

</div>

This happens when the application icon of `Slicer.exe` cannot updated because the file is read-only. This typically happens when `Slicer.exe` is running.

To avoid this, start Visual Studio by double-clicking on the `Slicer.sln`. You only need to launch Visual Studio using `Slicer.exe --VisualStudio` shortcut if you want to launch Slicer, but it is not needed for packaging.
