0

サンプルLightSwitchアプリ(オンライン注文)をダウンロードしましたが、解決できないというエラーが発生しました。LightSwitchのサンプルアプリケーションで問題が発生しました

Error 1 The "SqlInstanceName" parameter is not supported by the "BuildSchema" task. Verify the parameter exists on the task, and it is a settable public instance property. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets 160 23 OnlineOrdering

Error 2 The "BuildSchema" task could not be initialized with its input parameters. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets 157 10 OnlineOrdering

エラーは、次のセクション

<!--The Development Database is built in the same location - Bin\Data - for all configurations.--> 
    <BuildSchema Inputs="@(LightSwitchModel)" 
       ProjectPath="$(MSBuildProjectFullPath)" 
       OutputDirectory="Bin\Data" 
       SqlInstanceName="$(SqlInstanceName)" 
       ExternalDataSources="@(ServerExternalDataSources)"/> 

あなたの助けがはるかに高く評価されています!

答えて

0

私はそのサンプルを書きました。私はそれがいくつかのマシンにインストールされているので動作することを知っています。

しかし、LightSwitchは今日リリースされたばかりで、LightSwitchのリリース版ではテストしていません。

どのバージョンをお使いですか?

+0

返信いただきありがとうございます。Lighswitch拡張機能に問題があることが判明しました。問題は今解決されました しかし、私はこのエラーを取得しようとすると、サンプルアプリケーションを試しています 基礎となるプロバイダはOpenで失敗しました。 内部例外メッセージ: ユーザーインスタンスのプロセスの開始に失敗したためにSQL Serverのユーザーインスタンスを生成できませんでした。接続が閉じられます。 – Joe

関連する問題