.NET Framework 2.0では、CLR上で動作するプログラム(以降、.NETプログラム)を生成するための新たなビルド・エンジンとして「MSBuild」が搭載された。 そこで本特集では、前・後編の2回に分けてMSBuildの詳細を解説する。前編では、「MSBuildとは何かについてとその利用方法」について、後編では「ビルドの手順(以降、ビルド・プロセス)を記述したMSBuild用ファイルの読み方や書き方、またMSBuildにカスタムの機能を追加して拡張する方法」について説明する。 それではさっそくMSBuildとは何かから説明していこう。 1. 「MSBuild」および「MSBuildファイル」とは? MSBuildとは、独自のXMLフォーマットのファイル(以降、MSBuildファイル)を解釈して、それに従い.NETプログラムをビルドするためのツールである。 MSBuildファイル
注意:ここで紹介する方法は、.NET Framework 2.0以降で有効です。それ以外では、こちらやこちらのように、TraceとDebugを使用するようにします。 ここでは、.NET Framework 2.0から追加されたTraceSourceクラスを使ってトレースする方法を紹介します。.NET Framework 1.1以前は、こちらやこちらのように、TraceとDebugを使用してトレースを行いましたが、.NET Framework 2.0ではTraceSourceを使用したトレースが推奨されています。 早速ですが、TraceSourceを使った簡単な例を示します。以下のコードでは、Button1をクリックしたときに、指定したメッセージがVisual Studioの出力ウィンドウに表示されます。 'TraceSourceの作成 Private Shared appTrace As
ブラウザでダウンロード Microsoft の Windows Live で使用できる 25G のオンラインストレージの SkyDrive を VB.net の簡単なプログラムでアップロードできるライブラリがあります。 但し、実装は正式な API では無く、ブラウザ と サーバーとのやりとりを HTML の構成を元に 解析して行われているようなので、いつ動かなくなっても不思議は無いようです。 とは言うものの、いざ自分で解析するとなると面倒なので、こういうライブラリはありがたい ですね。 ドキュメントがみつけられないのか、無いのか、とにかくソースパッケージのコンソールアプリが 解りやすかったのでテストしました。さすがに、テストしてみないと解らなかった事実が二つほど 1) 10M くらいの大きいファイルだと、タイムアウトの設定が必要 2) ディレクトリのインスタンスを作成時に実際のアクセス許可
Visual Studio 2010 では EXE を作るプロジェクトのデフォルトが Any CPU から x86 に変わります。また、DLL を作るプロジェクトは Any CPU のままです。これらの理由を説明している記事を見つけました。 AnyCPU Exes are usually more trouble than they're worth - Rick Byers 良い記事なのでかいつまんで勝手に訳してみます。だいぶはしょっているいいかげんな訳なので、できれば原文も読んでください。それと、訳についてアドバイスがもらえるとうれしいです。 勝手訳 AnyCPU Exes are usually more trouble than they're worth AnyCPU EXE は通常、価値よりもトラブルのほうが多い 私は過去数ヶ月にわたってここ(と一部の顧客)の人々と「AnyCP
物凄く期間を開けてしまいましたが、Reactive Extensions for .NET (Rx)紹介を再開していきます。もはやRxってなんだっけ?という感じなので、今回は最も基本である、IObservableについて扱います。ボケーッとしている間にIQbservable(IQueryableのデュアル)とか出てきてて置いてかれちゃってるし。 そんなこんなで、IObservableはIEnumerableのデュアルなんだよ、とか言われてもぶっちゃけさっぱり分かりません。なので、その辺のことはスルーして普通にコードで対比させながら見ていくことにします。 // IEnumerable (RunはForEachです、ようするに) Enumerable.Range(1, 10) .Where(i => i % 2 == 0) .Select(i => i * 2) .Run(Console.Wr
すべての Microsoft 製品 Global Microsoft 365 Teams Copilot Windows Surface Xbox セール 法人向け サポート ソフトウェア Windows アプリ AI OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Cloud Microsoft Security Azure Dynamics 365 一般法人向け Microsoft 365 Microsoft Industry Microsoft Power Platform Windows 365 開発者
前回では、Windows認証を実装したWebアプリケーションである「winauth」を作成しながら、そのプログラムについて解説した。今回はwinauthアプリケーションとまったく同じ機能のアプリケーションを、フォーム認証を使って実装していくことにしよう。アプリケーションの名前は「formauth」と名付けることにする。 formauthアプリケーションは以下に示す4つのファイルから構成されている。 web.config login.aspx(ログイン・フォーム) default.aspx(認証されたユーザーに関する情報を表示する) admin.aspx(adminに所属するユーザーだけがアクセスできる) formauthアプリケーションのダウンロード(formauth.zip) アプリケーション実行時のそれぞれの画面は以下のようなものだ。 このうちdefault.aspxとadmin.as
すべての Microsoft 製品 Global Microsoft 365 Teams Copilot Windows Surface Xbox セール 法人向け サポート ソフトウェア Windows アプリ AI OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Cloud Microsoft Security Azure Dynamics 365 一般法人向け Microsoft 365 Microsoft Industry Microsoft Power Platform Windows 365 開発者
2015 年 7 月 29 日より提供を開始した Windows 10 においても、Silverlight のブラウザー外実行をお使いいただけるほか、Windows 10 に搭載されている Internet Explorer 11 でのサポートは継続されます。 しかしながら、Microsoft Silverlight 5 は 2021 年 10 月 12 日にメインストリーム サポートが終了いたします。ただし、動作するブラウザーのサポート ライフサイクルが終了している場合がございますのでご注意ください。Silverlight のシステム要件は こちらからご確認いただけます。Silverlight のサポート ライフサイクルについての詳細は マイクロソフト サポート ライフサイクルでご確認いただけます。 関連リンク Silverlight の機能 | バージョン別機能比較表 | 開発者向け情
2009/05/07 Jストリームは5月7日、マイクロソフトのリッチ・インターネット・アプリケーション技術「Silverlight」プラグインの普及率が24%(小数点以下切り捨て、以下同)に達するとの調査結果を発表した。Silverlightはバージョン1が登場してから約2年半で4人に1人が使うまでに成長したことになる。ライバルのFlash Playerは98%の普及率を誇るが、Silverlightも無視できない存在感を持ち始めたといえるだろう。 調査は2009年2月に実施。国内のさまざまなポータル、30サイトにバナーを設置し、ユーザーのPC環境を調査した。インプレッション数は48万8022。 SilverlightプラグインがインストールされたPCの割合は24%。いくつかのポータル、動画サイトがSilverlightによるコンテンツ配信を行っていて、ユーザーのインストールを促したと見ら
Microsoftが4月17日、コンパイラおよび関連するプログラミングツールに共通する機能を提供するコンポーネントライブラリ「Common Compiler Infrastructure(CCI)」をMicrosoft Public License(Ms-PL)で公開した(SourceForge.JP Magazineの記事)。 CCIは.NET Frameworkの実行エンジン(仮想マシン)であるCommon Language Runtime(CLR)で動作するコードやデバッグファイルの読み込みや作成、操作を行うコンポーネントで、これを利用することで.NETアプリケーションを作成するコンパイラなどを作成しやすくなるようだ。Microsoftも、このコンポーネントを利用して開発ツールを作成しているという。 タレコミ子としては利用するケースがあまり思いつかないのですが、コンパイラを作ろう、と
Visual Studio International Pack Visual Studio International Pack に関する質問、ご意見・ご要望はこちら、その他Visual Studio International Pack に関する話題
1|2|3|4|5|6|7|8|9|10|11 次のページへ» スレッド返答投稿者最終投稿日 コピーライト、トレードマークなどの出力方法 20人 butthead 2009-04-22 08:30 by butthead タスクマネジャーの様に表示をしたい(NPlot使用) 2人 ken 2009-04-21 11:21 by ken OracleConnectionのDisposeについて 5人 Nya 2009-04-19 19:51 by Nya Panelのスクロール位置を保持したい。 5人 ニセイタ 2009-04-18 14:38 by ニセイタ Skypeのチャットのようなフォーム 1人 natrium 2009-04-17 22:56 by Jitta Transaction 処理について 12人 りん 2009-04-17 22:49 by なちゃ IE8+ノータッチデプ
当初からプラットフォーム非依存の分散オブジェクト・アーキテクチャとして設計されたCORBAと異なり、COM+(用語解説2)は、最初はWindowsの複合ドキュメント間の連携手段(例えばWordドキュメントへのExcelスプレッドシートの埋め込みやリンク)であるOLE(Object Linking and Embedding:オーレと読む)としてスタートしました。その後、次々と進化を遂げて現在のCOM+に至っています。 最初の大きな進化は、COM(Component Object Model)の登場です。ここでは、複合ドキュメント連携のアーキテクチャが、ソフトウェア・コンポーネント連携のアーキテクチャへと進化しました。誕生直後のCOMは、ローカル・マシン上のコンポーネント連携がサポートされていただけでしたが、まもなくRPC(リモート手続き呼び出し)機能を取り込んだDCOM(Distribut
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く