Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Matt Mitchell ca91065e45
Switch to new VMR control schema. (#10883)
Now that razor is on .NET 9 arcade, it can switch over to the new control schema. For this repo, this is roughly:
- DotNetBuildFromSource -> DotNetBuildSourceOnly - Building a source-only build.
- DotnetBuildFromSourceFlavor == Product -> DotNetBuildOrchestrator == true - Building in the VMR, could be source-only or MS's build.
- ArcadeBuildFromSource -> DotNetBuildRepo == true -> Indicates an outer repo build.
2024-09-13 17:32:10 +00:00
Jan Jones 120997fa75
Remove toolset compiler workaround (#10876) 2024-09-13 10:27:34 +02:00
Jared Parsons cd1f82be21
Move to central package pinning (#10716)
* Move to central package pinning

This should make it much easier for us to respond to CG alerts in the
future. All that will need to be done is add an entry in
Directory.Packages.props and it will automatically impact all consumers
of it.

Consider this example in Roslyn for how to respond to a CG issue

https://github.com/dotnet/roslyn/pull/74653
2024-08-09 15:26:39 -07:00
dotnet-maestro[bot] 068df13f6c
[main] Update dependencies from dotnet/arcade (#10590)
* Update dependencies from https://github.com/dotnet/arcade build 20240702.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24352.1 -> To Version 9.0.0-beta.24352.2

* Install .NET 8 runtime

* Update dependencies from https://github.com/dotnet/arcade build 20240702.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24352.1 -> To Version 9.0.0-beta.24352.2

* Disable BuildWithNetFrameworkHostedCompiler

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jan Jones <janjones@microsoft.com>
2024-07-09 11:51:59 +02:00
Dustin Campbell 9b5c9fbd83 Add Moq public key value in Directory.Build.props 2024-07-02 15:45:35 -07:00
Jared Parsons 8a58a74956
Revert "Revert "Move to Central Package Management"" (#10235)
* Revert "Revert "Move to Central Package Management (#10215)" (#10227)"

This reverts commit d7dd436243.

* CPM fix 1
2024-04-07 08:21:46 +10:00
Jared Parsons d7dd436243
Revert "Move to Central Package Management (#10215)" (#10227)
This reverts commit c68a6bdbc7.
2024-04-05 09:50:12 -07:00
Jared Parsons c68a6bdbc7
Move to Central Package Management (#10215)
This change moves us to central package management.
2024-04-04 13:43:31 -07:00
Phil Allen c46ec54964
Stop building no longer shipping net7 build (#10203)
Stop building no longer shipping net7 build

With the move for rzls to publish net8 binaries, we no longer use our net7 build.  Remove the TFM from our builds (should speed CI builds)
2024-04-03 17:41:24 +00:00
Dustin Campbell 1809623318 A bit more clean up and add project to Razor.Slim.slnf 2023-11-15 15:54:36 -08:00
Allison Chou b44d0a906d
Remove yarn + npm + Python from Razor (#9471) 2023-10-25 23:16:16 +00:00
David Wengier 87614ae8c6 Remove VS Mac specific code 2023-09-13 09:37:40 +10:00
Dustin Campbell fe05138cae Add test project for ExternalAccess.LegacyEditor 2023-06-20 15:05:28 -07:00
Dustin Campbell b82d9a1060 Add ExternalAccess package for the legacy ASP .NET Core editor 2023-06-16 10:54:27 -07:00
Fred Silberberg 13840b2ceb
Add Microsoft.Net.Compilers.Razor.Toolset (#8735)
Similar to the Microsoft.Net.Compilers.Toolset package that we use in roslyn, this nuget package will override the generators used by a project, replacing them with the specific versions from this package. The purpose of this package is to allow shipping hotfixes to customers directly in a simple manner, without having to ask them to manually do a bunch of msbuild magic or replacing existing dlls. It may be helpful to reference the targets that add the razor generators to the compilation in the first place when reviewing: https://github.com/dotnet/sdk/blob/main/src/RazorSdk/Targets/Microsoft.NET.Sdk.Razor.SourceGenerators.targets#L15.
2023-06-09 21:33:52 +00:00
Michael Simons 7d49e8ab10
Refactor SB TFM logic to account for multiple branch dependents (#8798) 2023-06-05 09:47:50 -07:00
Matt Thalman 9abeb28241
Disable targeting Windows for source-build (#8376) 2023-03-03 10:24:42 -08:00
Fred Silberberg 68aa77542a
Turn on windows targeting (#8237)
Allows linux machines to build the complete solution, without errors about WPF frameworks being missing.
2023-02-07 13:15:42 -08:00
David Wengier b2d15be01c
Merge pull request #8092 from davidwengier/WarningsAsErrors 2023-01-12 10:37:31 +11:00
Fred Silberberg fcae93171c
Update file encoding to UTF-8 with BOM (#8099)
Since integrating our repos, there have been a number of changes in PRs that touch the encoding of the file, adding or removing a BOM as the editor in question decides. I've standardized on UTF-8 with BOM, as we do in roslyn, and put it in the .gitattributes so it should hopefully stay consistent.
2023-01-10 01:57:58 +00:00
David Wengier eb9d3cc867 Warnings as errors only in CI 2023-01-09 14:24:32 +11:00
Chris Sienkiewicz b1ae68ef62
Disable source build by default, and opt in instead (#8019)
* Add sln filter for source build

* Use ExcludeSourceBuild instead

* Put the correct default in 🤦‍♂️

* Don't include npm targets when all targets are suppressed

* Don't override arcade for test projects when building from source

* Use default source build jobs now we don't need node
2022-12-14 21:05:57 -08:00
Dustin Campbell 1a8c96f010 Update docs and add an explanatory comment 2022-11-10 12:16:43 -08:00
Chris Sienkiewicz 15c2cba70e Merge branch 'main' into features/the-merge 2022-10-03 11:20:14 -07:00
Dustin Campbell 55c6b60806 Link the same IsExternalInit.cs into every project rather than copying it 2022-09-07 15:54:45 -07:00
Chris Sienkiewicz d477c5b5cc Seperate out Directory.Build.* for compiler and tooling where needed 2022-08-29 12:00:21 -07:00
Chris Sienkiewicz 108a63cffc Perform merges 2022-08-29 11:58:01 -07:00
N. Taylor Mullen 6a237b42a3
Publish symbols with default arcade settings. (#6671)
- Arcade by default does the right thing supposedly for projects & publishing symbols. We were holistically swapping debug types / setting if we should publish windows pdbs. Arcade now supports all of this by default so this is an attempt at resolving #6239 in hopes that arcade does the right thing.
2022-08-01 16:11:15 -07:00
N. Taylor Mullen f00cb1a99c Update third party notices.
- Updated repo NOTICE.txt to mention latest third party components.
- Removed individual component NOTICE.txt files. Instead all platforms now ship the same NOTICE.txt so we don't need to keep updating it everywhere.
- Added NOTICE.txt to Razor langauge server
- Added NOTICE.txt to Razor addin

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1531325
2022-06-10 09:35:31 -07:00
Ryan Brandenburg d8bf92b787
Turn on warnings as errors (#6320) 2022-04-28 13:27:10 -07:00
David Wengier 4a072ba475 Use latest roslyn compiler 2022-03-10 09:59:13 +11:00
Sam Harwell 512d369c02 Enable nullable reference types in solution (preserve all current semantics) 2021-12-07 14:38:00 -08:00
N. Taylor Mullen f70acbcdd2 Fix build break.
- We no longer track the Roslyn compiler separate from Arcade. This means we can have the latest C# features earlier when Arcade updates.
- Removed `<LangVersion>` specifications because we can rely on `Latest` everywhere now.
2021-08-09 10:16:56 -07:00
N. Taylor Mullen 08353b0c92 Move to MIT license.
- Updated .editorconfig so new files have appropriate MIT license attached.
- Updated MSBuild license expression MSBuild info
- Updated License
- Did a find and replace on all other source files for `Apache License, Version 2.0` -> `MIT license`

Fixes dotnet/aspnetcore#34960
2021-08-04 20:08:09 -07:00
Sam Harwell d5f5c9bf7e Install Roslyn.Diagnostics.Analyzers 2021-02-08 17:21:36 -08:00
Sam Harwell ff0ca3288d Update to the latest code analysis packages
* Microsoft.CodeAnalysis.Analyzers 3.3.2
* Microsoft.CodeAnalysis.NetAnalyzers 5.0.3
* Microsoft.CodeAnalysis.BannedApiAnalyzers 3.3.2
2021-02-08 14:52:04 -08:00
Sam Harwell aaa5d08256 Always generate documentation files 2021-02-05 10:47:02 -08:00
Sam Harwell de84e8b61e Move Microsoft.AspNetCore.Razor.Basic.ruleset to globalconfig 2021-02-05 10:47:02 -08:00
Sam Harwell 5e7c988ddb Install Microsoft.CodeAnalysis.BannedApiAnalyzers 2021-02-01 16:34:32 -08:00
Doug Bunting 60cc307de8
Add `[AssemblyMetadata("Serviceable", "true")]` to all assemblies (#2696)
- dotnet/aspnetcore#18930
- also remove leftover NU5048 suppression; Arcade adds the icon for us
2020-11-04 17:19:41 -08:00
dotnet-maestro[bot] 2f299e5322
[master] Update dependencies from dotnet/arcade dotnet/aspnetcore (#2658)
[master] Update dependencies from dotnet/arcade dotnet/aspnetcore
- Coherency Updates:
  - Microsoft.Extensions.Configuration.Json: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.Extensions.Logging: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - System.Diagnostics.DiagnosticSource: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - System.Resources.Extensions: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - System.Text.Encodings.Web: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.Extensions.DependencyModel: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.NETCore.App.Ref: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.NETCore.App.Internal: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)
  - Microsoft.NETCore.Platforms: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor)

 - Merge branch 'master' into darc-master-7f5d6927-fec8-4156-805b-6521c68ceb00

 - Transplant BenchmarkRunner sources from dotnet/aspnetcore

 - Update BenchmarkDotnet package version

- latest version on NuGet.org
- also what we're using in dotnet/aspnetcore
- compatible with transferred `BenchmarkRunner` sources
2020-10-27 18:19:50 +00:00
Ryan Brandenburg 73f8402092
NetCore Analyzers (#2206)
NetCore Analyzers
2020-08-04 14:20:34 -07:00
Kevin Pilch fae9a5fdbc
Update links for repo moves/renames (#1474) 2020-01-08 16:51:55 -08:00
William Godbe a0b7461a65
Merge branch 'master' into merge/release/3.1-to-master 2019-11-22 12:53:28 -08:00
William Godbe 7e480a52e3
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-11-22 11:12:31 -08:00
William Godbe e37c190d7d Switch to Arcade model for PackageIcon (#1325)
* Update dependencies from Arcade
* Switch to dotnet-eng
2019-11-20 19:27:17 -08:00
Doug Bunting 2fa0cbe4a9
Merge branch 'master' into merge/release/3.1-to-master 2019-10-05 22:03:05 -07:00
Ryan Nowak 3f86961baa Add workaround for microsoft/msbuild#4764
Without this change we get lots of errors related to duplicate resource
ids.
2019-10-04 13:46:01 -07:00
wtgodbe fba50fdcd4 Switch to embedded package icon 2019-10-02 12:56:34 -07:00
wtgodbe 2aee3e23bb Switch to embedded PackageIcon 2019-09-24 13:19:08 -07:00