Aspnetcore-angular-universal: VS2017

Created on 5 Mar 2017  路  6Comments  路  Source: TrilonIO/aspnetcore-angular-universal

Hi Mark,
This looks great. I am using the JavaScriptServices VS template and have it running to in VS2017 and the team is using that.

Will this starter pack simply fail in VS2017 or convert fine? Thinking about upgrading to this starter pack because I want webpack2 and karma up and running.

Thanks

Most helpful comment

Hey @albrookesplowman it's ok I'm actually doing several things at the same time to get the repo up to date: angular4, platform-server, AoT, vs2017, and a few others.
Shooting to have them in the repo by tomorrow.
It will still be rc anfular4, but thought it'd be nice to have people test it out a little bit on their end so we can give some feedback.

So far last remaining bug is that animations error on the server but it's in the works!

All 6 comments

We finally just merged in some of the big structural changes to the Repo, if someone wants to take a look, it's definitely time to upgrade now that VS2017 is coming out around the corner!

We have the one solution file at the root
and the one project.json file in AspCoreServer

PRs always welcome of course if you want to look at JavaScriptServices for reference on how to upgrade them!

I'm unfortunately gone tomorrow through Friday otherwise I could get it in there :(

Dupe of #54 closing that one out

Now that I have VS2017 Enterprise installed, do you want me to have a look at building it in VS2017?

Hey @albrookesplowman it's ok I'm actually doing several things at the same time to get the repo up to date: angular4, platform-server, AoT, vs2017, and a few others.
Shooting to have them in the repo by tomorrow.
It will still be rc anfular4, but thought it'd be nice to have people test it out a little bit on their end so we can give some feedback.

So far last remaining bug is that animations error on the server but it's in the works!

I actually used the template you provided but we have since moved forward on our project and have successfully migrated to VS2017. Just double check the launchSettings.json file that is used by Visual Studio. But the migration from project.json to project.csproj was handled by Visual Studio perfectly fine so this should definitely be pushed for the template. We are now using Visual Studio 2017 AND Visual Studio Code depending on preference for both launching and debugging and there are no major issues at all.

Be sure that once the project template is migrated. the tasks.json for Visual Studio Code will also need to be updated to look something similar to below...

"tasks": [
        {
            "command": "dotnet",
            "echoCommand": true,
            "taskName": "build",
            "dependsOn": "",
            "options": {
                "cwd": "${workspaceRoot}"
            },
            "args": [
                "restore",
                "${workspaceRoot}/Template.Project.sln"
            ],
            "problemMatcher": "$msCompile",
            "isBuildCommand": true
        },
        {
            "command": "dotnet",
            "echoCommand": true,
            "taskName": "build",
            "dependsOn": "restore",
            "options": {
                "cwd": "${workspaceRoot}"
            },
            "args": [
                "build",
                "${workspaceRoot}/src/Template.Project.sln"
            ],
            "problemMatcher": "$msCompile",
            "isBuildCommand": true
        },
        {
            "command": "dotnet",
            "echoCommand": true,
            "taskName": "publish",
            "dependsOn": "build",
            "options": {
                "cwd": "${workspaceRoot}"
            },
            "args": [
                "publish",
                "${workspaceRoot}/src/Template.Project.sln"
            ],
            "problemMatcher": "$msCompile",
            "isBuildCommand": true
        },

4.0 branch here, uses VS2017. Will have it all in Master once it's more up to date with the Master repro.

I merged into Master, so we're on 2017 only now :+1: :100:

Fixing any issues and upgrading a few things today

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrmcdona picture jrmcdona  路  20Comments

MarkPieszak picture MarkPieszak  路  14Comments

ORuban picture ORuban  路  15Comments

consigliory picture consigliory  路  18Comments

MarkPieszak picture MarkPieszak  路  41Comments