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

59 Коммитов

Автор SHA1 Сообщение Дата
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
N. Taylor Mullen 3eeb3ff068 Merge branch 'release/3.1' 2019-09-20 15:21:07 -07:00
N. Taylor Mullen e980416506 Merge branch 'nimullen/13494.prereq' into release/3.1 2019-09-20 11:46:12 -07:00
N. Taylor Mullen dddbc14893 Add support for npmproj.
- In preparation for merging the Razor VSCode extension I've added support for npmproj files. I tried to maintain the same functionality that AspNetCore offers for its npmproj support.
- Added an extra `--ignore-engines` check to `yarn install` in preparation for VSCode's extension model. They expect there to be a vscode engine in the package.json that yarn doesn't understand.

aspnet/AspNetCore#13494
2019-09-20 11:44:08 -07:00
John Luo d7300df3e4 Ignore NU5048 warnings to unblock 2019-09-18 16:27:54 -07:00
John Luo 133b252f09
Support netcoreapp3.1 TFM (#1122)
* Support netcoreapp3.1 TFM

* Update branding to preview1

* Skip failing 1.1 test
2019-09-12 22:02:18 -07:00