Struggling to figure out this one… Added a single column to OrderHed, then trying to do DataModelRegen and I keep getting the following error.
From the DataModelGenerator.log file, no errors until the bottom of the file which looks like the following. I have reinstalled the .Net SDK, uninstalled and re-installed the Database and Application server manager extensions, but consistently get the same error.
DataModelGenerator.log file
…
Transform Model T4 template
transformation completed. (12.31 s)
Transform TempRowTypes T4 template
transformation of TempRowTypes completed. (0.59 s)
Build context project
Determining projects to restore…
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Ref. No packages exist with this id in source(s): Offline
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.WindowsDesktop.App.Ref. No packages exist with this id in source(s): Offline
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Ref. No packages exist with this id in source(s): Offline
Failed to restore C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj (in 407 ms).
Determining projects to restore…
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Ref. No packages exist with this id in source(s): Offline
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.WindowsDesktop.App.Ref. No packages exist with this id in source(s): Offline
C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Ref. No packages exist with this id in source(s): Offline
Failed to restore C:\Users\epicoradmin\AppData\Local\Temp\Epicor\DataModelGenerator\Source\Server\Db\Ice.Data.Model\Ice.Data.Model.csproj (in 406 ms).
Error Generating the Data Models: Unable to build Data Model ‘Ice.Data.Model’.
Has anyone seen this before?
Thanks,
Troy