Skip to content

Fix build error when configuration is Release#95

Closed
fallenwood wants to merge 1 commit into
microsoft:mainfrom
fallenwood:fix/IDE0005_build_issue
Closed

Fix build error when configuration is Release#95
fallenwood wants to merge 1 commit into
microsoft:mainfrom
fallenwood:fix/IDE0005_build_issue

Conversation

@fallenwood

Copy link
Copy Markdown
Member

The error log looks like

→ dotnet build -c Release
MSBuild version 17.9.4+90725d08d for .NET
  Determining projects to restore...
...
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net7.0]
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net6.0]
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net8.0]

The error log looks like
```
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net7.0]
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net6.0]
/home/vbox/workspace/build/garnet/playground/ClusterStress/OnlineReqGen.cs(6,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/vbox/workspace/build/garnet/playground/ClusterStress/ClusterStress.csproj::TargetFramework=net8.0]
```
@PaulusParssinen

Copy link
Copy Markdown
Contributor

Alternative approach to #82

@badrishc badrishc closed this Mar 22, 2024
@badrishc

Copy link
Copy Markdown
Collaborator

We will merge #82 after a small fix there.

@github-actions github-actions Bot locked and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants