c# - What is "Service Include" in a csproj file for? -


in c# solution, added existing project.
after that, visual studio has added following entry in other .csproj files:

<itemgroup>     <service include="{b4f97281-0dbd-4835-9ed8-7dfb966e87ff}" /> </itemgroup> 

what's for?
can delete it?

i had similar case, added:

<itemgroup>   <service include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </itemgroup> 

this inclusion turns out generated on purpose vs2013 if create nunit test project, forget tag test project, described in answer microsoft:

this behavior intentional.

to support third-party test frameworks, nunit , xunit, visual studio 2012 loaded test explorer on solution open, regardless of whether contained test projects. added seconds of delay startup , solution open scenarios users, majority of whom don't use tests.

in visual studio 2013, changed test explorer package loaded when solution contains 1 or more test projects. test projects identified in 2 different ways. projects created 1 of built-in unit test project templates identified using project type guids. other types of projects, such class library project xunit or nunit tests, identified test explorer during first test discovery , “tagged” <service/> item.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -