windows store apps - Why does msbuild try to copy from wrong path? -



windows store apps - Why does msbuild try to copy from wrong path? -

i seek build windows store app using msbuild.

c:\windows\microsoft.net\framework\v4.0.30319>msbuild.exe /t:build /p:configurat ion=release;platform=x86 e:\myapp.w8.csproj /logger:filelogger,microsoft.build.engine;logfile=e:/log/test.txt /p:outputpath=e:/result

and got error:

"e:\myapp.w8.csproj " (build target) (1) -> (copygeneratedxaml target) -> c:\program files (x86)\msbuild\microsoft\windowsxaml\v12.0\8.1\microsoft.wind ows.ui.xaml.common.targets(476,9): error msb3021: unable re-create file "obj\x86\ release\e:\myapp.shared\app.xbf" "e:\result\e:\myapp.shared\app.xbf". given path's format not supported. [e:\myapp.w8.csproj]

i don`t know why msbuild tries utilize

obj\x86\release\e:\myapp.shared\app.xbf instead obj\x86\release\app.xbf

or absolute path app.xbf.

according this post, within .projitems file you'll find next code:

<applicationdefinition include="$(msbuildthisfiledirectory)app.xaml"> <subtype>designer</subtype> </applicationdefinition>

replace with:

<applicationdefinition include="$(msbuildthisfiledirectory)app.xaml"> <subtype>designer</subtype> <link>app.xaml</link> </applicationdefinition>

msbuild windows-store-apps

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -