Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

visual studio 2010 - Building a website project as 32-bit on a 64-bit build server -


i have vs 2010 solution contains website has web service within it. web service references com dll causing problems when solution built on our 64-bit build server. typical 32/64-bit error:

aspnetcompiler : error aspconfig: not load file or assembly 'xxx' or 1 of dependencies. attempt made load program incorrect format

when build site using 32-bit aspnet_compiler builds okay. so, how specify website should built 32-bit? configuration manager within vs let me choose cpu, cannot change x86 website...

thanks.

you can use following command. actually, in case using aspnetcompiler x86 edition build own project

call "c:\program files\microsoft visual studio 2008\vc\vcvarsall.bat" x86 msbuild mysolutiuon.sln  

you can use x86_amd64 cpu. note instead of using msbuild can load confiiguration like

<project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  <target name="precompileweb">      <aspnetcompiler          virtualpath="/mywebsite"          physicalpath="c:\inetpub\wwwroot\mywebsite\"          targetpath="c:\precompiledweb\mywebsite\"          force="true"          debug="true"          fixednames="true"      />  </target> </project>  

to use above confiuguration have use

msbuild your.xml /p:configuration=release 

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -