Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

publish-iis on 1.1.0 runtime #289

Closed
Closed
@JunTaoLuo

Description

@JunTaoLuo

Since we didn't anticipate any changes to the dotnet tool publish-iis, we have removed it from this repo and do not plan to ship any newer package in the future. However, when upgrading web applications to netcoreapp1.1 with all 1.1.0 dependencies, restoring for the publish-iis tool and trying to use it will fail and output the message.

The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found.
  - Check application dependencies and target a framework version installed at:
      /usr/local/share/dotnet/shared/Microsoft.NETCore.App
  - The following versions are installed:
      1.0.0-rc2-23925
      1.1.0-preview1-001100-00
  - Alternatively, install the framework version '1.0.0'.

This is because the publish-iis tool itself has a dependency on Microsoft.NetCore.App version 1.0.0:

"Microsoft.AspNetCore.Server.IISIntegration.Tools/1.0.0-preview2-final": {
        "type": "package",
        "dependencies": {
          "Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121",
          "Microsoft.Extensions.CommandLineUtils": "1.0.0",
          "Microsoft.NETCore.App": "1.0.0",
          "System.Diagnostics.Process": "4.1.0"
        },
        "compile": {
          "lib/netcoreapp1.0/dotnet-publish-iis.dll": {}
        },
        "runtime": {
          "lib/netcoreapp1.0/dotnet-publish-iis.dll": {}
        }
      }

cc @natemcmaster @muratg @glennc

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions