21 Commits

Author SHA1 Message Date
Pieter-Jan Briers
787330f5c6 v269.0.0 RT update - .NET 10 (#41855)
* Make ServerPackaging automatically get extra server assemblies

* Make the switch

* Use Content.Server.deps.json instead

* Remove debug

* Rewrite

Now recursively fetches dependencies from Content.Server

Only copies dependencies not covered by Robust

This removes the need to manually specify most of the dependencies, even the content ones!

Also look at runtime key properly to figure out the proper dll name.

This actually removes some assemblies that were duplicated between the main directory and assemblies (various Microsoft.Extensions stuff)

* Fix test compile errors when updating dependencies

Ran across this while updating dependencies on the RT .NET 10 update. Should be fine to merge immediately.

* More .NET 10 prep

* Convert to SLNX

Hell yeah

* slnx now has size-2 indents

* Update SLNX with new RT system

* Remove reference to RT test in toolshed test

* Remove accidental usage of transitive RT dependencies

* Move Robust project references to RobustApi

* Update solution file

* Fix warnings in pow3r

* Fix nullable warnings in integration tests

idk where these came from

* gitignore binlog files

* Fix transitive dependency warnings in Content.Benchmarks

* Update slnx

* Okay, the Robust API thing didn't pan out. New plan.

It apparently broke clean builds, as the dependencies aren't in the project asset list or something anymore. I tried to fix this, but it seems impossible to do without relying on .NET SDK internals, as there's no point in the NuGet graph walk process that seems cleanly extensible.

Instead let's just do the much dumber thing: a bunch of .props files for content to import. Hooray!

This also means that I have to go through and *explicitly* disable transitive dependencies everywhere in RT. This thankfully isn't too hard.

* Update RT to 269.0.0

* One last solution update

* Fix more data definition issues

* Update RT to 269.0.1

* Fix it again

---------

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2025-12-22 01:24:24 +00:00
Tayrtahn
e08e920c62 Prefer file-scoped namespaces in .editorconfig (#38879)
Prefer file-scoped namespaces in .editorconfig
2025-07-09 11:33:18 -07:00
Milon
e7dfb66def update editorconfig docstring indentation (#36511)
* Update .editorconfig

* webedit ops
2025-04-14 19:07:21 +02:00
Milon
d1b2884028 update .editorconfig (#34677) 2025-01-27 18:10:26 +01:00
slarticodefast
a94f1f0fe0 Correct .editorconfig to use no space after casting (#30132) 2024-07-18 10:43:20 -08:00
Repo
f40267e68e Add trailing comments on multiline lists - editorconfig. (#28922)
Add trailing comments on multiline lists.
2024-06-14 12:10:41 +10:00
ShadowCommander
0926891f4f Set max line width to 120 (#27765) 2024-05-07 17:33:00 +02:00
ShadowCommander
b9906eb34c Make arguments and parameters wrap to one variable per line (#27766) 2024-05-07 20:50:22 +10:00
Pieter-Jan Briers
ef72d3cf7f Revert "Update .editorconfig to correspond Code Conventions" (#27051)
Revert "Update .editorconfig to correspond Code Conventions (#26824)"

This reverts commit 882aeb0314.
2024-04-17 15:42:06 +02:00
Token
882aeb0314 Update .editorconfig to correspond Code Conventions (#26824)
Update editorconfig to Code Style

End of line is: CRLF (suggestion)
Namespace declarations are: file scoped (suggestion). Instead of block scoped
2024-04-12 16:50:10 +10:00
Pieter-Jan Briers
a6c9c36b68 Dependency update / fixes / skrungle bungle (#23745)
* Give .props files 2-space indents.

* Move to Central Package Management.

Allows us to store NuGet package versions all in one place. Yay!

* Update NuGet packages and fix code for changes.

Notable:

Changes to ILVerify.
Npgsql doesn't need hacks for inet anymore, now we need hacks to make the old code work with this new reality.
NUnit's analyzers are already complaining and I didn't even update it to 4.x yet.
TerraFX changed to GetLastSystemError so error handling had to be changed.
Buncha APIs have more NRT annotations.

* Remove dotnet-eng NuGet package source.

I genuinely don't know what this was for, and Central Package Management starts throwing warnings about it, so YEET.

* Remove Robust.Physics project.

Never used.

* Remove erroneous NVorbis reference.

Should be VorbisPizza and otherwise wasn't used.

* Sandbox fixes

* Remove unused unit test package references.

Castle.Core and NUnit.ConsoleRunner.

* Update NUnit to 4.0.1

This requires replacing all the old assertion methods because they removed them 🥲

* Oh so that's what dotnet-eng was used for. Yeah ok that makes sense.

* Add Robust.Analyzers.Test

* Update submodule

* commit to re-run CI
2024-01-12 23:22:01 +01:00
Leon Friedrich
d13d86201a Update yaml sequence option in editorconfig (#21297) 2023-10-28 14:28:57 +11:00
DrSmugleaf
1d99a68828 Change .editorconfig to keep existing attribute arrangement (#20538) 2023-09-28 15:46:36 -07:00
Flipp Syder
174b28e62c Adds formatting issue analyzing in Omnisharp (VSCode) (#15809) 2023-04-30 02:26:13 +10:00
Pieter-Jan Briers
0542726907 Ban single-line if statements. (#9953)
* Ban single-line if statements.

* Make these files more accessible from sln
2022-07-21 19:19:52 -05:00
Pieter-Jan Briers
450e30fbda Update submodule, NuGet natives 2020-12-13 01:14:29 +01:00
DrSmugleaf
8954071220 Allow multiline ifs if their body is not multiline itself for content (#2591)
* Allow multiline ifs if their body is not multiline itself

* sln.DotSettings

* Tabs bad
2020-11-21 12:01:08 +01:00
ShadowCommander
d0a69b3655 Fix editorconfig (#1096) 2020-06-17 03:10:52 +02:00
Pieter-Jan Briers
9d130d98d3 Remove some bad style decisions. 2020-04-17 23:47:03 +02:00
Tyler Young
51c24150d3 Code Styling defaults & C# Git Diff support (#593)
uncomment csharp diff logic in .gitattributes
2020-02-06 16:16:15 +01:00
PJB3005
02c67c851d Basic content repo outline.
Code's here, no tooling to generate content packs yet, however.
2017-08-04 14:24:01 +02:00