LoginSignup
2
2

More than 5 years have passed since last update.

VisualStudio 2012 Express for WebでNUnitを使う

Posted at

Visual Studio 2012 Expressはやはりいろいろ制限されていて、そのままではNUnitを起動できない。
しかもfor Webはその名の通りWeb系しか作れないので、Runnerが使用できない!
よって、ムリヤリインスタンス起動時に動かしちゃおうという設定。

というか通常のProfessionalとかで入ってる設定ですね。
但し、64bitや32bit指定の場合はNUnitのexe指定が違うので注意!(64bit: nunit.exe 32bit: nunit-x86.exe

Test.csproj
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <StartAction>Program</StartAction>
    <StartProgram>D:\Program Files (x86)\NUnit 2.6.2\bin\nunit.exe</StartProgram>
.....
  </PropertyGroup>

NUnit.Gui.Runner使えたらこんな苦労する必要ないのに・・・(´・ω・`)

2
2
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
2
2