Skip to content

Issue 12830 multi target demo console #13307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

Epica3055
Copy link
Member

@Epica3055 Epica3055 commented Apr 15, 2025

This is draft PR testing something

Microsoft Reviewers: Open in CodeFlow

Ricardo Bossan (BEYONDSOFT CONSULTING INC) (from Dev Box) added 19 commits April 10, 2025 20:44
…t multiple target frameworks (`$(NetCurrent)-windows;net481`).

    Fixes dotnet#12830

    - Updated `DemoConsole.csproj` and `DesignSurfaceExt.csproj` to support multiple target frameworks (`$(NetCurrent)-windows;net481`).
    - Adjusted `TargetFramework` property to avoid over-building.
    - Enabled `SignAssembly` and `GenerateAssemblyInfo` properties in the project files.
    - Updated resource and reference handling in `DemoConsole.csproj` and `DesignSurfaceExt.csproj` to improve compatibility.
    - Fixed `Controls.AddRange` usage to use the correct syntax in `MainForm.MyUserControl.cs`.
    - Corrected `Controls.AddRange` call in `MainForm.cs` to `Controls.Add`.
    - Suppressed `IDE0057` warning and reverted to `Substring` method for compatibility in `NameCreationServiceImp.cs`.
    - Changed `StartsWith('_')` check by directly accessing the first character in `NameCreationServiceImp.cs` for compatibility.
    - Disabled error `CA1824` for projects `DemoConsole` and `DesignSurficeExt`, because it would be triggered even though properly configured in those projects, according to the fix provided by the [documentation](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1824#fix-violations).

    - None

    - No

    - Minimal

    - `DemoConsole` would not run on `net481`.

    - Manual

    - 10.0.100-preview.3.25125.5
…'s lauchSettings.json's nativeDebugging to false
@Epica3055 Epica3055 force-pushed the Issue_12830_Multi-Target_DemoConsole branch from 17089fa to 5c30d37 Compare April 15, 2025 08:38
@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label Apr 15, 2025
@Epica3055 Epica3055 closed this Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant