project "SHADE_CSharp" architecture "x64" kind "SharedLib" language "C#" clr "NetCore" dotnetframework "net5.0" namespace ("SHADE") targetdir (outputdir) objdir (interdir) systemversion "latest" files { "%{prj.location}/src/**.cs", "%{prj.location}/src/**.tt" } flags { "MultiProcessorCompile" } dependson { "SHADE_Engine" } warnings 'Extra' filter "configurations:Debug" symbols "On" defines {"_DEBUG"} filter "configurations:Release" optimize "On" defines{"_RELEASE"} require "vstudio" function platformsElement(cfg) _p(2,'x64') end premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg) return table.join(oldfn(cfg), { platformsElement, }) end)