Closed palchak closed 2 years ago
Hi @palchak ,
Update image to
pool:
vmimage: 'windows-2019'
and add an additional task in steps
steps:
- powershell: 'choco install dotnetcore-sdk --version=2.0.0'
displayName: 'Install .net core 2.0.0'
This worked for me, I will have this updated in the template. Thanks
@sriramdasbalaji
I am following the link https://azuredevopslabs.com/labs/vstsextend/terraform/ and running the CI pipeline. This is my below YAML file
The build fails at Publish task with the error :
C:\Program Files\dotnet\sdk\6.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): error NETSDK1152: Found multiple publish output files with the same relative path: D:\a\1\s\src\PartsUnlimited.Models\config.json, D:\a\1\s\src\PartsUnlimitedWebsite\config.json. [D:\a\1\s\src\PartsUnlimitedWebsite\PartsUnlimitedWebsite.csproj]
Any idea how to fix this