-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
I am using net462 and web application.
When packaging a web application using PackageReference and msbuild - it attemps to copy files to a temp location for deploy and it thinks it should copy the App_Start/Ninject.Web.Common.cs but it also thinks it should delete it. So it deletes it from the nuget folder, then later it tries to copy it to the deploy folder based on the file list it generated earlier.
This is all defined in Microsoft.Web.Publishing.targets
<!--Force Copy Of all file to the $(WPPAllFilesInSingleFolder) if needed-->
<CopyPipelineFiles PipelineItems="@(FilesForPackagingFromProject)"
SourceDirectory="$(WebPublishPipelineProjectDirectory)"
TargetDirectory="$(WPPAllFilesInSingleFolder)"
SkipMetadataExcludeTrueItems="True"
UpdateItemSpec="True"
DeleteItemsMarkAsExcludeTrue ="True"
Condition="'@(FilesForPackagingFromProject)' != ''">
<Output TaskParameter="ResultPipelineItems" ItemName="_FilesForPackagingFromProjectTempory"/>
</CopyPipelineFiles>
Perhaps the bug is in the targets - but I had to roll back to 3.3.0 as I havent figured out a workaround
marcwittke and QmannnQmannn
Metadata
Metadata
Assignees
Labels
No labels