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

Upgrade from package.json/xproj --> csproj? #1073

Closed
asadsahi opened this issue Dec 21, 2016 · 3 comments
Closed

Upgrade from package.json/xproj --> csproj? #1073

asadsahi opened this issue Dec 21, 2016 · 3 comments
Labels

Comments

@asadsahi
Copy link

With 1.6.0 release, can we use dotnet core web project which is on .net 1.1 and using project.json?

Perhaps answer is yet, but two questions:

  1. How to upgrade?
  2. Will we be able to add packages through intellisense same as project.json currently allowes to see versions etc?
@asadsahi asadsahi changed the title Upgrade to csproj? Upgrade from package.json/xproj --> csproj? Dec 21, 2016
@DustinCampbell
Copy link
Member

Yes, you can still use project.json-based .NET Core projects as you did before. If you want to upgrade from a project.json-based .NET Core project to a csproj-based .NET Core project, you should:

  1. Ensure that you have a recent .NET Core SDK installed. (Ideally, a preview5 build downloaded from https://github.com/dotnet/cli).
  2. Run dotnet migrate at the command line.

Let me know if you have any other questions.

@asadsahi
Copy link
Author

@DustinCampbell migration succeeds, next question is how we can manage the nuget packages for the project now? With project.json Vs code was giving intellisense, but with csproj, what is the strategy of maintaining project dependencies?

Thanks

@DustinCampbell
Copy link
Member

There isn't IntelliSense in csproj files for NuGet packages yet. This is planned (#436) but probably won't happen for awhile.

Note that the .NET CLI is also adding commands for updating projects and solution files: https://github.com/dotnet/cli/issues/4746.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants