2025-03-01から1ヶ月間の記事一覧

windows環境でClaude Codeを使う方法

インストール方法はこちらみて qiita.com powersehllからの起動方法 wslからUbuntu起動 wsl -d Ubuntuclaude code起動 claude バッチファイルでそのフォルダを起点に起動させる方法 batファイル(パスは環境にあわせること) wsl -d Ubuntu bash -c "/home/<user>/.n</user>…

C# 通常ビルドと単一ファイル配置するときでは アプリケーションのベースディレクトリを取得する方法が違う

private async void Form1_Load(object sender, EventArgs e) { // アプリケーションのベースディレクトリを取得する改良された方法 string directoryPath; // Assembly.Location が空の場合は AppContext.BaseDirectory を使用 string assemblyPath = Assem…