MSBuild 2015ツールを使用して構築サーバーにUWPライブラリをビルドしようとしました。私は、Windows 10 SDKやその他の必要なツールをインストールしているが、私は、Visual Studio 2015年、私は、このコマンドを使用して構築しようとしていない持っている:ビルドサーバーでUWPアプリ/ライブラリを構築
msbuild mySolution.sln /t:Rebuild/p:Configuration=Release;Platform=x86;AppxBundlePlatforms=x86;AppxBundle=Always
またはこの例で試してみてください。 compilebuild-the-uwp-project-from-command-lineを、まだ動作していないと私が得ましたエラー:
...
error CS0518: Predefined type 'System.Boolean' is not defined or imported
error CS0518: Predefined type 'System.Void' is not defined or imported
error CS0518: Predefined type 'System.Object' is not defined or imported
error CS0518: Predefined type 'System.Int32' is not defined or imported
error CS0518: Predefined type 'System.Void' is not defined or imported
error CS0518: Predefined type 'System.Boolean' is not defined or imported
error CS0518: Predefined type 'System.Boolean' is not defined or imported
...
私はVSをインストールしても問題ありませんが、ビルドサーバにVSをインストールする必要はありません。
Visual StudioなしでUWPライブラリ/アプリケーションをビルドすることは可能ですか?
まずは、ナゲットの復元を行う必要があると思います。 .netのコアパッケージには –
が足りないと思っていますが、これも良いドキュメントです。https://docs.microsoft.com/en-us/windows/uwp/packaging/auto-build-package-uwp-apps –
しかし、それは動作しませんでした。 – paulExe