Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
99 stars 66 forks source link

Behavior of NuGet package file placement has changed between Functions SDK v1 and v3 #496

Closed motias closed 2 years ago

motias commented 3 years ago

After updating the Azure Functions SDK version from 1.0.x to 3.0.11, it seems that the behavior of the NuGet package file placement after build has changed.

In 1.0.x, all the files in the NuGet package are placed under bin\runtimes folder as below:

In 3.0.11, only dll file is placed under bin\runtimes folder as below:

I noticed in PR #443, the build event copied the dll/pdb files to bin/runtimes folder. However, some NuGet packages contain files other than dll/pdb, and I think the build event should copy all files.

Ved2806 commented 2 years ago

Hi @brettsam Could you please help with this issue?

Ved2806 commented 2 years ago

Hi @brettsam Do you have any inputs?

brettsam commented 2 years ago

@motias -- This is from a while ago, but if it's still affecting you, can you give us an example project where this doesn't behave how you'd expect? There were quite a few changes "beneath" us in the .NET SDK itself, so some of this may be due to changes there.

ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.