Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.8 css / js / gulpfile not outputting correctly #45

Closed
dotnetshadow opened this issue Dec 7, 2015 · 1 comment
Closed

v2.8 css / js / gulpfile not outputting correctly #45

dotnetshadow opened this issue Dec 7, 2015 · 1 comment
Labels
bug Issues describing a bug or pull requests fixing a bug.

Comments

@dotnetshadow
Copy link

Hi there,

I noticed you removed "webroot": "wwwroot" in project.json. But your gulpfile refrences project.webroot so when building the gulp file nothing gets outputted

 // Destination Directory Paths
    wwwroot: "./" + project.webroot + "/",
    css: "./" + project.webroot + "/css/",
    fonts: "./" + project.webroot + "/fonts/",
    img: "./" + project.webroot + "/img/",
    js: "./" + project.webroot + "/js/"

Maybe you need to introduce a hosting.json file:

Hosting:DetailedErrors - Show detailed errors for startup failures
server or Hosting:Server - Specify which servers
app or Hosting:App - Application where the startup is
ASPNET_ENV or Hosting:Environment - The environment to run as (Development, Production etc)
webroot - Webserver root, used by iis and static file servers
@RehanSaeed
Copy link
Member

Yes, my mistake. The project.json no longer has this setting so it needs to be moved to hosting.json. Released 2.8.1.

@RehanSaeed RehanSaeed added the bug Issues describing a bug or pull requests fixing a bug. label Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug or pull requests fixing a bug.
Projects
None yet
Development

No branches or pull requests

2 participants