[GH-ISSUE #477] Compile client for windows xp (.net framework 2.0) #252

Closed
opened 2026-02-27 15:49:34 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Jul 7, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/477

when i change the Target framework to ".NET framework 2.0"
the compiler get about 91 error most of them is
The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
is there is anyway to do that

Originally created by @ghost on GitHub (Jul 7, 2016). Original GitHub issue: https://github.com/quasar/Quasar/issues/477 when i change the Target framework to ".NET framework 2.0" the compiler get about 91 error most of them is `The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)` is there is anyway to do that
kerem 2026-02-27 15:49:34 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MaxXor commented on GitHub (Jul 7, 2016):

Compiling for other frameworks than 4.0 is not supported. You can fully replace all instructions from the Linq namespace manually by foreach loops. Anyways you can install .NET Framework 4.0 on Windwos XP.

<!-- gh-comment-id:231017791 --> @MaxXor commented on GitHub (Jul 7, 2016): Compiling for other frameworks than 4.0 is not supported. You can fully replace all instructions from the Linq namespace manually by foreach loops. Anyways you can install .NET Framework 4.0 on Windwos XP.
Author
Owner

@ghost commented on GitHub (Jul 7, 2016):

ok i can do that, but i dont know how to resolve this error
Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute
in
private static bool IsNameOrValueNull(this string keyName, RegistryKey key)

<!-- gh-comment-id:231018264 --> @ghost commented on GitHub (Jul 7, 2016): ok i can do that, but i dont know how to resolve this error `Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute` in `private static bool IsNameOrValueNull(this string keyName, RegistryKey key)`
Author
Owner

@MaxXor commented on GitHub (Jul 7, 2016):

.NET 2.0 doesn't support extension methods. You'll need to replace them all with static helper methods. Anyways I don't give support for downgrading Quasar to an outdated framework version.
~Closed

<!-- gh-comment-id:231018997 --> @MaxXor commented on GitHub (Jul 7, 2016): .NET 2.0 doesn't support extension methods. You'll need to replace them all with static helper methods. Anyways I don't give support for downgrading Quasar to an outdated framework version. ~Closed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#252
No description provided.