忍者ブログ

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

【2025/05/19 18:03 】
CATEGORY [ ] COMMENT [ ] TRACKBACK [ ]
pagetop ∴
VisualStudio.Net2002と2003を同じマシンに共存させる。
一番ネックは.Net2002はFrameworkが1.0なのねぇ。
確か一年以上前にも同じことやったのに忘れてしまった。
共存のためにはマッピングが必要だ、ということは覚えていたんだけど・・・

<以下実現方法>
.Net2002,2003,IIS,Framework1.0,1.1全てインストール済の環境から

コマンドプロンプトを起動
\WINNT\Microsoft.NET\Framework\v1.0.370\
又は
\WINNT\Microsoft.NET\Framework\v1.1.4322\
まで階層移動
(使いたいFrameworkのバージョンフォルダを選択)


aspnet_regiis.exe -i
プロジェクトだけのマッピングは、
aspnet_regiis.exe -s W3SVC/1/ROOT/****
IISごとマッピングを変更するなら
aspnet_regiis.exe -r

ちなみに今どのバージョンのFrameworkを使っているかを確認するなら
aspnet_regiis.exe -lk

引数の詳細は
aspnet_regiis.exe /?でヘルプを見ておくれ
(一応続きに載せてみる)
HELPのコピペです
Usage:
aspnet_regiis.exe [-i | -u[a] | -r | -s[n] | -k[n] | -lv | -lk | -c | -e[a] | -?]

-i - Install current version of ASP.NET. Same as running
regsvr32.exe
-s - Install current version in the specified pat recursively
E.g. aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1
-sn - Same as -s, except it is non-recursive
-r - Install current version in all the Scriptmaps in IIS metabase. It will replace any version of ASP.NET in all IIS
Scriptmaps. However, the replaced versions will remain installed on the machine
-u - Uninstall current version of ASP.NET. Same as running regsvr32.exe -u
-ua - Uninstall all versions of ASP.NET
-k - Remove all versions of ASP.NET from the scriptmap of the specified path recursively E.g. aspnet_regiis.exe -k W3SVC/1/ROOT/SampleApp1
-kn - Same as -kn, except it is non-recursive
-lv - List all the versions that are installed, together with status and path. Status: Valid[ (Root)]|Invalid
-lk - List all the path of all IIS keys where ASP.NET is
installed, together with the version. Please note that keys that inherit ASP.NET from its parent will not be displayed
-c - Copy the client side script files of the current version to the aspnet_client subdirectory of each existing website
-e - Remove the client side script files of the current version from the aspnet_client subdirectory of each existing website
-ea - Remove the client side script files of all versions from the aspnet_client subdirectory of each existing website
-? - Print this help
PR
【2006/03/02 22:50 】
CATEGORY [ 環境設定 ] COMMENT [ 0 ] TRACKBACK [ ]
pagetop ∴
<<CSVファイルの作成 | HOME |
コメント
コメント投稿














trackback
トラックバックURL

FRONT| HOME |

忍者ブログ [PR]