Commit Graph

108 Commits

Author SHA1 Message Date
Ryan Nowak ed17bd549b Update to latest korebuild
Contains a fix to avoid crashing on Roslyn's version format
2017-12-28 13:16:55 -08:00
Nate McMaster 82a68d73de Include the VSIX and MPack files in the bill of materials 2017-12-20 13:52:32 -08:00
Ryan Nowak a3fef5eeaa Adds support for Razor compilation at build-time
This PR adds two new tools as well as a tasks project. None of these
projects produce a package and they ship as part of
Microsoft.AspNetCore.Razor.Design. For now this is a 'fat' package that
contains all of the dependencies, but we plan to strip them out in the
future.

The support for compilation at build-time will start as **off** by
default. The immediate goal here is to get this to flow through the
build so that we can test it as part of the inner loop effort. We will
enable this feature by default once we've done more thorough testing.

Since this is mostly a code dump, I plan to address blocking and minor
feedback only. If there are design issues that are non-critical, I will
open follow up items.

The next step will be to start adding more detailed tests.
2017-12-18 13:01:14 -08:00
Ryan Nowak c0eecc87e7 Add tools and tasks for Razor MSBuild support 2017-12-18 11:19:24 -08:00
N. Taylor Mullen 7234850c9a Update MonoDevelop.Sdk to 1.0.1.
- The update includes properly signed binaries so they can be used in tests.
2017-12-15 16:20:18 -08:00
ASP.NET CI 1c9c05b64d Update dependencies.props
[auto-updated: dependencies]
2017-12-13 21:33:19 +00:00
N. Taylor Mullen b73c50be41 Add Mac implementation of FileChangeTracker.
- Added a LanguageServices Mac test project.
- Added a few tests for the new `DefaultFileChangeTracker`. There's currently an issue with the MonoDevelop.Core binaries we're compiling against which doesn't allow me to unit test other pieces of the class (they depend on instantiating mono develop objects).
- Added IVT from product projects to new mac testing project.

#1789
2017-12-12 15:47:16 -08:00
ASP.NET CI 3ee6426503 Update dependencies.props
[auto-updated: dependencies]
2017-12-10 13:37:33 -08:00
N. Taylor Mullen 37eed518f8 Make VisualStudioRazorParserFactory VisualStudio agnostic.
- Removed the `Microsoft.VisualStudio.Language.IntelliSense` dependency from `Microsoft.VisualStudio.Editor.Razor` because it isn't supported in VS for mac.
- Replaced `ICompletionBroker` usage in the VS agnostic dll with a new abstract type `VisualStudioCompletionBroker`. This also enables us to implement completion
- Added Mac implementation of new `VisualStudioCompletionBroker`.

#1789
2017-12-08 16:34:43 -08:00
N. Taylor Mullen 7ec0e9fb23 Make GenerateMPack target more resilient. 2017-12-05 11:59:42 -08:00
N. Taylor Mullen cd1d57f97b Add MonoDevelop.Core and MonoDevelop.Ide addin dependencies.
- Added the runtime package dependency to allow for proper assembly building.
- Added a new external package source for the MonoDevelop.Sdk.
- Had to change the MPack version to be compliant with VS for mac versioning support.

#1789
2017-12-04 17:35:54 -08:00
Ryan Brandenburg 3da41ae4bb Remove unneeded exclusion 2017-12-04 12:49:33 -08:00
Pranav K ee3bc17559 Specify runtime versions to install 2017-11-29 14:09:29 -08:00
N. Taylor Mullen 182714c324 Move away from WPF text view connection listener.
- Had to add a new NuGet feed to access latest VS bits.
- Updated tests to react to new ITextViewConnectionListener.

#1735
2017-11-28 10:42:35 -08:00
Pranav K ece080466b Replace aspnetcore-ci-dev feed with aspnetcore-dev 2017-11-21 15:53:12 -08:00
Nate McMaster 5acef44685 Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:30:45 -08:00
Pranav K adaa204b06 Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:26 -08:00
Pranav K c61e9b3e84 Preparing to update to 2.2 SDK 2017-11-09 16:45:26 -08:00
Nate McMaster 809dedd40c Preserve DotNetPackageVersionPropsPath when restoring with msbuild.exe 2017-11-08 10:17:50 -08:00
Nate McMaster 4d737af167 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 18:12:08 -07:00
Nate McMaster 6c7551d9c7 Require the Microsoft.VisualStudio.Component.VSSDK workload to be installed 2017-10-30 08:59:20 -07:00
Ryan Nowak 984713c297 Add an opt-out for building the VSIX
Ex:
.\build.cmd /p:BuildVSIX=false
2017-10-20 16:33:38 -07:00
Nate McMaster b064a28dcf Ensure the VSIX project is skipped when executing restore and build from dotnet-cli 2017-10-18 15:10:25 -07:00
N. Taylor Mullen 786f825a3d Change powershell zip procedure to work on earlier versions. 2017-10-02 15:13:59 -07:00
N. Taylor Mullen 88a950d436 Revert "Revert MonoAddin build steps."
This reverts commit 44519485fd.
2017-10-02 11:56:45 -07:00
N. Taylor Mullen 44519485fd Revert MonoAddin build steps. 2017-10-02 11:34:41 -07:00
N. Taylor Mullen 3c73812f8a Revert "Revert "Add Microsoft.MonoDevelop.RazorAddin.""
This reverts commit fa0990fe00.
2017-09-29 17:17:44 -07:00
N. Taylor Mullen fa0990fe00 Revert "Add Microsoft.MonoDevelop.RazorAddin."
This reverts commit fca4f23895.
2017-09-29 17:08:17 -07:00
N. Taylor Mullen fca4f23895 Add Microsoft.MonoDevelop.RazorAddin.
- As part of this work I also added `Microsoft.VisualStudio.Mac.LanguageServices.Razor` to be the Visual Studio for Mac specific Razor code.
- Added MSBuild infrastructure to automate creation of MonoDevelop addins (MPacks). This work enables us to not have a dependency on a specific version of monodevelop and does not require us to have tool-prerequisites on the box. Every build outputs the mpacks into the artifacts/build directory.
- Built in build-level metadata pieces to workaround how addins are typically developed. They are usually authored C# first and then config files are generated after the fact; with this changeset we auto-generate the addin.info and its corresponding assembly attributes. Both of these take information directly from the build system.

