-1

i am having trouble in publishing my ASP.Net Core MVC Web App to IIS.

  1. when publishing the app via File System - Publish Method, and hooking the output folder to IIS, i get this error below

enter image description here

  1. when publishing the app via Web Deployment Package - Publish Method, i get this error below

enter image description here

No executable found matching command "dotnet-bundle"

No executable found matching command "dotnet-publish-iis"

i already have the necessary things installed, that is if i have not missed anything.

enter image description here

Community
  • 1
  • 1
TheQuestioner
  • 682
  • 8
  • 23

1 Answers1

1

Ensure that you have following lines in your project.json file:

"tools": {
  "BundlerMinifier.Core": "2.0.238",
  "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
  "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
}
Dawid Rutkowski
  • 2,486
  • 1
  • 27
  • 31
  • seems like this was what is lacking from my project.json file. turns out, i only have `BundlerMinifier.Core`. strange. thanks anyway :) – TheQuestioner Nov 02 '16 at 08:02