-
Notifications
You must be signed in to change notification settings - Fork 45
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
Improve the "new experiment" experience #127
Comments
In #126 I've added the library project to be a reference in the test project. I think that covers your 5th bullet? |
For reference, I have created the following related discussions in the dotnet/templating repo while investigating this issue. |
Even if we included such a file, it's not possible to specify that the file should be opened by default when the solution is opened. (It would be if using the new project wizard in VS, but not when generating from the command line.) Instead, I think it better to add more details to https://github.com/CommunityToolkit/Labs-Windows/blob/main/template/README.md |
* Test projects to reference the project with the experiment code Duplicated change with #126 * Update the displayed template name * Increase the namespaces referenced in the example test file This list is based on what's most commonly used in existing toolkit tests. * Make internal classes visible to all test projects For #127 * set type to "solution" as per dotnet/templating#4771 * Add more info about a created solution for a new experiment For #127 * Don't include the labexp template in VS it doesn't work there * Update template/README.md Co-authored-by: Arlo <arlo.godfrey@outlook.com> * Update template/README.md Co-authored-by: Arlo <arlo.godfrey@outlook.com> * Update template/README.md Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com> * Update template/README.md Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com> * Update template/README.md Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com> * Update template/README.md Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com> * Revert "Test projects to reference the project with the experiment code" This reverts commit 5dccf8a. * Update example test to reference the code being developed & to use a naming convention better matched to the wider toolkit convention * increase the number of namespaces included by default in the generated code This is to reduce the effort required to begin work on an experiment. * add placeholders and TODO notes for including links to relevant discussion & issue * update new experiment doc to reflect changes in solution structure Co-authored-by: Arlo <arlo.godfrey@outlook.com> Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
See also microsoft/microsoft-ui-xaml#7206 |
As a result of creating a number of new experiments and copying over existing code from the toolkit, I propose the following changes:
InternalsVisibleTo
references in the generated code to all test projects. The local ones and the "all" solution. This is because lots of the existing tests in the main toolkit rely on this approach and doing this is going to be simpler than setting rules about not using internals in experiments as these would need to be changed when promoting from labs.The text was updated successfully, but these errors were encountered: