Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamachu/targetframeworksswitcherforomnisharp
https://github.com/yamachu/targetframeworksswitcherforomnisharp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yamachu/targetframeworksswitcherforomnisharp
- Owner: yamachu
- License: mit
- Created: 2021-07-14T18:08:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T17:37:50.000Z (over 1 year ago)
- Last Synced: 2024-10-13T14:25:25.851Z (3 months ago)
- Language: TypeScript
- Size: 5.98 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TargetFrameworksSwitcher for OmniSharp
This extension improves the efficiency of development for projects where multiple TargetFramework are defined.
Currently, OmniSharp which is used to analyze C# code in VSCode, is set to analyze the first TargetFramework when multiple TargetFrameworks are defined.
https://github.com/OmniSharp/omnisharp-roslyn/blob/da1e65b1e2badf80adc7db8ccd37e4cf253ca7b2/src/OmniSharp.MSBuild/ProjectLoader.cs#L166-L182
If you set the value of TargetFramework, it will take precedence over it.
This extension makes it easy to set that up.## Features
### Switch Target Framework
![SwitchTarget](./docs/resources/switch_target.gif)
### Initialize Extension
![Initialize](./docs/resources/initialize.gif)
## Notes
This extension adds `TargetFrameworkSwitcher.targets` file to project directory.
Since this file overrides default __TargetFramework__, it is recommended that you add that file to gitignore so that it does not change the behavior in CI or other contributors.