|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
NX12.0 二次开发使用VS2012 报错解决方案" t9 V q& I7 R0 V; U
严格的讲NX12.0需要使用VS2015进行开发,这里说下如果你是低版本的解决方案,但是不推荐!4 i+ v `: b0 s9 s) p; R/ I3 B
(1)安装完后,点击Open Wizard 告诉你创建项目错误
% ^1 t; S0 U% C" r$ N4 Q) j
6 p- o; w$ q+ y: l! b% C这种问题就是编译器版本不符合官方的匹配导致的,更改方法很简单 9 N& j' k; j: Z% e% I2 h) T
打开 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects下的NX12_NXOpenCPP.vsz 将
% m7 w T6 |5 q% x8 i6 q2 uWizard=VsWizard.VsWizardEngine.14.0 中的14 改成11 也就是对应的VS2012( j: {, c/ V! _* ~( p# f# Z
6 x! W. I1 h' n% W4 B" v
这样创建的对话框就可以出来了!' y) }; ^7 w! ^6 z2 k; L
(2)你可能还会遇到路径错误,path not found, 建议对这个文件进行修改,尤其是你有多个版本存在的话,一劳永逸
5 }. T1 t# K) A. a0 B8 q, Y' pC:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\NX11_NXOpenCPP\scripts\1033 下的default.js 文件
/ u- Y( R( ]* B# ?& q2 m修改里面的环境变量路径,注意路径是双反斜线 \\,参考如下!! y) S$ L) t& j! d# i( _5 U7 n" Q
5 ~/ o* v6 _; B( ~. x. s1 N//@<DEL>@ TEXT ENCLOSED within delete markers will be REMOVED' ~% a. E) L8 A& a" ?
// 09-Jun-2012 Frank Berger Initial Release for VS2010 based on "NX8 Open Wizard"
& C. l D+ V# h' |// 31-Okt-2013 Frank Berger modified for VS2012
: ~1 E2 A) s( ?0 I. h// 13-Feb-2015 Sudhir Pawar ARCH:11320: Added libufun_die.lib,libufun_vdac.lib & libufun_weld.lib
4 Y5 [" P5 w$ x' V. T// 21-Dec-2015 Purushottam Thakre Fixed PR#7567548: Call DeletePlatform function to delete 'Win32' platform.
9 t/ g* R& H* ?* w1 K& t+ l- F" w// 08-Jan-2016 Prabhakar Mandlik Fixed PR#7588129: Added /d1scalableinclude- swiTCh.
% M' w% z+ m3 h8 A// 10-Feb-2016 Purushottam Thakre Fixed PR#7630769: Reverted changes done to fix PR#7567548 which is causing regression
% \, _" Y1 d$ o+ M$ _) c//TEXT ENCLOSED within delete markers will be REMOVED @<DEL>@' {( i' V/ g' W2 @6 T. P; P
- F2 X0 |2 ?3 X7 { c2 afunction OnFinish(selProj, selObj)7 F, \$ E5 l# J `
{
* M v, G# X3 B2 y6 F& Z" ^/ F& ~ try4 X1 R6 q* _0 r( E9 d# K S/ M7 k H
{, G6 \( Z( z5 a. j
var bodyTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "body_template.txt";' P, Q$ ]; H9 Z/ U
var bodyTemplateText = wizard.RenderTemplateToString(bodyTemplateFile);& u7 P' s( B+ z6 S' ]& j1 t0 Q
wizard.AddSymbol("BODY_TEMPLATE", bodyTemplateText);
* I- I% [% g$ G/ k# A1 w1 m O {: `/ _; U# {
var entryPointsTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "entry_points_template.txt";
# H) c' f3 S, k& x( E var entryPointsTemplateText = wizard.RenderTemplateToString(entryPointsTemplateFile);
) a+ Q3 F; A4 P6 ?5 H) ~; H* U; u$ o wizard.AddSymbol("ENTRY_POINTS_TEMPLATE", entryPointsTemplateText);
0 S8 c7 [& u* I/ n; A" [& f: n2 t; N5 ?2 F, z r; H1 Z
var unloadOption = "UNLOAD_IMMEDIATELY";
5 }( x7 y) b; r4 W if ( wizard.FindSymbol( "UF_UNLOAD_UG_TERMINATE" ) )4 t) V# W1 o1 }) q; j& H( m6 B- D8 Q
{
' \% m' X2 E4 u9 S- T1 ]: r3 R unloadOption = "UF_UNLOAD_UG_TERMINATE";) s, K$ d' z6 n9 y& m# x
}
0 v8 }/ ?+ ~& ` e2 d" V. r% L" T else if ( wizard.FindSymbol( "UNLOAD_SEL_DIALOG" ) )
5 L+ w7 ~: P" C+ _9 E {5 @. `0 t7 J: a+ Y W L6 g
unloadOption = "UF_UNLOAD_SEL_DIALOG";
0 a0 l% P7 L. b! R. H- H, S" P9 a }
2 |. ^$ j1 ^! v. j wizard.AddSymbol("UF_UNLOAD_OPTION", unloadOption);. u9 m S- x5 H" v
5 P9 V% l+ U- Y) \/ \
2 }# ]3 b2 @; F6 G* R g4 u
// Assign the project path and project name
5 m& s' T2 e( v' k, t3 K var strProjectPath = wizard.FindSymbol("PROJECT_PATH");5 Y: s, g9 }2 m3 Q5 J4 L
var strProjectName = wizard.FindSymbol("PROJECT_NAME");
3 k3 r( n( g/ A! R/ a$ b var strClassName = wizard.FindSymbol("MAIN_CLASS_NAME");% X/ B& E" q9 ^; s/ p; S
if ( strClassName.length < 1 ) . R' b( Z; C* X r
{5 ~* r" ]& n6 F5 S$ B$ J
wizard.AddSymbol("MAIN_CLASS_NAME", "NONAME");
: p" F& z+ U7 N/ m( w }8 _3 r/ Q" G/ j. v* m2 N3 ^
8 U# p$ J' t0 r' k5 N, \1 | // Create the Visual C++ project and call it "NXOpenProj"
. c: B- f3 ]; }* } selProj = CreateProject(strProjectName, strProjectPath);* z8 \8 u6 \: j
// selProj.Object.Keyword = "NXOpenProj"6 S5 P: y/ ]( n' @- w2 g
/ S: ^1 K* I M. m1 N' ]* d0 f // Add common and specific configurations to the project. o$ @4 m; i& p
AddCommonConfig(selProj, strProjectName);, X6 h- K' @: I3 J
AddSpecificConfig(selProj, strProjectName);7 x4 j; z9 o- v
// selProj.Object.keyword = "MFCDLLProj";
6 C! h- U4 r6 s. }/ m- F. L) J* g- D" l1 k' v/ ^
//Set the project filters $ K( b" G/ [9 `4 q% z
SetupFilters(selProj);& G1 h0 u8 e, y) ]
: l$ i1 c1 a- l( ] Q
// Add files to the project from the project's Templates.inf file
+ u. g3 R- }/ h AddFilesToProjectWithInfFile(selProj, strProjectName);/ _4 N+ [. t5 B( P( e6 ?2 m
# @) {/ m2 d% ~% w, j selProj.Object.Save();8 [! G) f$ V, b+ s* n
}
6 P# e; {! A# W$ u! F catch(e)7 n D1 D! c ?) z1 ?$ e5 y
{- v* H; f" ] M1 d# S9 @
if (e.description.length != 0)9 g0 H f/ `" a A5 `/ x% ~
SetErrorInfo(e);
* ^" h8 `. w0 H4 }; f$ |& n4 t return e.number
4 B6 F" m4 f Y; p# _( g& _ }* d2 S, {9 U0 B" l7 V
} z) \. ^6 s+ K7 f
' j5 A* ?" d( L9 n/ R& f; V9 tfunction SetFileProperties(projfile, strName)
5 K5 M9 _) P3 Y" S% @; y3 z{5 Q" D. m u% \5 w
return false;
1 L8 P3 ^* L4 f7 d# }$ l1 o; x}
: D& V: \0 E. c- q+ m" n/ j6 R& z8 p' g
function DoOpenFile(strTarget)# y V; C1 O+ L1 k9 E
{
/ m. E1 z% o2 P return false;2 N+ ~) @# c0 I1 N. l8 e
}0 v+ W! O6 {( a" Z
. s. n* | i% G9 k
function GetTargetName(strName, strProjectName, strResPath, strHelpPath)
. Z9 E A; W# T9 C{6 ?& k, \1 d! }0 ?- J
try _! x* v' J5 e0 k
{
! G8 k. ?# v- \0 H% e8 Q2 [ u# M h var strTarget = strName;
, I, w# q. P Y: X8 S if (strName.substr(0, 4) == "root")3 c) ?2 Q0 F9 q; y1 w
{4 b- `3 `. O6 Z5 |) ]6 V
var strlen = strName.length;
% w/ Y) {& q5 K/ n4 `! a- l if (strName == "root.ico" || strName == "root.rc2")
7 T3 D& F; j6 X$ _8 K& ? {) |4 \2 N, z; _+ j% G
var strSafeProjectName = wizard.FindSymbol("SAFE_PROJECT_NAME");
5 C' L0 r$ P, U" d2 x+ o2 A strSafeTarget = strSafeProjectName + strName.substr(4, strlen - 4);
4 Z- N# [& E$ ^+ n strTarget = strResPath + "\\" + strSafeTarget;
J( e, {3 A$ S$ l4 ]2 b/ H; K }) b- g7 H8 o r! ~( [9 a7 D( n
else if (strName == "root.txt" )0 e8 r+ Y1 w6 l$ N1 I8 G- ~
{$ Y6 p m: A: q4 B2 L+ |1 E2 b& |
strTarget = strProjectName + ".cpp";
3 T# w$ i; k- G& a) n }
. g) x; J' L! Q+ }6 m" T0 H else# q9 c" m7 T b* a; ]- l
{( L! I$ u: U+ O
strTarget = strProjectName + strName.substr(4, strlen - 4);$ t' y: |6 S; \: \- t
}& @& J4 b) }) n8 u* B; V
return strTarget;3 h/ O) Z7 z/ k* T: ?4 n
}
7 V& N% `+ l$ V2 T" R; }2 }. n& j
: K6 ], f" o% v switch (strName). r/ n1 a' ]9 _, V% _& T6 r- L
{0 h( L2 \9 E$ \6 o4 b! {+ T
case "readme.txt":
$ A; D. g/ G g" N7 }$ J& L strTarget = "ReadMe.txt";
) J C/ h8 x% W break;
) B+ Q( u, P+ z! L5 H: K case "all.rc":- U- n* d9 c5 L* x5 j( ^, {* X
case "dlgall.rc":
7 P5 E# S# k X strTarget = strProjectName + ".rc";1 E4 @6 Y9 p6 I/ A5 s8 t* B
break;0 O ^, @7 |. K7 g
case "dlgres.h":
" ?- ~- c! N( w case "resource.h":3 G; |( o* S( Q( Y
strTarget = "Resource.h";
# D5 g1 a$ y4 d# _, R break;
% C0 r( L( y9 ~* \4 w+ b5 J5 v1 K) B default:; x+ T6 f: y7 v" z
break;) o' r! }6 M( E/ @
}
, }7 @5 A; a8 f+ S# i& F: d return strTarget;
: E* [# Z7 Z1 _; c/ J, v }
8 g8 s# `5 N/ H6 L8 j' g catch(e)$ u) e' ]1 E8 \1 m6 R9 [ }
{: l/ {& q, G4 ]: n0 F/ |- {% b
throw e;
' q, N: J1 w; a& | }
' s! o; N4 s; K9 c}% e2 H6 i( x/ m' r% d
" X/ ~% H; I/ ^3 s, zfunction AddSpecificConfig(proj, strProjectName)
8 E; d( ?! X1 h6 N( C$ U5 @8 Y{
7 B% j/ K( j/ @ try" s+ }2 W# a# }% w+ A' W* R
{* t7 o- A/ v9 G- W$ g+ W
var isDllApp = wizard.FindSymbol("DLL_APPLICATION");2 y% r9 H* I+ J) y. {1 `
var isCxx = true;; O2 I6 X* `3 g
& C9 b+ F5 o* g
var appType;
9 A+ @6 U$ C' Q3 V: M( K" n var appExtension;
0 r" Q" a5 z! E5 Q N& ^) @# H" _8 n6 r: c4 o8 ~8 J
proj.ConfigurationManager.AddPlatform("x64", "Win32", true);
8 g" g. t. ]" U1 Y
& e: r% C- Z! D" W3 k4 h. J if ( isDllApp )
! I! R) _9 P" Q2 k' V. _ {
3 @* m- C4 L' W2 c. ?" a, ^/ g- c appType = typeDynamicLibrary;
$ }5 m E- ^. e8 E% u8 r appExtension = ".dll";
+ S* n3 x4 z0 T0 L, p$ X& G }1 D& E, l2 j* e. x* f
else7 X7 s% _! h. k# V
{! ~6 ?* B' J% ?$ `/ k% p4 N$ N
appType = typeApplication;$ }. @( R. M' K% L' C( r% l9 G+ p+ Q
appExtension = ".exe";
d) e8 O/ f% W7 ]; b7 J' [ }+ m& f: L m$ A& p8 k
# b* [$ y; K( W, h! e1 e8 Q* u var linkLibs = "libufun.lib";
( Z1 b9 A8 }; p, ` linkLibs += " libufun_cae.lib";
7 N! ]; O% C* p- Z# ^ linkLibs += " libufun_cam.lib";
$ g I- C+ p% `9 \4 o linkLibs += " libufun_die.lib";
; Y* t1 X( B: S, u% k; F* s linkLibs += " libufun_vdac.lib";
; b; W( f" {: J8 [' t6 w* n5 p2 b linkLibs += " libufun_weld.lib";0 _1 Q2 _( u& { Y5 Z
. S; ^9 v6 p, z; I! Z( \! A if ( isCxx)
2 l; {$ D* P% G4 n {
4 y2 \, D5 ]' t/ S) L var wshell = new ActiveXObject("WScript.Shell")% D) B0 m' h$ b# f7 W& s
var libpath ="D:\\dsplm\\Siemens\\NX12\\ugopen";
: b( `- B0 y/ C, O& r; T7 f0 S var Fo =new ActiveXObject("Scripting.FileSystemObject");. ~% R, M( A" a$ X, c& o1 G
var FSo = new Enumerator(Fo.GetFolder(libpath).Files);
7 e1 c- _. S4 v$ O- g y; B& F var nxopencppName = "libnxopencpp";
! J( d# `0 u- b for(; !FSo.atEnd(); FSo.moveNext())1 a; v: W/ ?. D( q3 H6 P5 C
{
. b, d0 h5 d, r' U7 P if(FSo.item().name.match("^"+nxopencppName)==nxopencppName) //check if file name start with libnxopencpp% ~0 T' r& N) y) P, B4 f3 t
if(FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase() == "lib") //check if file has '.lib' as an extension
4 }1 @: s4 r' ^ j8 b! p7 ~ {& k) I# ~' L; ^' H& B& e& t) D
linkLibs = linkLibs + " " + FSo.item().name;
: u! `+ k' Y7 O9 D" h6 ]6 Y s }
i7 C. H' e ^, j. _( ~0 c }) R# O |% g9 P- A+ Y# _+ r
}( ^( u, p% r; H3 ?9 h
% w. z; M) P* w% d0 N1 n7 N+ ?/ o2 O. q if ( isDllApp )
2 n) R& w) {- m ~) w/ |: p: @ {3 H3 z7 e3 {) Q2 C* B
linkLibs += " libugopenint.lib";
! z$ V$ R/ \" U! [ linkLibs += " libugopenint_cae.lib";& k/ q: y7 x3 ]" {
linkLibs += " libugopenint_cam.lib";1 M4 T E/ P, n8 W6 d* N
: I8 m1 G2 V$ _( H
if ( isCxx)
2 O2 k+ t+ B: A9 [$ F linkLibs += " libnxopenuicpp.lib";
$ h* q& j3 y9 `9 a! ? }. T' p$ w( Y; ^" t" l9 e2 V
4 C4 j( i2 \6 t7 U$ A
//=================================================================' k. j& R" V3 Z8 j
// Debug Configuration
4 _) Z9 Y' k! `4 k+ k8 u, R //=================================================================$ {; H' n" o+ u' L
//LRJ - add x64
+ O4 X z+ @" s& f) M7 n" |4 D var config = proj.Object.Configurations("Debug|x64");
a6 A1 c, m4 M! A6 a A% r9 K config.ConfigurationType = appType;
. V& y8 V+ W, W config.CharacterSet = charSetUnicode;6 {! T- ^5 U" \" Q9 V
config.useOfMfc = useMfcStdWin;$ L) q* N4 ]; _% B4 [( i
" C. |" f5 j( m, _ Q" i- l var CLTool = config.Tools("VCCLCompilerTool");5 }5 Y% j+ \# q
var strDefines = GetPlatformDefine(config);: m8 B5 r! F+ V, X+ y
strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";
+ u1 I" u: K1 l if ( isDllApp )5 B. u. q- T( ~3 j& H/ D
{
7 B/ _ Y1 ?0 o. |, r strDefines += ";_USRDLL";- F: K3 [1 Y3 A3 B1 c$ [
}
( |! u9 P% T1 [3 B4 n4 ? else+ n+ T: {8 e8 h7 a2 T9 f4 ]
{3 m/ C( S! I1 ~+ X
strDefines += ";_CONSOLE";
# u% b- I2 a& H" D( Z! B }9 r- L, j4 Q; Y) I7 a' F# a
8 b+ t7 e0 _- ~6 q+ O" e
CLTool.PreprocessorDefinitions = strDefines;
$ q5 b3 Y' I4 e/ d5 ~2 w
9 f" r8 ~* g) k4 u2 T% A, }. G config.UseOfMFC = useMfcDynamic;
8 K% B6 p8 o: J, m CLTool.RuntimeLibrary = rtMultiThreadedDLL;. U! e" J- q- g1 B
/ w, n+ ^8 ]3 h. u CLTool.TreatWChar_tAsBuiltInType = true;
Z) _9 p+ e) V0 ^: j; ^5 o8 x CLTool.DebugInformationFormat = debugEnabled;
3 B- S9 |9 h! j0 F7 f/ N) }/ E7 \& I CLTool.AdditionalIncludeDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";, ]% I9 Z3 W) X; n5 c
' U) u6 ^4 W& \% D4 j CLTool.RuntimeTypeInfo = 1;
! @3 ~! N- G8 b: w' Q. {0 s CLTool.UsePrecompiledHeader = pchNone;2 r$ K! U* R, N) g: `
CLTool.AdditionalOptions = "/d1scalableinclude-";* L: U5 X0 \2 p
6 B" o5 K+ Y$ t1 ~7 M//LRJ - change for X64 - add TargetMachine
. \# z( B, D6 }; h$ w var LinkTool = config.Tools("VCLinkerTool");
3 b. N- _0 g3 J0 t LinkTool.TargetMachine = machineAMD64;. S9 Y" t# G- R5 @
LinkTool.LinkIncremental = linkIncrementalYes;
4 e4 j" ^0 U" c# j6 c9 p5 I LinkTool.GenerateDebugInformation = true;
" D- A: L2 l# i W LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;# e% S( j7 F1 t' {$ j" F
if ( isDllApp )
% x" ]* ]: ^/ [/ m LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";2 `" D2 b- j' M. G
LinkTool.AdditionalLibraryDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
1 \! i+ K& R( {: N, k# E LinkTool.AdditionalDependencies = linkLibs;
$ l/ M3 B7 ` y; ` LinkTool.SubSystem = subSystemConsole;6 C0 H1 J" Z4 W7 m. Q+ A* N
//LRJ - add following line for X64 definition
' b1 I8 u N) K3 J& d dte.ExecuteCommand("Build.SolutionPlatforms", "x64");& }$ o' v4 W% a) d1 W; ]4 C1 \
% f. L; p& r. m. ^' `$ J w
//=================================================================
7 p8 H B" T% ?- y2 G2 ?- E // Release Configuration
, i5 U( n6 v4 r+ _1 c //=================================================================
( q9 b6 @4 C. J. D0 n# i6 ?" Q//LRJ - add X64 definition to configuration line5 J0 G3 B4 W, F5 ?$ |3 x
config = proj.Object.Configurations("Release|x64"); A$ S w2 Y% n* k% m: h) F2 l
config.ConfigurationType = appType;' A! B6 c- v- v' t6 F
config.CharacterSet = charSetUnicode;( n- K4 O% [$ h" Y3 j3 P
config.useOfMfc = useMfcStdWin;
+ Q' T$ N6 T& X
6 X7 Q- m- _& o7 W; i CLTool = config.Tools("VCCLCompilerTool");+ x% \! K: @, y' Q6 k. w
strDefines = GetPlatformDefine(config);
) @0 R% L) A1 f. I strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";
7 J) o/ q$ e D6 p7 @& H9 Z7 R if ( isDllApp )7 n- @( Y# w9 a+ i9 O9 |( f
{
5 W9 B, U u8 C$ @) p0 R' g& _ strDefines += ";_USRDLL";
: n# m2 r, M' {5 U) H, E# o# L4 z7 O }
/ b5 Z) z% L1 {* n- s else
6 @* w& v/ n* j2 T; ? {0 j p7 h; v. Z3 r+ ?# w. l# t! C3 g
strDefines += ";_CONSOLE";
# N+ E9 {( X& I& w: }. B }
8 O C' M* Z$ d' j8 X' [
, K" [/ ]' u4 m CLTool.PreprocessorDefinitions = strDefines;; [$ s9 i% w L- U& P. n
) U" G' v$ b4 B
config.UseOfMFC = useMfcDynamic;
, l+ c( S/ N& ~: y0 ?4 Y CLTool.RuntimeLibrary = rtMultiThreadedDLL;
9 w( S$ f1 E; n; f2 y# ]# z
+ ?" O6 Q8 B' y; r CLTool.InlineFunctionExpansion = expandOnlyInline;# ?+ v' k( U; b6 n. Q- I1 Q
CLTool.TreatWChar_tAsBuiltInType = true;
: ?# @& d) R3 E1 _0 k7 } CLTool.DebugInformationFormat = debugEnabled;
# P0 n- @' }5 Q$ G+ o2 y/ H" P, _8 Q
CLTool.AdditionalIncludeDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";1 u7 q0 Y1 \1 Z" P' l
; B& z1 Z9 a- _: P
CLTool.RuntimeTypeInfo = 1;- T, m1 G4 }1 [ \. Z: P
CLTool.UsePrecompiledHeader = pchNone;8 f4 e! w) O8 q7 p
//CLTool.AdditionalOptions = "/d1scalableinclude-";
2 z$ D5 n6 X1 e7 r0 R0 s \5 Y4 x' I( R: {3 V0 u4 {$ O
LinkTool = config.Tools("VCLinkerTool");
& S6 a& r: F1 y" h# c+ C V//LRJ - add following line for X64 definition
: U7 o9 q) T& A' [/ g LinkTool.TargetMachine = machineAMD64;
+ H7 q4 l* h# U: q LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;! J7 ~8 _) V8 I
if ( isDllApp )
0 ~( f1 ?3 s' a# R5 g9 i LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";& y9 ?8 c0 \& V( i6 w0 K
LinkTool.GenerateDebugInformation = true;
( R8 K" y o8 h LinkTool.LinkIncremental = linkIncrementalNo;+ R5 Z! C& X) d% D5 o
LinkTool.AdditionalLibraryDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";- ?/ F3 |# \' G# U8 A
LinkTool.AdditionalDependencies = linkLibs;
" u# q0 j; _0 z2 a LinkTool.SubSystem = subSystemConsole;, M& p2 u0 J0 s' H
//LRJ - add following line for X64 definition4 A. j- U; z, R3 v' _; L
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");
7 G, @8 Q* E j: M$ l" W }
# R' _. j, D* L catch(e)
, @! B9 ]2 m/ P8 ] `6 q6 C {- N; X6 s" o' ~% T& U8 \
throw e;
7 b) H' ~+ |% r6 g }0 |2 l9 r, O* @# C4 q
}: W( I- n7 I% }6 e. l0 \- W6 D' e
: g' s6 k0 N/ I+ @: x: R! j. c) P7 f" l1 \4 x# [
- T. H1 j( s+ Q( c2 B5 _8 ?
|
|