sujitnayak
sujitnayak
Tracked with VS Feedback issue https://developercommunity.visualstudio.com/t/Unable-to-publish-via-ClickOnce-for-Unpa/1631852
Sorry, this issue did not get routed to the correct team. We're are preparing to fix this for an upcoming release. Thanks.
@Lumoryel I assume you get these warnings outside of the AzDO pipeline as well? If so, please run the msbuild CLI from your pipeline task with the /bl switch and...
@Lumoryel In that case, you would need to create a minimal sample that reproduces the error and share that. The warning suggests that assembly references are being passed as file...
@Lumoryel I assume you're seeing this in an AzDO pipeline job. If so, could you please also provide the command line your task invokes in the pipeline?
@Lumoryel I cannot reproduce the issue. I added your test project into a AzDO pipline with 3 tasks - NuGet Restore, MSBuild build and MSBuild publish. I don't get any...
@Lumoryel From the binlog, the **EnableMSTestV2CopyResources** is set to True. The MSTest.TestAdapter package has a .targets file that will include the resource DLLs as Content Items when this property is...
The EnableMSTestV2CopyResources is likely defined somewhere in your pipeline. I am not able to say for sure but I can see it is set to true in the binlog. It...
@Lumoryel I was mistaken. The EnableMSTestV2CopyResources defaults to Yes in the MSTest.TestAdapter.targets file. It appears that your build machine has the CurrentUICulture (Display Language) set to de-de which is the...
@Lumoryel The MSB3178 warning from ClickOnce is relevant in that assemblies have been added for publishing in the Content group. The Content group typically contains data files that need to...