vstest icon indicating copy to clipboard operation
vstest copied to clipboard

Unit test project templates should set IsPackable as false

Open codito opened this issue 9 years ago • 4 comments

Setting IsPackable=false should disable the Pack property pages.

See https://github.com/NuGet/Home/issues/4323 for more details.

codito avatar Jan 25 '17 14:01 codito

This could be added in https://github.com/Microsoft/vstest/blob/master/src/package/nuspec/Microsoft.NET.Test.Sdk.props.

For validation, replace https://github.com/Microsoft/vstest/blob/master/src/package/nuspec/Microsoft.NET.Test.Sdk.props with modified one and verify if package property pages don't show up in IDE and dotnet pack should be no-op from the dotnet cli.

codito avatar Feb 27 '17 00:02 codito

Just FYI, some people do still want to be able to pack their test projects:

https://github.com/dotnet/templating/issues/376#issuecomment-282531196

As long as it can be overridden I imagine they're fine with it.

tintoy avatar Feb 27 '17 00:02 tintoy

Oops, just saw your other reply, never mind :)

tintoy avatar Feb 27 '17 00:02 tintoy

This is being tracked external to this repo here: https://developercommunity.visualstudio.com/content/problem/145934/unit-test-project-templates-should-set-ispackable.html

snkota avatar Nov 07 '17 12:11 snkota