Skip to content

Conversation

@pablotdv
Copy link

Porting to VS2019

Copy link

@leonelsanchesdasilva leonelsanchesdasilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@processedbeets please approve this PR. We are updating for VS2019. Will update the README.md file later.

@leonelsanchesdasilva
Copy link

Better saying, I've found an error at Enable-Migrations command. Please do not merge this yet.

@leonelsanchesdasilva
Copy link

Steps to reproduce:

  • Build this PR;
  • Insert the following packages into a folder on the computer:
    • LinqToSqlScaffolding.0.3.1.nupkg
    • MvcScaffolding.VS2019.1.0.3.nupkg
    • T4Scaffolding.Core.VS2019.1.0.2.nupkg
    • T4Scaffolding.VS2019.1.0.2.nupkg
  • Start a new project in VS2019 (either C# or Visual Basic). Mine is MvcScaffoldingInVS2019;
  • Open Package Manager Console and add a new package source, pointing to the directory where the packages are:
    image
  • Execute the following commands:
    • Install-Package MVcScaffolding.VS2019;
    • Update-Package -reinstall
    • Enable-Migrations

The following error will be shown at the Error List panel:

Severity	Code	Description	Project	File	Line	Suppression State
Error		The file "C:\Debug\MvcScaffoldingInVS2019.csproj.CopyComplete" cannot be created. Could not find a part of the path 'C:\Debug\MvcScaffoldingInVS2019.csproj.CopyComplete'.	MvcScaffoldingInVS2019			

@leonelsanchesdasilva
Copy link

Today I sat down to review all the bugs over again. Turns out that the Enable-Migrations command is from Entity Framework 6, not from this package.

Build and packages work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants