Fix: Manual update to .CSPROJ file XML as VS 2017 was throwing an error when trying to go to the pics folder properties to include it in the output directoy. Added:
<None Update="Pics"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> See possible related bug in VS 2017: https://github.com/dotnet/roslyn-project-system/issues/1579
This commit is contained in:
parent
fafaf42c63
commit
bf6e696ccb
@ -52,7 +52,7 @@ Write-Host "basketPathToPub is $basketPathToPub" -ForegroundColor Yellow
|
|||||||
########################################################################################
|
########################################################################################
|
||||||
# Delete old eShop dotnet publish bits
|
# Delete old eShop dotnet publish bits
|
||||||
########################################################################################
|
########################################################################################
|
||||||
Write-Host "Deleting previous dotnet publish bits from all projects" -ForegroundColor Blue
|
# Write-Host "Deleting previous dotnet publish bits from all projects" -ForegroundColor Blue
|
||||||
|
|
||||||
remove-item -path $WebMVCPathToPub -Force -Recurse -ErrorAction SilentlyContinue
|
remove-item -path $WebMVCPathToPub -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
remove-item -path $webSPAPathToPub -Force -Recurse -ErrorAction SilentlyContinue
|
remove-item -path $webSPAPathToPub -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
|
@ -48,6 +48,9 @@
|
|||||||
<None Update="Dockerfile">
|
<None Update="Dockerfile">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
<None Update="Pics">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Update="Pics\1.png">
|
<None Update="Pics\1.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user