0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

cscの作法 その610

Last updated at Posted at 2025-10-31

概要

cscの作法、調べてみた。
bulletmllib、見つけたので、やってみた。

参考にしたページ

環境

windows10

手順

Tamago-master.zipをダウンロード

Tamago.dllをコンパイル

>msbuild tamago.csproj
Microsoft (R) Build Engine バージョン 4.8.9037.0
[Microsoft .NET Framework、バージョン 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

2025/10/31 11:25:21 にビルドを開始しました。
ノード 1 上のプロジェクト "C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj" (既定のターゲット)。
プロジェクト ファイルに ToolsVersion="12.0" が含まれています。このツールセットが不明であるか、存在しない可能性があります。その場合は、適切なバージョンの MSBuild をインストールして解決するか、ビルドがポリシー
上の理由により特定の ToolsVersion を使用するよう強制されている可能性があります。プロジェクトを ToolsVersion="4.0" として扱います。詳細については、http://go.microsoft.com/fwlin
k/?LinkId=291333 を参照してください。
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: フレームワーク ".NETFramework,
Version=v4.0" の参照アセンブリが見つかりませんでした。これを解決するには、このフレームワーク バージョンの SDK または Targeting Pack をインストールするか、SDK または Targeting Pack を
インストールしているフレームワークのバージョンにアプリケーションを再ターゲットしてください。アセンブリはグローバル アセ ンブリ キャッシュ (GAC) から解決され、参照アセンブリの代わりに使用されるため、アセンブリが目的のフレームワーク
に正しくターゲットされない場合もあります。 [C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: 構築されているプロジェ クトのプロセッサ アー
キテクチャ "MSIL" と、参照 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" のプロセッサ アーキテクチャ "x86" の間には不一致がありました。この不一致
は、ランタイム エラーを発生させる可能性があります。プロジェクトと参照の間でプロセッサ アーキテクチャが一致するように、構成マネージャーを使用してターゲットとするプロジェクトのプロセッサ アーキテクチャを変更するか、ターゲットとするプロジ
ェクトのプロセッサ アーキテクチャに一致するプロジェクト アーキテクチャとの依存関係を参照で設定することを検討してください。 [C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj]
GenerateTargetFrameworkMonikerAttribute:
すべての出力ファイルが入力ファイルに対して最新なので、ターゲット "GenerateTargetFrameworkMonikerAttribute" を省略します 。
CoreCompile:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /war
  n:4 /define:DEBUG;TRACE /highentropyva- /reference:C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll /refere
  nce:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll /reference:
  C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll /reference:C:\Windows\Mic
  rosoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll /reference:C:\Windows\Microsoft
  .Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll /debug+ /debug:full /fileal
  ign:512 /optimize- /out:obj\Debug\Tamago.dll /target:library /utf8output Accel.cs ActionDef.cs ActionRef.cs Bullet.cs
   BulletPattern.cs BulletDef.cs BulletRef.cs ChangeDirection.cs ChangeSpeed.cs DictionaryHelper.cs Expression.cs FireD
  ef.cs BulletManager.cs FireRef.cs IAction.cs IBulletDefinition.cs IFire.cs ILabelled.cs MathHelper.cs ParseException.
  cs Properties\AssemblyInfo.cs Direction.cs Repeat.cs Speed.cs ITask.cs Vanish.cs Wait.cs "C:\Users\ohisa\AppData\Loca
  l\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
CopyFilesToOutputDirectory:
  "obj\Debug\Tamago.dll" から "bin\Debug\Tamago.dll" へファイルをコピーしています。
  tamago -> C:\Users\ohisa\csc\Tamago-master\Tamago\bin\Debug\Tamago.dll
  "obj\Debug\Tamago.pdb" から "bin\Debug\Tamago.pdb" へファイルをコピーしています。
プロジェクト "C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj" (既定のターゲット) のビルドが完了しました。


ビルドに成功しました。

"C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj" (既定のターゲット) (1) ->
(GetReferenceAssemblyPaths ターゲット) ->
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: フレームワーク ".NETFramewor
k,Version=v4.0" の参照アセンブリが見つかりませんでした。これを解決するには、このフレームワーク バージョンの SDK または Targeting Pack をインストールするか、SDK または Targeting Pack
 をインストールしているフレームワークのバージョンにアプリケーションを再ターゲットしてください。アセンブリはグローバル アセンブリ キャッシュ (GAC) から解決され、参照アセンブリの代わりに使用されるため、アセンブリが目的のフレームワ
ークに正しくターゲットされない場合もあります。 [C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj]


"C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj" (既定のターゲット) (1) ->
(ResolveAssemblyReferences ターゲット) ->
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: 構築されているプロジ ェクトのプロセッサ
アーキテクチャ "MSIL" と、参照 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" のプロセッサ アーキテクチャ "x86" の間には不一致がありました。この不
一致は、ランタイム エラーを発生させる可能性があります。プロジェクトと参照の間でプロセッサ アーキテクチャが一致するように、構成マネージャーを使用してターゲットとするプロジェクトのプロセッサ アーキテクチャを変更するか、ターゲットとするプ
ロジェクトのプロセッサ アーキテクチャに一致するプロジェクト アーキテクチャとの依存関係を参照で設定することを検討してください。 [C:\Users\ohisa\csc\Tamago-master\Tamago\tamago.csproj
]

    2 個の警告
    0 エラー

経過時間 00:00:06.53

以上。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?