# Windows変換後のパブリッシュ時のコンパイルエラーについて

**URL:** <https://forum.uipath.com/t/windows/711203>\
**Category:** Studio\
**Tags:** publish, windows, windows-legacy, studio\
**Created:** [January 9, 2024, 10:02am UTC](https://forum.uipath.com/t/windows/711203 "2024-01-09T10:02:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yukari.ui00](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yukari.ui00/32/453158_2.png) [@yukari.ui00](https://forum.uipath.com/u/yukari.ui00)\
**Post date:** [January 9, 2024, 10:02am UTC](https://forum.uipath.com/t/windows/711203/1 "2024-01-09T10:02:50Z")

</div>

UiPathのStudioをWindows legacyからWindowsへ変換しパブリッシュしようとしたところ、コンパイルエラーが出てしまいました。

エラーは以下の内容です。  
「ライブラリのコンパイル プロセス中に予期しないエラーが発生しました。  
次のワークフローは、少なくとも1つの呼び出しサイクルに含まれています  
\*’・・・/main.xaml」

解決方法を知っていらっしゃる方がいましたら、ご回答お願いいたします。

---

<div class="post-metadata">

**Author:** ![lrtetala](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@lrtetala](https://forum.uipath.com/u/lrtetala)\
**Post date:** [January 9, 2024, 10:06am UTC](https://forum.uipath.com/t/windows/711203/2 "2024-01-09T10:06:39Z")

</div>

Hi @yukari.ui00

Please check on this

> **[Studio - About Libraries](https://docs.uipath.com/studio/standalone/2022.10/user-guide/about-libraries)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Studio - Deprecation of the Windows-Legacy Compatibility](https://docs.uipath.com/studio/standalone/2023.4/user-guide/deprecation-of-the-windows-legacy-compatibility)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

[![](https://global.discourse-cdn.com/uipath/original/4X/6/d/7/6d78d05fa9284711b11c4050291e026b80c68823.jpeg "Migration Challenges from UiPath Legacy to Windows Platform") ](https://www.youtube.com/watch?v=8SkoSqX0fxI)

---

<div class="post-metadata">

**Author:** ![vrdabberu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vrdabberu/32/484365_2.png) [@vrdabberu](https://forum.uipath.com/u/vrdabberu)\
**Post date:** [January 9, 2024, 10:07am UTC](https://forum.uipath.com/t/windows/711203/3 "2024-01-09T10:07:05Z")

</div>

Hi @yukari.ui00

Please check all the dependencies and repair the dependencies as per the versions available in the Windows.

Regards

---

<div class="post-metadata">

**Author:** ![yukari.ui00](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yukari.ui00/32/453158_2.png) [@yukari.ui00](https://forum.uipath.com/u/yukari.ui00)\
**Post date:** [January 9, 2024, 10:12am UTC](https://forum.uipath.com/t/windows/711203/4 "2024-01-09T10:12:48Z")

</div>

ありがとうございます。  
確認してみましたが、今回のエラーが解消できるような動作が上手く見つけられませんでした。

---

<div class="post-metadata">

**Author:** ![yukari.ui00](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yukari.ui00/32/453158_2.png) [@yukari.ui00](https://forum.uipath.com/u/yukari.ui00)\
**Post date:** [January 9, 2024, 10:14am UTC](https://forum.uipath.com/t/windows/711203/5 "2024-01-09T10:14:09Z")

</div>

こんにちは。  
依存関係は全て更新しており最新バージョンになっています。  
また、xamlにもエラーが出ておらずコンパイルエラーになる理由が全くわからない状態です。

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [January 9, 2024, 10:17am UTC](https://forum.uipath.com/t/windows/711203/6 "2024-01-09T10:17:28Z")

</div>

looks like a xaml is calling/invoking directly or indirectly itself. A so called cycle

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [January 9, 2024, 10:20am UTC](https://forum.uipath.com/t/windows/711203/7 "2024-01-09T10:20:05Z")

</div>

Also have a look here:

## 2.14 Recursive logic is not supported (in [Studio](https://docs.uipath.com/studio/docs/introduction) 23.4 or lower)

> [@Troubleshooting Guide : Conversion from Windows-Legacy project to Windows project](https://forum.uipath.com/t/troubleshooting-guide-conversion-from-windows-legacy-project-to-windows-project/500552#h-214-recursive-logic-is-not-supported-in-studio-234-or-lower-16):
>
> This topic describes troubleshooting guide regarding conversion from Windows-Legacy project to Windows project as of Dec 2023. Hope this helps those who face these problems. 1 Quick Reference by Error Messages, Situation etc. Phase Error message / Situation Reference Open project foobar.xaml: Cannot create unknown type’{clr-Namespace:UiPath.foo.Activities;assembly=UiPath.bar.Activities}ActivityName’. [2.2 Missing Activities package](#h-22-missing-activities-package-4) OR [2.3 Missing activity](#h-23-missing-activity-5) Development Unable to set pro…

And

> [@\[InfoSet\] - LegacyToWindows Migration # Information Index](https://forum.uipath.com/t/infoset-legacytowindows-migration-information-index/554052):
>
> About this [InfoSet] - LegacyToWindows Migration series The [InfoSet] series summarise a topic and offer information resources of different kinds. The topic of Legacy-to-Windows migration was chosen for the [InfoSet] series to provide initial help. This information index is the landing page that lists all the different information resources. Blogs Tools & Guides [Blueprint Block](https://forum.uipath.com/t/infoset-legacytowindows-migration-project-blueprint-overview/548607) Topic Registration / Inventorisation / Prototyping [Jump Start Guide](https://forum.uipath.com/t/infoset-legacytowindows-migration-jump-start-guide/554050) - A series of questions and a check…

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [January 9, 2024, 1:33pm UTC](https://forum.uipath.com/t/windows/711203/8 "2024-01-09T13:33:17Z")

</div>

> [@yukari.ui00](#):
>
> エラーは以下の内容です。  
> 「ライブラリのコンパイル プロセス中に予期しないエラーが発生しました。  
> 次のワークフローは、少なくとも1つの呼び出しサイクルに含まれています  
> \*’・・・/main.xaml」

main.xaml内で、ワークフローファイル呼び出しアクティビティで自分自身(main.xaml)を呼び出している。あるいはmain.xaml中で呼び出したA.xamlの中で、main.xamlを呼び出している、等がありませんでしょうか？  
またあわせてStudioのバージョンも共有いただけると良いかと思います。
