X-Sharp / XSharpPublic

Public repository for the source code for the XSharp Compiler, Runtime, Project System and Tools.
Apache License 2.0
93 stars 36 forks source link

Visual Studio Rebuild (commandline) #944

Open ecosSystem opened 2 years ago

ecosSystem commented 2 years ago

Hi Robert, I'm trying to rebuild a solution with the following commandline: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" "D:\Projekte\proMO\proMO.SLN" /rebuild "Release" /Out "BuildTest.log"

In the log-file I get:

Das Paket "XSharp Project System" konnte nicht geladen werden. Das Paket "XSharp Project System" konnte nicht geladen werden. Das Paket "XSharp Project System" konnte nicht geladen werden. Das Paket "XSharp Project System" konnte nicht geladen werden. Das Paket "XSharp Project System" konnte nicht geladen werden. Bei der Migration sind einige Fehler aufgetreten. Weitere Informationen finden Sie im Migrationsbericht: D:\Projekte\proMO\UpgradeLog.htm Neuerstellen gestartet... ========== Alles neu erstellen: 0 erfolgreich, 0 fehlerhaft, 0 übersprungen ==========

What can I do ?

TIA, Karl UpgradeLog.zip

RobertvanderHulst commented 2 years ago

To build from the command line you do not need to load Visual Studio at all. You can run MsBuild directly

ecosSystem commented 2 years ago

That seems to work, thank you

RobertvanderHulst commented 2 years ago

Thanks, I will review the issue anyway