Inhalte aufrufen

Profilbild

Can not build source from github


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 champcbg

champcbg

    Newbie

  • Members
  • Punkt
  • 8 Beiträge

Geschrieben: 16 July 2020 - 12:16

when trying to build src from github i get this error about finding the AngleSharp 0.9.11 library in the SmartStore.Services project
 

Could not load file or assembly 'file:///C:\Users\cbgre\OneDrive\Software\SSNET4\SmartStoreNET-4.x\src\packages\AngleSharp.0.9.11\lib\net45\AngleSharp.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)    SmartStore.Services

the package has been downloaded from nuget and is on the machine as the attached images shows.

 

 

 

I have updated nuget package to newest version.

I have referenced the package from the project.

 

neither worked.  Any suggestions of solution would be great.
 



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 16 July 2020 - 15:44

Please try following:
- empty your folder with the NuGet packages (src/packages).
- clean solution.
- Restore all packages: right click solution node > Manage NuGet packages for solution... > Restore
- rebuild solution.

Marcus Gesing

Smartstore AG


#3 champcbg

champcbg

    Newbie

  • Members
  • Punkt
  • 8 Beiträge

Geschrieben: 16 July 2020 - 19:56

Thank you for the suggestion that did not help.

 

I should stated the problem only happens when the project is in Release mode. 

 

In Debug mode the solution runs correctly.