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

asp-append-version not working on Linux #2979

Closed
@Daniel15

Description

@Daniel15

In my _Layout.cshtml:

<link rel="stylesheet" href="~/cache/main.min.css" asp-append-version="true"/>

On my development machine (Windows 7, Visual Studio 2015, Kestrel), this correctly appends the version:

<link rel="stylesheet" href="/cache/main.min.css?v=GQLFOo4-np2RJQauQG_3iKMNbSjDM5osk_tVLhNAnhE" />

However, in my production environment (Mono 4.0.2, Kestrel), no version is appended:

<link rel="stylesheet" href="/cache/main.min.css" />

Tested on Mono 4.0.2 and ASP.NET 5 Beta 6.

I'm deploying the site by doing dnu publish into a temporary directory, then rsyncing that temporary directory to the remote server.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions