Commit Graph

31 Commits

Author SHA1 Message Date
Nate McMaster 26833a02b1
Remove DotNetCliToolReference to dotnet-user-secrets (#212) 2017-12-29 14:27:31 -08:00
Javier Calvarro Nelson 5325c65b88 Replace identity code with built-in version on the templates 2017-12-29 11:45:10 -08:00
Jass Bagga 886a985726 Target netcoreapp2.1 2017-12-28 17:01:30 -08:00
Javier Calvarro Nelson 23afcab66c Update Korebuild and include shared runtime package 2017-12-28 17:01:30 -08:00
Nate McMaster 54a989bc29 Upgrade to build tools 2.1.0-preview1-15651 2017-12-28 16:07:17 -08:00
Javier Calvarro Nelson 4d2e642b94 Add launchSettings.json by default to our templates
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
    * Prefix all our test projects with AspNet.Template to allow easy
      killing of orphaned processes.
    * Setup an HTTPS certificate automatically for use with tests in the
      same way our tooling does it on customers machines.
    * Switch from OS selected ports to randomly selected ports. This is
      required as we need to know the port to use for HTTPS.
    * Allow disabling browser automation through an environment variable.
    * Setup Firefox to allow untrusted certificates when using Selenium.
    * Allow running Selenium tests on firefox by setting an environment
      variable.
2017-12-08 13:08:36 -08:00
Pranav K d890c2de2f Specify runtime versions to install 2017-11-29 14:09:31 -08:00
Pranav K dd8aef8699 Replace aspnetcore-ci-dev feed with aspnetcore-dev 2017-11-21 15:49:08 -08:00
Steve Sanderson 76cb441a8e On test completion, kill the ASP.NET process tree (otherwise orphan processes are left behind) 2017-11-20 23:03:44 +00:00
Steve Sanderson f79fa6e110 Remove remaining references to HttpsPolicy until it's ready 2017-11-20 10:13:24 +00:00
Steve Sanderson 1247466f5e Upgrade dependencies 2017-11-20 09:45:07 +00:00
Pranav K 386f7f5b12 Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:26 -08:00
Steve Sanderson 5bd38028f4 Upgrade dependencies.props 2017-11-16 13:57:54 +00:00
Justin Kotalik 726da0f11f
Fix HttpsPolicy dependency for full framework (#151) 2017-11-14 11:59:41 -08:00
Nate McMaster 0051c81c96 Upgrade dependencies 2017-11-09 17:12:03 -08:00
Nate McMaster aee0d26d67 Merge build infrastructure changes from rel/2.0.3
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Nate McMaster 1ffcf2c009 Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
2017-11-06 10:19:59 -08:00
Nate McMaster 158e9d572b Upgrade selenium dependencies to support Windows Fall Creator Update 2017-10-31 09:42:35 -07:00
Nate McMaster a7f5459608 Update dependencies and build tool versions 2017-10-30 15:49:11 -07:00
Nate McMaster 4a897d69bc Update build tools to 2.0.2-rc1-15526 and dependencies to 2.0.1-rtm-105 2017-10-13 13:13:08 -07:00
Nate McMaster 5541615008 Automate dependency version selection
- Generate the template config file to include package versions as listed in dependencies.props
 - Update template cs/fsproj files to use variables per package
 - Fixup tests to run better on Linux/macOS
2017-10-12 16:44:55 -07:00
Nate McMaster 4d9bacd3f1 Update build scripts and targets to use 2.0.x build tools 2017-10-12 14:09:16 -07:00
Steve Sanderson 1158ffb3f0 Fix paths for task that only runs in CI 2017-09-26 12:44:55 +01:00
Steve Sanderson 1bf9e05dfd Add MSBuild task for creating/updating pull requests 2017-09-26 12:08:25 +01:00
Steve Sanderson 1f596e127b When the CI system supplies a .deps dir, use that as the lineups/packages resource source 2017-09-12 11:23:22 +01:00
Steve Sanderson dca24eb5cc Add build target for publishing NuGet packages 2017-09-08 16:24:51 +01:00
Steve Sanderson 2fa1fe8ce2 Fix build output so that versioned packages go into the correct directory when run through KoreBuild 2017-09-08 15:24:15 +01:00
Steve Sanderson 1255418146 Modernize build system (use Directory.Build.* and KoreBuild lineups) 2017-08-30 14:46:37 +01:00
Steve Sanderson 58211f89c7 Begin adding regular Xunit test project like other ASP.NET repos 2017-08-29 17:48:50 +01:00
Steve Sanderson bb5420dc5e Add .sln file and Template.csproj that builds all the template packages 2017-08-29 17:48:49 +01:00
Steve Sanderson 175457a03a Make build/boilerplate files consistent with other ASP.NET repos 2017-08-29 17:41:15 +01:00