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
Nate McMaster
ed28b1671b
Remove redundant configurations and csproj attribute
2017-02-09 13:44:15 -08:00
Pranav K
64d4b1da0c
Add an option to disable publishing "refs" assemblies if compilation of views is enabled
...
Fixes #76
2017-02-07 12:39:48 -08:00
Pranav K
01366e5855
Update to Mvc 1.1.1
2017-02-07 09:21:25 -08:00
Pranav K
57e7f35fab
ViewCompilation 1.1.0-msbuild3-final does not work with Microsoft.AspNetCore.Mvc 1.1.1
...
Fixes #78
2017-02-07 09:21:25 -08:00
Pranav K
07f3b7b699
Simplify packing
2017-02-02 15:29:05 -08:00
Pranav K
a731e373b9
Merge branch 'rel/1.1.0' into dev
2017-02-01 18:19:21 -08:00
Ryan Nowak
9dbc119ed1
Update View Compilation for new Razor
2017-01-30 14:07:02 -08:00
Pranav K
2276c9eafe
Include file names as part of printing Razor parse errors
...
Fixes #67
2017-01-27 12:32:32 -08:00
Pranav K
8f085c8e5d
Create an x86 process to target 32-bit applications
...
Fixes #47
2017-01-25 17:46:26 -08:00
Pranav K
32cd737b62
Update to VS RC3
2017-01-24 14:17:53 -08:00
Pranav K
864dd694e0
Use a branch that lets us produce packages with a specific build number
2017-01-23 13:54:41 -08:00
Pranav K
501540c76e
Use the list of Content files specified in the project as a source
...
Fixes #59
2017-01-23 11:38:48 -08:00
Pranav K
c1ef1e533f
Consolidate options to a single file
2017-01-23 11:38:33 -08:00