HodorNV / ALOps

ALOps
59 stars 24 forks source link

(Question) ALOpsAppCompiler@2 - /assemblyprobingpaths with Sandbox #228

Closed fvet closed 4 years ago

fvet commented 4 years ago

Describe the bug If my app would be targetting cloud only (artifacttype = Sandbox), why does this alc.exe still needs to be called with the /assemblyprobingpaths included? Shouldn't we exclude all options of using add-ins of any kind (except for the Mock assemblies) when targetting SaaS? The assemblyprobingpaths in the settings.json file is empty too.

& alc.exe /packagecachepath:"C:\DockerInstallation\Agent_work\4\s\App.ALOPSCache" /project:"C:\DockerInstallation\Agent_work\4\s\App" /out:"C:\DockerInstallation\Agent_work\4\a\Navitrans_Core_16.3.0.4937_Sandbox_16.3_w1.app" /fullpaths /assemblyprobingpaths:C:\Windows\assembly,C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\Test Assemblies\Mock Assemblies,C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\LegacyDlls\program files\Microsoft Dynamics NAV\160\RoleTailored Client\Add-ins,C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\ServiceTier\program files\Microsoft Dynamics NAV\160\Service\Add-ins /analyzer:"C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll","C:\bcartifacts.cache\sandbox\16.3.14085.17832\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll" /ruleset:"C:\DockerInstallation\Agent_work\4\s\App.vscode\nvt.ruleset.json"

waldo1001 commented 4 years ago

I don't get the problem on this one? Do you expect wrong results?

fvet commented 4 years ago

You can ignore this one, I won't fail indeed.