Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: C# example delivered with the latest MSTN Connect SDK

$
0
0
when I run 'mdl load wpfsample', I got the error 'MDL load : could not load app wpfsample'

one thing special in my environment is that I only have VS2013 express, as a result, I have to modify the delivered .mke as follows as

a. there is NO 'devenv.exe' in VS2013 express, have to use 'wdexpress' instead
b. wdexpress does NOT support 'rebuild' option, have to use 'ResetSettings' option instead

FROM:

%if defined(BMAKE_DELETE_ALL_TARGETS)
Clean:
devenv "$(SlnFile)" \/clean $(buildConfiguration)

%else

%if defined (BMAKE_BUILD_ALL)
BuildOp = \/rebuild
%else
BuildOp = \/build
%endif

BuildOrRebuild:
devenv "$(SlnFile)" $(BuildOp) $(buildConfiguration) # $(UseEnvOpt)

%endif

To:

%if defined(BMAKE_DELETE_ALL_TARGETS)
Clean:
wdexpress "$(SlnFile)" \/clean $(buildConfiguration)

%else

%if defined (BMAKE_BUILD_ALL)
BuildOp = \/ResetSettings
%else
BuildOp = \/ResetSettings
%endif

BuildOrRebuild:
wdexpress "$(SlnFile)" $(BuildOp)

%endif

Viewing all articles
Browse latest Browse all 7260


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>