Commit Graph

68 Commits

Author SHA1 Message Date
Nate McMaster 996af7ccdc
Add certificate names for code signing 2018-06-05 22:34:06 -07:00
Nate McMaster 4eda3c378c
Merge branch 'release/2.1' into dev 2018-05-29 14:41:09 -07:00
Nate McMaster 0f12047271
Fix dependency versions for Hosting and Mvc.RazorPages 2018-05-29 14:27:47 -07:00
Pranav K 94e0ecca73 Compiling a 2.1.0 project targeting desktop with a reference to the ViewCompilation package produces a warning about mismatch in architectures
Fixes #270
2018-05-24 16:19:26 -07:00
Ajay Bhargav Baaskaran 2a10e6fe1d Added nuspec file for Mvc.Razor.ViewCompilation to include symbols 2018-04-20 15:26:34 -07:00
Pranav K 62881a2cc4 Disable APICheck on precompilation to workaround failure 2018-03-27 16:54:27 -07:00
Pranav K ad724f6b0a
Use x64 binaries when project's targeting AnyCPU (#255)
* Use x64 binaries when project's targeting AnyCPU

Fixes https://github.com/aspnet/MvcPrecompilation/issues/240
2018-03-27 12:27:46 -07:00
Ryan Brandenburg 9e7291d18d Set 2.0 baselines 2018-03-20 13:34:12 -07:00
Pranav K 5cb31f6082 Hardcode extension .PrecompiledViews 2018-03-16 16:19:49 -07:00
Ryan Nowak e64954c9c7 Undo compatibility error messages
We're going another way with Razor SDK interop. The Web SDK
will make a choice whether to enable MvcPrecompilation or RazorSDK, and
the Razor SDK will support all of the settings from MvcPrecompilation.
2018-01-22 15:50:31 -08:00
Ryan Nowak 3a0fa2de36 Update to handle changes from Web SDK
The Web SDK is adding new properties that will make it clear whether
MvcPrecompilation or Razor SDK should be used. This change introduces
the new setting and a workaround until we can get the new SDK
integrated.
2018-01-18 19:28:11 -08:00
Ryan Nowak 9f5d51656a Fix check for use of compile items
This check was wrong, and since it runs after properties are evaluated,
we can use the results from evaulating properties to fix it.
2018-01-18 11:29:58 -08:00
Ryan Nowak 2c5641829f Add support and tests for Razor SDK interop 2018-01-17 08:37:27 -08:00
Pranav K 36674b5d24 Fix failing tests
* Specify RIDs for SimpleApp
* Default to the RID \ PlatformTarget that the SDK chooses (viz win7-x86 for .NET Framework)
* Default Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj to win7-x86 and remove extraneous project
  under the tools directory to simplify the build.
2017-11-07 17:33:39 -08:00
Nate McMaster 976ddc2ef8 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 18:05:30 -07:00
Pranav K 311c52b12e Honor CopyBuildOutputToPublishDirectory and CopyOutputSymbolsToPublishDirectory switches
Fixes #204
2017-09-26 13:12:26 -07:00
Pranav K daec40f2ba Add support for cross-publishing
Fixes #102
2017-08-31 16:07:12 -07:00
Nate McMaster 28172a3a3e Use PackageLineup to manage PackageReference versions 2017-08-29 14:50:54 -07:00
Nate McMaster 54a5b4734f Use Directory.Build.props/targets 2017-08-29 14:17:25 -07:00
Pranav K 98b9a4bf7f Don't run the precompilation tool when publishing with a RID 2017-07-19 10:26:48 -07:00
Pranav K 73b5e2fd70 Don't invoke GetDotNetHost task from desktop msbuild. (#163)
* Don't invoke GetDotNetHost task from desktop msbuild.

