AppController.cs doesn't build
Closed this issue · 4 comments
jasedit commented
If I try to use the latest master, I get the following error on build:
Errors:
/Users/jpz/src/ece5574/ece5574.sln (default targets) ->
(Build target) ->
/Users/jpz/src/ece5574/ServerAPI/HomeAutomationServer/HomeAutomationServer.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/3.12.1/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
Controllers/AppController.cs(18,26): error CS0723: `HomeAutomationServer.Controllers.AppController.appCache': cannot declare variables of static types
2 Warning(s)
1 Error(s)
This can be fixed by making appCache static. I had submitted a PR to fix this, but it's been left hanging, so I figured I could file an issue so someone can fix it on their own.
suwarna07 commented
I think I fixed the issue. And I also merged your PR.
jasedit commented
It now reports this:
Errors:
/Users/jpz/src/ece5574/ece5574.sln (default targets) ->
(Build target) ->
/Users/jpz/src/ece5574/ServerAPI/HomeAutomationServer/HomeAutomationServer.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/3.12.1/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
Controllers/AppController.cs(18,63): error CS1519: Unexpected symbol `is' in class, struct, or interface member declaration
Controllers/AppController.cs(18,81): error CS1519: Unexpected symbol `need' in class, struct, or interface member declaration
Controllers/AppController.cs(18,91): error CS1519: Unexpected symbol `define' in class, struct, or interface member declaration
Controllers/AppController.cs(31,14): error CS1519: Unexpected symbol `Route' in class, struct, or interface member declaration
Controllers/AppController.cs(31,17): error CS1525: Unexpected symbol `user/updateposition/{username}'
Controllers/AppController.cs(31,10): error CS1520: Class, struct, or interface method must have a return type
Controllers/AppController.cs(31,48): error CS1525: Unexpected symbol `]'
1 Warning(s)
7 Error(s)
jasedit commented
Are these building for other people?
jasedit commented
Fixed awhile ago according to Travis.