LogicReinc / LogicReinc.BlendFarm

A stand-alone Blender Network Renderer
GNU General Public License v3.0
441 stars 38 forks source link

How to build the solution file #42

Closed cyanling2 closed 2 years ago

cyanling2 commented 2 years ago

Hi, I am trying to add some modifications to the source code and build my customized client and server. Could you please release some instructions on how to execute the build (.NET version, visual studio version, configurations, etc)?

LogicReinc commented 2 years ago

@cyanling2 Not much info is needed. Any VS version that support .NET 6 should do the trick. Probably easiest is Visual Studio 2022 as it has it build in. BlendFarm doesn't really needs any setup besides .NET 6.

cyanling2 commented 2 years ago

image

Sorry I am still confused at this point. I am trying to build the client on windows using VS-2022, Yet, it seems that the main method is missing.

LogicReinc commented 2 years ago

LogicReinc.BlendFarm does have a Main. LogicReinc.BlendFarm.Client does not, as it is not an executable, it is a library. For whatever reason it is not configured as such there? LogicReinc.BlendFarm.Client is also netstandard2.0, not net6.0 (seeing that its a library).

Did you change anything that could cause this? Showing the settings of LogicReinc.BlendFarm.Client would help (right click that project=>Properties) It should look as follows: image

cyanling2 commented 2 years ago

oh i see. I set the output type of LogicReinc.BlendFarm.Client as windows application and that's why. Don't remember when I made that change but it works now. Thank you!