-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test project templates #201
Comments
@eerhardt @livarcocc @piotrpMSFT @srivatsn thoughts? |
@codito We discussed this today and we believe that the best approach is to go the console app approach. |
Since we are going with the console app approach, we should generate the entry point through the targets I think and not require the templates to have a dummy main method. |
This is done. |
This was referenced Dec 15, 2016
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(This issue is a discussion follow up to the initial PR for test templates).
Following are the requirements for the test template:
runtimeconfig.*.json
on build. This is required for thedotnet vstest
anddotnet test3
commands to setup the--additionalProbingPath
for dotnet exec so that nuget references are resolved.Microsoft.TestPlatform.TestHost
nuget package).If we choose a
Console App
based project template, (4) may need work.If we choose a
Class Library
based project template, (4) is met, but 1,3 may need work.Notes
(1) was supported with a special check in older project model (see Microsoft.Dotnet.ProjectModel).
(4) was supported with
emitEntryPoint: false
in project.json.The text was updated successfully, but these errors were encountered: