microsoftarchive / Learn-LTI

Access the Microsoft Learn http://docs.microsoft.com/learn Catalog of Learning Paths and Modules directly from your Learning Management Systems using the Microsoft Learn LTI application
https://microsoft.github.io/Learn-LTI/
MIT License
126 stars 50 forks source link

MSBUILD : error MSB1001: Unknown switch #137

Closed jomor797 closed 3 years ago

jomor797 commented 3 years ago

Failing at step 10 of the deployment and receiving this error:

ASP.NET Core

Successfully installed the ASP.NET Core HTTPS Development Certificate. To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). For establishing trust on other platforms refer to the platform specific documentation. For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054. Microsoft (R) Build Engine version 16.2.37902+b5aaefc9f for .NET Core Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1001: Unknown switch. Switch: --nologo

For switch syntax, type "MSBuild -help" [ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Message [ Errors while building Function App [ AssignmentLearnContent ] ] [ 6/23/2021 11:29:30 AM ] - [ERROR] - Exception.Type [ System.Management.Automation.RuntimeException ] [ 6/23/2021 11:29:30 AM ] - [ERROR] - Error occurred while executing the Script. Please report the bug on Github (along with Error Message & Logs)

jomor797 commented 3 years ago

I was able to get past this error by removing "--nologo" from line 58 in the "Install-Backend.ps1" script.