R
Ryan
Hi All,
I need a little help with getting Win32 version information into my
Pocket PC application. I've had a good look around and found a a good
example on Neil Cowburn's blog [1]. The code he lists in his blog
doesn't work for applications built with Visual Studio 2005 until I
noticed some addition information in one of the comments. It suggests
adding the follow to the project file:
<Target Name="Build">
<CallTarget Targets="PreBuildEvent">
</CallTarget>
<CallTarget Targets="ResolveAssemblyReferences">
</CallTarget>
<CallTarget Targets="CoreResGen">
</CallTarget>
<CallTarget Targets="CoreCompile">
</CallTarget>
<CallTarget Targets="_CopyFilesMarkedCopyLocal">
</CallTarget>
<CallTarget Targets="CopyFilesToOutputDirectory">
</CallTarget>
</Target>
When I do this I get the version number but loose all the compiled in
resources i.e. picture box images set a design time, xml files included
as resources etc. Can anybody point me in the direction of a solution
that will allow me to keep my resources and the version number? I don't
know enough about the build process to workout which bit is doing what.
The application is deployed by a desktop application to a memory card
and we want to make sure its the latest version with out continually
downloading code as some clients are on dial up connections.
Many thanks
Ryan
[1]
http://blog.opennetcf.org/ncowburn/...rsionToYourNETCompactFrameworkAssemblies.aspx
I need a little help with getting Win32 version information into my
Pocket PC application. I've had a good look around and found a a good
example on Neil Cowburn's blog [1]. The code he lists in his blog
doesn't work for applications built with Visual Studio 2005 until I
noticed some addition information in one of the comments. It suggests
adding the follow to the project file:
<Target Name="Build">
<CallTarget Targets="PreBuildEvent">
</CallTarget>
<CallTarget Targets="ResolveAssemblyReferences">
</CallTarget>
<CallTarget Targets="CoreResGen">
</CallTarget>
<CallTarget Targets="CoreCompile">
</CallTarget>
<CallTarget Targets="_CopyFilesMarkedCopyLocal">
</CallTarget>
<CallTarget Targets="CopyFilesToOutputDirectory">
</CallTarget>
</Target>
When I do this I get the version number but loose all the compiled in
resources i.e. picture box images set a design time, xml files included
as resources etc. Can anybody point me in the direction of a solution
that will allow me to keep my resources and the version number? I don't
know enough about the build process to workout which bit is doing what.
The application is deployed by a desktop application to a memory card
and we want to make sure its the latest version with out continually
downloading code as some clients are on dial up connections.
Many thanks
Ryan
[1]
http://blog.opennetcf.org/ncowburn/...rsionToYourNETCompactFrameworkAssemblies.aspx