Skip to content

Unable to publish project on Linux on 2.1 Preview 2 #2207

@karelz

Description

@karelz

From @danwalmsley on April 25, 2018 15:57

Hi, my project built and published no problem on 2.0 and 2.1 Preview 1

but now I get:

/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio.Languages.Xaml/AvalonStudio.Languages.Xaml.csproj : error NU1605: Detected package downgrade: Microsoft.NETCore.App from 2.0.6 to 2.0.0. Reference the package directly from the project to select a different version.  [/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj]
/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio.Languages.Xaml/AvalonStudio.Languages.Xaml.csproj : error NU1605:  AvalonStudio.Languages.Xaml -> Avalonia.Designer.HostApp -> Microsoft.NETCore.App (>= 2.0.6)  [/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj]
/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio.Languages.Xaml/AvalonStudio.Languages.Xaml.csproj : error NU1605:  AvalonStudio.Languages.Xaml -> Microsoft.NETCore.App (>= 2.0.0) [/home/dan/repos/AvalonStudio/AvalonStudio/AvalonStudio/AvalonStudio.csproj]

AvalonStudio.csproj is a netcoreapp2.0 project.
AvalonStudio.Languages.Xaml.csprojis a netcoreapp2.0 project
Avalonia.Designer.HostApp is also a netcoreapp2.0 project.

The previous version was happy with this.

The repository containing the code at specific commit to repro is here:
VitalElement/AvalonStudio@e947164

git clone --recursive
cd AvalonStudio\AvalonStudio\AvalonStudio
dotnet publish -c Release -f netcoreapp2.0 -r debian.8-x64

Let me know if I can provide any further information.

Thanks in advance.

Copied from original issue: dotnet/coreclr#17774

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions