In a recent case, a component has 32-bit yuan and 64-bit yuan, such as Chilkat. net, because Visual Studio 2010 is a 32-bit component. If 64-bit components are used at the time of development, some problems may occur, such as aspnetcompiler loss of memory, in addition, the view of the MVC case was released during the design process, causing the failure to use intelliisense, so there is no way to use a 32-bit component at the time of development, but I don't want to manually Replace the component at the time of development. How can I do this?
When a view is desing, an issue occurs, making it impossible to use intelliisense.
In fact, the cost is reduced to 64-bit components during the execution, and the cost is still simple, as long as. CsprojModify the secret.
The final structure of the second solution, Libs decentralized the non-bitwise OR 32-bit organization, and the 64-bit information, a 64-bit component with bitwise points.
Open. CsprojTIPS: You can change the exam form to the following.
<Project>... <! -- Use a 32-bit component for debugging --> <reference include = "chilkatdotnet4" condition = "'$ (configuration)' = 'debug'">
When building in the release mode, 64-bit components are used, while 32-bit components are used in the bebug mode, while the release mode is used in the release phase, the effect of copying to the cut component.
Tip:
In the example, the number of restricted items in the lower part is less than that in the lower part. If you need to release the files, you can change the number of restricted items
<Reference Include="ChilkatDotNet4" Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
There are also MVC cases, which may be used to view and check zookeeper during release. However, the reason is that the browser uses a 32-bit component, you also need to modify it.
<Project>... <target name = "afterbuild" condition = "'$ (mvcbuildviews)' = 'true'"> <! -- You must specify the address of the 64-bit zookeeper. --> <aspnetcompiler virtualpath = "Temp" physicalpath = "$ (projectdir)" toolexe = "C: \ WINDOWS \ Microsoft. net \ framework64 \ v4.0.30319 \ aspnet_compiler.exe "/> </Target>... </Project>