Fixes https://github.com/aspnet/MvcPrecompilation/issues/161
2017-07-06 15:03:38 -07:00
Nate McMaster 1f02768ddd Remove dependency on Microsoft.NETCore.App from the generated nuspec (#160) 2017-07-03 09:22:10 -07:00
Pranav K 8d095d3af6 Unwrap inner exceptions for AggregateExceptions 2017-06-20 21:39:35 -07:00
Pranav K 5834660081 Fix issues with adding desktop reference.
* Add the reference only if precompilation is enabled.
* Make the reference Private. We don't want it to be copied locally to the output
2017-06-20 21:39:35 -07:00
Pranav K e0e74462ba Fix warnings in tests from adding assembly references that don't exist 2017-06-20 10:59:35 -07:00
Pranav K fe4cc976b9 Use MuxerPath to determine location to dotnet.exe
Fixes $50
2017-06-20 10:59:35 -07:00
Pranav K 3cc8a09bcb Don't attemmpt to build win7 binaries on xplat
Cherry-pick commit that was missed in rebase
2017-06-19 15:03:50 -07:00
Pranav K 942c677563 Move binaries in to the build folder 2017-06-19 14:03:20 -07:00
Pranav K 900f38b0c2 Copy precompiled pdb to publish directory
Fixes #98
2017-06-19 12:27:21 -07:00
Pranav K 06db90cbfa Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-15 10:39:58 -07:00
N. Taylor Mullen 4b1f5f24da Add netcoreapp2.0 runtime targets.
- By default the netcoreapp2.0 runtime targets wil not be chosen. This is intended to ensure runtime targets do not fallback to net461 when targeting netcoreapp2.0.

#142
2017-06-14 09:56:26 -07:00
Pranav K 9121754d5b Remove use of CompiledViewManfiest 2017-06-09 10:41:55 -07:00
Pranav K 60d47561b9 Remove manifest generation 2017-06-08 16:13:22 -07:00
N. Taylor Mullen 289a87f7c8 Manually construct the precompilation nupkg.
- We needed to manually construct the precompilation nupkg in order for the tool to work in 32 and 64 bitness OS'.
2017-06-06 15:55:50 -07:00
N. Taylor Mullen 265c980c2b Manually construct the precompilation nupkg.
- We needed to manually construct the precompilation nupkg in order for the tool to work in 32 and 64 bitness OS'.
2017-06-06 11:47:12 -07:00
Pranav K b9e397ed3b Temporarily workaround TryGetPageDirective returning null instead of empty string. 2017-06-05 17:20:57 -07:00
N. Taylor Mullen 6e88ea9429 Add support for pre-compiling desktop applications.
#128
2017-05-30 22:41:06 -07:00
Pranav K 7f4aa60a45 Add support for precompiling RazorPages 2017-04-19 11:27:56 -07:00
Kiran Challa d4d0e28f0e Updated ViewCompilation project to netcoreapp2.0 2017-04-18 12:14:59 -07:00
N. Taylor Mullen 885792e16b React to Microsoft.AspNetCore.Razor.Evolution => Microsoft.AspNetCore.Razor.Language.
aspnet/Razor#1169
2017-04-10 10:20:34 -07:00
Ryan Brandenburg 300135969f Fix build break 2017-03-30 11:23:53 -07:00
Nate McMaster fd3ffa7ed1
React to aspnet/Common#205 2017-03-21 16:41:31 -07:00
Nate McMaster de201a544f Unify dependencies versions to one file and remove workarounds 2017-03-15 16:39:35 -07:00
Pranav K 9231dbda4f Reacting to Mvc changes 2017-03-13 18:18:03 -07:00
Pranav K 7d7ecf3a1b Make precompilation tests use project reference instead of package reference
Fixes #95
2017-03-13 11:05:25 -07:00
Pranav K 1026198b9b Remove net451 targets 2017-02-21 21:50:41 -08:00
Ajay Bhargav Baaskaran c4a9247f87 React to razor 2017-02-19 14:22:38 -08:00
Roderic Bos 3c14472bf2 Updated common.targets to use AssemblyName instead of MSBuildProjectName so renaming output assembly from csproj works
Fixes https://github.com/aspnet/Mvc/issues/5780
2017-02-16 14:56:28 -08:00
Nate McMaster 95cf0f48ff
Downgrade to stable packages 2017-02-14 16:15:35 -08:00
Pranav K 8b410c5899 Merge branch 'rel/1.1.0' into dev 2017-02-14 09:57:33 -08:00