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

12 Коммитов

Автор SHA1 Сообщение Дата
Sébastien Ros 38fe7dd594
Suggest git clean in Build Errors (#55964) 2024-05-30 09:11:21 -07:00
Giovanni Braconi 5667fa6aa4
Fix typos in BuildErrors.md (#55397) 2024-04-27 17:57:37 -07:00
William Godbe 4161f16141
Update BuildErrors.md (#49527)
* Update BuildErrors.md

* Update BuildErrors.md
2023-07-19 22:49:48 -07:00
Dan Moseley 1fbe264736
enable markdown linter (#49254) 2023-07-07 08:05:11 -05:00
Anthony Tossell c37ee916d1
Changed docs.microsoft.com links to learn.microsoft.com Issue: #44175 (#46206)
Updated links from microsoft.docs.* to microsoft.learn.*
- fixes #44175
- also remove version info from the URIs
2023-01-24 02:07:15 +00:00
Safia Abdalla e547489a69
Cover C++ installation issue in BuildErrors (#45521) 2022-12-12 09:47:15 -08:00
Martin Costello b33ef8f3c2
Add build troubleshooting suggestion (#36178)
* Add troubleshooting suggestion

Add a note about deleting SDK and tools locally if restore.cmd fails.

* Move content to BuildErrors.md

Move the content to a catch-all "Miscellaneous other errors" section.

* Update docs/BuildErrors.md

Co-authored-by: Safia Abdalla <safia@safia.rocks>
2021-09-09 01:39:00 +00:00
Volodymyr S 90c3c97c8d
CodeCheck script message and doc update (#34693)
* Removed non existing doc reference

* BuildErrors doc update

* Update docs/BuildErrors.md

Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2021-07-25 19:07:02 +00:00
Doug Bunting 5fd1db2625
Further centralize shared Fx and TFM transition workarounds (#27473)
* Further centralize shared Fx and TFM transition workarounds
  - make generated `Directory.Build.*` files more widely applicable
    - warn if requested Microsoft.AspNetCore.App version does not exist in `$(DOTNET_ROOT)`
    - add `$(UpdateAspNetCoreKnownFramework)` for Microsoft.AspNetCore.App `@(KnownFrameworkReference)` update
    - remove central `$(BuildingTestAppsIndependently)` special case
      - not needed because compiler toolset version is always available
    - correct `$(KnownAppHostPackOrFrameworkReferenceTfm)` when not targeting the default TFM
      - use MSBuild intrinsic functions for this and in framework projects; future-proofing
    - correct `@(KnownFrameworkReference)` metadata when in servicing
       - should not override default runtime and targeting pack versions
  - use generated `Directory.Build.*` files in regular build
    - remove now-duplicate property and item settings outside generated `Directory.Build.*` files
  - use generated `Directory.Build.*` files for local Razor tests
    - set `$(TargetLatestRuntimePatch)` instead of `$(RuntimeFrameworkVersion)`; simpler
    - do not restore Razor SDK test asset projects until just before tests run
    - depend on Microsoft.AspNetCore.App projects
    - disable `$(TreatWarningsAsErrors)` for a few Razor SDK tests
      - tests expect projects to build successfully despite a few warnings
  - improve (widen) Microsoft.AspNetCore.App `Condition` in Blazor SDK tests

nit: do not pass `$(MicrosoftNetCompilersToolsetVersion)` into Razor test asset projects
  - not needed because generated files already contain the right information
  - even without that, the Directory.Build.props file imports eng/Versions.props

* Use generated `Directory.Build.*` files for local template tests
  - move Infrastructure/ files to TestInfrastructure/
    - Infrastructure/ sub-directories were functionally identical
  - move shared parts of template test project files to PrepareForTest.targets

* Describe errors with missing generated files and the new warning in BuildFromSource.md
  - address numerous Markdown lint warnings, typos, and spelling mistakes in this file

* Apply suggestions from code review
  - thanks @captainsafia

* Move all troubleshooting information into BuildErrors.md
  - some was already duplicated
  - fix Markdown lint issues in BuildErrors.md too

* Reorder App.Runtime build slightly
  - move `_InstallFrameworkIntoLocalDotNet` earlier because other builds depend on this part
    - this target sometimes executes after dependent projects continue
  - add `DependsOnTargets` attributes to further constrain ordering

nit: `IncludeFrameworkListFile` should run before `_ResolveSharedFrameworkContent`

* Add temporary workaround for `[AssemblyVersion]` changes

* Address @wtgodbe's nit from #27653
  - https://github.com/dotnet/aspnetcore/pull/27653#pullrequestreview-529368502

Co-authored-by: Safia Abdalla <safia@microsoft.com>
2020-12-02 22:50:09 -08:00
Wouter Huysentruit 7a496ec162 Add common error 'Unable to locate the .NET Core SDK' to Build.Errors.md and BuildFromSource.md (closes #3035) 2019-07-24 22:58:02 -07:00
Nate McMaster dc90e11c7a
Move obj and bin directories into repo root (#10063)
The Arcade SDK requires that the obj/ and bin/ folders be placed in the top-level artifacts/ folder of the repo. Although this PR does not complete our Arcade convergence, this is a step towards updating our repo to build with the Arcade SDK.

Changes:
* Set output path for build to artifacts/bin/$(ProjectName)/ 
* Set intermediate output path for build to artifacts/obj/$(ProjectName)/
* Cleanup .gitignore files (remove duplication between repo-root and tested gitignore files)
* Add code check which looks for project files that share the same name (could cause issues)
* Rename project files to have unique names (avoid race condition of build output)
* Update all locations which were hard-coded to expect bin/ and obj/ in the project directory
* Add overrides for tests which still assert test binaries exist in a given location relative to the source code
2019-05-15 13:44:55 -07:00
Nate McMaster 607cbc3133
Suppress warnings about breaking changes to Newtonsoft.Json dependency in SignalR (#9405) 2019-04-16 09:11:55 -07:00