c# - I can't create a SharpDX solution in Visual Studio -
i have installed sharpdx , it's visual studio extension create sharddx solutions. assume template used extension add dll dependencies , using statements , etc. solution never created, error when try:
unable find sharpdx installation directory. expecting [sharpdxsdkdir] environment variable
i googled , result part of visual studio extension code itself, in git repository:
the exact line of visual studio wizard throwing error:
// check sharpdx correctly installed if (string.isnullorempty(environment.getenvironmentvariable("sharpdxsdkdir"))) { messagebox.show("unable find sharpdx installation directory. expecting [sharpdxsdkdir] environment variable", "sharpdx toolkit wizard error", messageboxbuttons.ok, messageboxicon.error); throw new wizardcancelledexception("expecting [sharpdxsdkdir] environment variable"); } apparently, no 1 ever had problem before. tryed repairing sharpdx installation did no good. please help?
additional information: use visual studio ultimate 2012 , windows 7. had sharpdxsdkdir variable set before having error (it's value installation folder of sharpdx: c:\program files (x86)\sharpdx). tryed create variable, system variable instead of user variable, same name , same value, , still same error.
[off topic]: way, sharpdx still active project or has been discontinued, xna? there nothing on website saying "we discontinuing sharpdx" still, latest news 2013...
the problem seems installation of sharpdx not creating environment variables needs, can try setting these variables going control panel->system->advanced system configuration, there under advanced options environment variables, under system variables add required variable (sharpdxsdkdir).
unfortunately don't use sharpdx, may try looking "setting required variables sharpdx".
Comments
Post a Comment