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
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