asp.net mvc - creating nuget package on local machine imported project ...Microsoft.WebApplication.targets... cannot be found -


i'm trying make nuget package of mvc 5 project, , following error in console.

c:\projects>nuget pack webapplication3\webapplication3\webapplication3.csproj 

attempting build package 'webapplication3.csproj'. imported project "c:\program files (x86)\msbuild\microsoft\visualstudio\v10.0\webapplications\microsoft.webapplication.targets" not found. confirm path in declaration correct, , file exists on disk. c:\users\michael\documents\visual studio 2013\projects\webapplication3\webapplication3\webapplication3.csproj

in .csproj

<import project="$(msbuildbinpath)\microsoft.csharp.targets" /> <import project="$(vstoolspath)\webapplications\microsoft.webapplication.targets" condition="'$(vstoolspath)' != ''" /> <import project="$(msbuildextensionspath32)\microsoft\visualstudio\v10.0\webapplications\microsoft.webapplication.targets" condition="false" /> 

i don't have vs 2010 installed on machine. vs2013. changes have make in order build , package?

landed on thread , battling issue (who has visual studio 2013 , lands on thread) , looking quick fix copy folder

c:\program files (x86)\msbuild\microsoft\visualstudio\v12.0\webapplications

to

c:\program files (x86)\msbuild\microsoft\visualstudio\v10.0

see these links further detail:

link1 specific reference heading/section "webapplication.targets"

link2 reference jim lamb's answer.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -