我正在尝试部署guest虚拟机可执行文件但该可执行文件位于我的代码目录的子文件夹中,如下所示是来自ServiceManifest.xml的xml代码段
<EntryPoint>
<ExeHost>
<Program>Anaconda\python.exe</Program>
<Arguments>InitialFiltering\back_testing_agent_python_consumer.py</Arguments>
<WorkingFolder>CodeBase</WorkingFolder>
<!-- Uncomment to log console output (both stdout and stderr) to one of the
service's working directories. -->
<!-- <ConsoleRedirection FileRetentionCount="5" FileMaxSizeInKb="2048"/> -->
</ExeHost>
</EntryPoint>
但每当我尝试在我的本地群集上部署它时,它会抛出
Microsoft.VisualStudio.Azure.Fabric.ApplicationProject.ProjectSystem.PackageException
。但是,如果exe直接在代码文件夹下,如此
<Program>python.exe</Program>
然后它工作正常