ero
ero
CC#
Created by TomasGnG 😴 on 4/30/2025 in #help
Referencing assemblies with different version
how come updating the version in the startup assembly is not an option?
10 replies
CC#
Created by Core on 4/30/2025 in #help
✅ IEnumerable vs IReadOnlyCollection
If it's all internal, then there's no reason for abstraction
5 replies
CC#
Created by Core on 4/30/2025 in #help
✅ IEnumerable vs IReadOnlyCollection
So List<T>, or T[], or whichever
5 replies
CC#
Created by Core on 4/30/2025 in #help
✅ IEnumerable vs IReadOnlyCollection
The concrete collection type returned, not an interface
5 replies
CC#
Created by LucasMeijer on 4/29/2025 in #help
✅ 10.0-preview3, which git commit/branch/tag?
8 replies
CC#
Created by LucasMeijer on 4/29/2025 in #help
✅ 10.0-preview3, which git commit/branch/tag?
$close
8 replies
CC#
Created by LucasMeijer on 4/29/2025 in #help
✅ 10.0-preview3, which git commit/branch/tag?
there's now an issue tracking the missing releases: https://github.com/dotnet/core/issues/9866
8 replies
CC#
Created by LucasMeijer on 4/29/2025 in #help
✅ 10.0-preview3, which git commit/branch/tag?
if you click on the badge in question, it'll download a text file with all the relevant commits:
runtime_commit="0a33e18a0bccc10a0c4646dbf5b0fc70cbb3aa44" runtime_version="10.0.0-preview.3.25171.5"
aspnetcore_commit="de35e2b0a0d8d5d1e307907983a6838da1092898" aspnetcore_version="10.0.0-preview.3.25172.1"
windowsdesktop_commit="a53827037b594b554a61e54af8c3c0b31fd49184" windowsdesktop_version="10.0.0-preview.3.25174.1"
sdk_commit="9dee3cf508254bc3859d9cd2fe96aeb2ad1b9751" sdk_version="10.0.100-preview.3.25201.16"
runtime_commit="0a33e18a0bccc10a0c4646dbf5b0fc70cbb3aa44" runtime_version="10.0.0-preview.3.25171.5"
aspnetcore_commit="de35e2b0a0d8d5d1e307907983a6838da1092898" aspnetcore_version="10.0.0-preview.3.25172.1"
windowsdesktop_commit="a53827037b594b554a61e54af8c3c0b31fd49184" windowsdesktop_version="10.0.0-preview.3.25174.1"
sdk_commit="9dee3cf508254bc3859d9cd2fe96aeb2ad1b9751" sdk_version="10.0.100-preview.3.25201.16"
8 replies
CC#
Created by LucasMeijer on 4/29/2025 in #help
✅ 10.0-preview3, which git commit/branch/tag?
8 replies
CC#
Created by .Kuromesa. on 4/29/2025 in #help
✅ monogame help
you can uninstall it just fine...
97 replies
CC#
Created by yourFriend on 4/26/2025 in #help
✅ When targeting multiple frameworks, which one runs when pressing Ctrl + F5 in VS Code?
evidently not
20 replies
CC#
Created by yourFriend on 4/26/2025 in #help
✅ When targeting multiple frameworks, which one runs when pressing Ctrl + F5 in VS Code?
yeah that's what ctrl + f5 runs
20 replies
CC#
Created by yourFriend on 4/26/2025 in #help
✅ When targeting multiple frameworks, which one runs when pressing Ctrl + F5 in VS Code?
check with Environment.Version
20 replies
CC#
Created by yourFriend on 4/26/2025 in #help
✅ When targeting multiple frameworks, which one runs when pressing Ctrl + F5 in VS Code?
the first one in the list, it seems
20 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
that's a pretty arbitrary barrier
38 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
how so?
38 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
you can for example do
partial class C
{
[ServerCall(impl: nameof(MyServerCallImpl))]
public partial void MyServerCall();

private void MyServerCallImpl()
{
// User code logic
}
}
partial class C
{
[ServerCall(impl: nameof(MyServerCallImpl))]
public partial void MyServerCall();

private void MyServerCallImpl()
{
// User code logic
}
}
38 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
i understand what you're doing, it's still bad
38 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
i would seriously highly recommend against modifying source files, it feels like asking for trouble
38 replies
CC#
Created by Olsson on 4/26/2025 in #help
Create MSBuild custom task to modify C# files before compilation
which is one kind of compromise
38 replies