#1696
2017-09-29 16:26:50 -07:00
N. Taylor Mullen 6c8286eed7 Split LanguageServices.Razor.
- Created a new `Microsoft.VisualStudio.Editor.Razor` assembly to contain Visual Studio platform agnostic info.
- Added a new `Microsoft.VisualStudio.Editor.Razor.Test.Common` project to be the centerfold for all VisualStudio agnostic test pieces.
- Added a `Microsoft.VisualStudio.Editor.Razor.Test` project and pulled in LanguageService test files into the the Editor.Razor.Test project to correspond to their movement in the src project.

#1690
2017-09-29 16:26:50 -07:00
Nate McMaster 39c190aa0d Preserve the build number when building the VSIX (#1702) 2017-09-27 16:25:16 -07:00
Nate McMaster 471722eba1 Use PackageLineup to manage PackageReference versions
This uses a feature of KoreBuild which will select PackageReference
versions based on a lineup file. This helps unify versions between repos
and helps us ensure we are consistent across multiple components.
2017-08-25 15:44:05 -07:00
Nate McMaster 4094e8b8f3 Use PackageReference instead of project.json in the VSIX project (#1642) 2017-08-24 09:30:29 -07:00
Nate McMaster 0c3fff3137 Upgrade to xunit 2.3.0-beta4 (#1640)
Includes a few changes required by xunit.analyzers, such as removing unused theory parameters.
2017-08-23 12:56:31 -07:00
Nate McMaster 4cadee2762 Use Directory.Build.props/targets (#1641) 2017-08-23 12:24:57 -07:00
Ajay Bhargav Baaskaran bf63704547 Renamed solutions 2017-08-18 11:46:38 -07:00
Ajay Bhargav Baaskaran 4fcad1548e Added support for multitargeting
- Added 1_X src project for multitargeting

- Added 1_X test project for multitargeting

- Added 1_X test MvcShim for multitargeting

- Make section directive generate the correct code the appropriate version

- Added another sln
2017-08-04 15:39:18 -07:00
Nate McMaster 81c596ae58 Update bootstrappers to use the compiled version of KoreBuild
[ci skip]
2017-07-25 16:34:22 -07:00
Pranav K b32db148ea Updating to InternalAspNetCoreSdkVersion 2.1.1-* 2017-07-25 15:14:33 -07:00
Ryan Brandenburg a509de0eb5 Set AspNetCoreVersion 2017-07-24 17:58:18 -07:00
Mike Harder b0fa49b9e1 Comment to re-enable package downgrade warnings (#1578) 2017-07-20 13:45:41 -07:00
Mike Harder 8ff9ef7b4c Merge branch 'dev' into rel/2.0.0 2017-07-20 10:55:23 -07:00
Mike Harder c02d701e6e Update Roslyn to 2.3.1 (#1574) 2017-07-20 10:48:42 -07:00
N. Taylor Mullen 8fac9141d8 Revert Roslyn dev dependency increase.
- This is needed for the Razor editor to work inside of VS. Once a version of VS is published that supports 2.6 + then we can undo this change.
2017-07-19 09:56:51 -07:00
Pranav K 6c7859bfba Generate full pdbs for desktop packages
Fixes #1548
2017-07-19 09:39:45 -07:00
Pranav K c812f9d885 Update to RoslynDev 2.6.0-* packages 2017-07-12 14:06:43 -07:00
Pranav K 8a51fdb39d Revert "Update to Roslyn 2.3.0"
This reverts commit dbf57b9268.
2017-07-12 09:04:27 -07:00
Pranav K dbf57b9268 Update to Roslyn 2.3.0 2017-07-12 08:00:50 -07:00
Mike Harder 01fe818dcd Update dependencies to match Visual Studio 15.3 (#1534) 2017-07-11 16:34:32 -07:00
Mike Harder aebb841e41 Upgrade Roslyn to 2.3.0-beta4-* (#1533) 2017-07-10 17:28:23 -07:00