I can open the MicroStation CONNECT Update 11 SDK command window and invoke BuildAllExamples.bat successfully.
If I change to folder \Annotatation\ManagedItemTypesExample and execute openSln.bat in the same SDK command window then Viz Studio opens and loads that project.
However, when I build that project in Viz Studio the build fails. Viz Studio complains that it can't create temporary files in
...\SDK\examples\Annotations\ManagedItemTypesExample\obj\Debug
If I create those folders (obj, Debug) manually then Viz Studio builds successfully.
I do not see such problem with the example(s), maybe because I modified SDK folders priviledges to don't require admin access.
Maybe you started Visual Studio with as a normal users, so it was not possible to created the folder because of restricted access rights?
But there are more problems with delivered examples, not only with this one:
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan Šlegr said:Maybe you started Visual Studio with as a normal users, so it was not possible to created the folder because of restricted access rights?
I started Viz Studio using openSln.bat from the SDK shell. Presumably the Viz Studio process inherits the Windows environment of that shell: I guess that's the raison d'être of openSln.bat.
openSln.bat
I raise this issue not because it gives me a problem — I don't normally use the SDK shell — but to give a hint to the BDN team that there remain hiccups in the delivered tools. Beginners will find such build errors difficult to understand and fix.
Regards, Jon Summers LA Solutions