Errors on "cannot be imported again. It was already imported This is most likely a build authoring error. This subsequent import will be ignored"
See original GitHub issueIssue Description
I receive many error on messages as :
Error: "/home/xarkam/.vscode/extensions/ms-dotnettools.csharp-1.23.0/.omnisharp/1.36.1/omnisharp/.msbuild/Current/Bin/Microsoft.WorkflowBuildExtensions.targets" cannot be imported again. It was already imported at "/home/xarkam/.vscode/extensions/ms-dotnettools.csharp-1.23.0/.omnisharp/1.36.1/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets (6160,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/home/xarkam/Developpement/Base/src/SoftinuxBase.Infrastructure/SoftinuxBase.Infrastructure.csproj]
Steps to Reproduce
I don’t know how to reproduce it maybe it is something with my project or the latest omnisharp update
Expected Behavior
Fix the errors
Actual Behavior
I am notified of errors in omnisharp
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.48.0 C# Extension: 1.23.0
Mono Information
OmniSharp using built-in monoDotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.1.401 Commit: 39d17847dbRuntime Environment: OS Name: neon OS Version: 20.04 OS Platform: Linux RID: linux-x64 Base Path: /usr/share/dotnet/sdk/3.1.401/
Host (useful for support): Version: 3.1.7 Commit: fcfdef8d6b
.NET Core SDKs installed: 3.1.401 [/usr/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
better-comments | aaron-bond | 2.1.0 |
Bookmarks | alefragnani | 11.3.1 |
bracket-pair-colorizer-2 | CoenraadS | 0.2.0 |
csharp | ms-dotnettools | 1.23.0 |
csharpextensions | jchannon | 1.3.1 |
dart-code | Dart-Code | 3.13.2 |
debugger-for-chrome | msjsdiag | 4.12.9 |
discord-vscode | icrawl | 4.0.0 |
docomment | k–kato | 0.1.18 |
dotnet-test-explorer | formulahendry | 0.7.4 |
emojisense | bierner | 0.7.0 |
errorlens | usernamehw | 3.2.0 |
flutter | Dart-Code | 3.13.2 |
gistfs | vsls-contrib | 0.1.8 |
git-graph | mhutchie | 1.25.0 |
githistory | donjayamanne | 0.6.9 |
gitignore | codezombiech | 0.6.0 |
gitlens | eamodio | 10.2.2 |
html-css-class-completion | Zignd | 1.19.0 |
html-snippets | abusaidm | 0.2.1 |
html5-boilerplate | sidthesloth | 1.0.3 |
LogFileHighlighter | emilast | 2.9.0 |
output-colorizer | IBM | 0.1.2 |
path-intellisense | christian-kohler | 2.2.1 |
polacode-with-copy | fy | 0.3.4 |
prettier-vscode | esbenp | 5.1.3 |
python | ms-python | 2020.8.101144 |
quicktype | quicktype | 12.0.46 |
remote-wsl | ms-vscode-remote | 0.44.4 |
rest-client | humao | 0.24.1 |
trailing-spaces | shardulm94 | 0.3.1 |
vetur | octref | 0.26.1 |
vscode-coverage-gutters | ryanluker | 2.6.0 |
vscode-eslint | dbaeumer | 2.1.8 |
vscode-firefox-debug | firefox-devtools | 2.9.0 |
vscode-html-css | ecmel | 0.2.3 |
vscode-icons | vscode-icons-team | 10.2.0 |
vscode-nuget-gallery | patcx | 0.0.22 |
vscode-nuget-package-manager | jmrog | 1.1.6 |
vscode-solution-explorer | fernandoescolar | 0.3.10 |
vscode-typescript-tslint-plugin | ms-vscode | 1.2.3 |
vscode-versionlens | Hoffs | 0.25.6 |
vscode-versionlens | pflannery | 1.0.8 |
vscodeintellicode | VisualStudioExptTeam | 1.2.10 |
vsliveshare | ms-vsliveshare | 1.0.2619 |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top GitHub Comments
This is resolved here already https://github.com/OmniSharp/omnisharp-vscode/pull/3998 and will be part of the next (pre)release
This was released in 1.23.1