Build error mojoPortal 2.5

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
7/19/2017 1:45:22 PM
Gravatar
Total Posts 22

Build error mojoPortal 2.5

I have just downloaded the latest version of mojoPortal source code.  I am working in Visual Studio 2015 and have tried to rebuild the solution as suggested in the README.VisualStudio.txt.  I am getting errors in the BasePanel.Autohide.get method in mojoPortal.Web.

This is the code block

public bool Autohide

{

get => autohide;

set => autohide = value;

}

The initial error is 

{ or ; expected

The project is targeting .NET Framework 4.6.2.

Has anyone else seen this problem - any clues how to solve it?

 

 

 

 

 

7/21/2017 12:39:47 PM
Gravatar
Total Posts 22

Re: Build error mojoPortal 2.5

Problem resolved by installing the NuGet package Microsoft.Net.Compilers

https://stackoverflow.com/questions/39461407/how-to-use-c7-with-visual-studio-2015