visual studio - Task for a Bamboo Build plan fails when trying to get information from packages -


i trying run msbuild task in atlassian bamboo test run of bamboo plan on local device. have created plan , retrieve code github successfully, being running default scoure control checkout.

the first problem have system fail because msbuild task cannot referenced files. when looked manage nuget packages, says of packages missing, , when click restore of them restore of them have errors.

enter image description here

i think main reason because of package microsoft.codedom.providers.dotnetcompilerplatform -version 1.0.0 not being installed correctly. error message says because path, file name or both long, have not named project build , running github. have tried install using package manager console same result. tried creating folders said file meant located not working either.

i think problem package not found during package restore tried add nuget.config file.

<?xml version="1.0" encoding="utf-8"?>    <configuration>          <activepackagesource>           <add key="all" value="(aggregate source)" />        </activepackagesource> </configuration> 

but not working how can fix this?

according error message screenshot, mentioned package "carfinance.authorization.core.mvc" not found in nuget.org site. please make sure package's source url has added visual studio nuget package manager source list (tools -> options -> nuget package manager -> package sources).

and please add node in global nuget.config file stored in c:\users\username\appdata\roaming\nuget folder. after change config file, please remember restarting visual studio.

for microsoft.codedom.providers.dotnetcompilerplatform path long issue, please make sure stored path folder not long. create new project , store on desktop , install packages check whether install correctly. please copy current project on desktop too, make sure stored path not long.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -