AdamSlack / sideways

Software implementation of the Strock Drivers Screening Assessment digitised system.
GNU General Public License v3.0
1 stars 0 forks source link

C# Server #16

Closed AdamSlack closed 6 years ago

AdamSlack commented 6 years ago

Can't run the C# Server on Ubuntu.

used:

dotnet restore
dotnet publish
dotnet run

Output:

  Restore completed in 31.59 ms for /home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj.
  Restore completed in 7.84 ms for /home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj.
Microsoft (R) Build Engine version 15.4.8.50001 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

Controllers/TestController.cs(11,18): error CS0101: The namespace 'SDSA.Controllers' already contains a definition for 'TestController' [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]
Controllers/TestController.cs(20,30): error CS0111: Type 'TestController' already defines a member called 'Index' with the same parameter types [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]
Controllers/TestController.cs(40,30): error CS0111: Type 'TestController' already defines a member called 'Error' with the same parameter types [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]
Controllers/TestController.cs(11,18): error CS0101: The namespace 'SDSA.Controllers' already contains a definition for 'TestController' [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]
Controllers/TestController.cs(20,30): error CS0111: Type 'TestController' already defines a member called 'Index' with the same parameter types [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]
Controllers/TestController.cs(40,30): error CS0111: Type 'TestController' already defines a member called 'Error' with the same parameter types [/home/rootbeer/github/stroke_drivers_screening_assessment/server/server/SDSA/SDSA.csproj]

The build failed. Please fix the build errors and run again.