![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Detect which version of Visual Studio compiled a program Is it possible for a VB Win Forms program to detect whether it has been compiled with VS 2005 or VS 2008? Thanks Barry Flynn |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Detect which version of Visual Studio compiled a program To my knowledge, such information is not kept in the assembly metadata. Why do you have to perform this check; what has to happen in either case? -- Stanimir Stoyanov http://stoyanoff.info "Barry Flynn" <Anonymouse> wrote in message news:%23Qs06f8XJHA.1272@xxxxxx Quote: > > Is it possible for a VB Win Forms program to detect whether it has been > compiled with VS 2005 or VS 2008? > > Thanks > > Barry Flynn > > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Detect which version of Visual Studio compiled a program Thanks for the reply. << > Why do you have to perform this check; what has to happen in either case? Its just for informational purposes. I need to keep some projects in both VS 2005 and VS 2008 for a while, and to avoid doubling up coding & testing of changes, I would like to keep a single set of source code in VS2005 which periodically gets copied into a VS 2008 environment and compiled. In case I get myself confused, I was just considering ways to tell, with certainty, which version a particular .exe had been compiled with. Thanks Barry -- Barry Flynn Complete Solutions DG "Stanimir Stoyanov" <stoyanov@xxxxxx> wrote in message news:F1E5329A-1BCE-4E6E-8AF4-86CF2D73E24A@xxxxxx Quote: > To my knowledge, such information is not kept in the assembly metadata. > > Why do you have to perform this check; what has to happen in either case? > -- > Stanimir Stoyanov > http://stoyanoff.info > > "Barry Flynn" <Anonymouse> wrote in message > news:%23Qs06f8XJHA.1272@xxxxxx Quote: >> >> Is it possible for a VB Win Forms program to detect whether it has been >> compiled with VS 2005 or VS 2008? >> >> Thanks >> >> Barry Flynn >> >> >> |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Detect which version of Visual Studio compiled a program Barry, Try using dumpbin. The PE headers used to contain the version of the linker used to produce the file, and MS always changed the linker version for each version of VS. Bob "Barry Flynn" <Anonymouse> wrote in message news:%23luSTI9XJHA.1328@xxxxxx Quote: > Thanks for the reply. > > << > Why do you have to perform this check; what has to happen in either > case? > Its just for informational purposes. > I need to keep some projects in both VS 2005 and VS 2008 for a while, and > to avoid doubling up coding & testing of changes, I would like to keep a > single set of source code in VS2005 which periodically gets copied into a > VS 2008 environment and compiled. > In case I get myself confused, I was just considering ways to tell, with > certainty, which version a particular .exe had been compiled with. > > Thanks > > Barry > > -- > > Barry Flynn > Complete Solutions DG > > > "Stanimir Stoyanov" <stoyanov@xxxxxx> wrote in message > news:F1E5329A-1BCE-4E6E-8AF4-86CF2D73E24A@xxxxxx Quote: >> To my knowledge, such information is not kept in the assembly metadata. >> >> Why do you have to perform this check; what has to happen in either case? >> -- >> Stanimir Stoyanov >> http://stoyanoff.info >> >> "Barry Flynn" <Anonymouse> wrote in message >> news:%23Qs06f8XJHA.1272@xxxxxx Quote: >>> >>> Is it possible for a VB Win Forms program to detect whether it has been >>> compiled with VS 2005 or VS 2008? >>> >>> Thanks >>> >>> Barry Flynn >>> >>> >>> > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Detect which version of Visual Studio compiled a program Thanks Bob. I didn't know about DumpBin. I'll have a look at it. Barry "Bob Milton" <DocBob1945@xxxxxx> wrote in message news:eA0Q%23J9XJHA.5336@xxxxxx Quote: > Barry, > Try using dumpbin. The PE headers used to contain the version of the > linker used to produce the file, and MS always changed the linker version > for each version of VS. > Bob > > "Barry Flynn" <Anonymouse> wrote in message > news:%23luSTI9XJHA.1328@xxxxxx Quote: >> Thanks for the reply. >> >> << > Why do you have to perform this check; what has to happen in either >> case? >> Its just for informational purposes. >> I need to keep some projects in both VS 2005 and VS 2008 for a while, and >> to avoid doubling up coding & testing of changes, I would like to keep a >> single set of source code in VS2005 which periodically gets copied into a >> VS 2008 environment and compiled. >> In case I get myself confused, I was just considering ways to tell, with >> certainty, which version a particular .exe had been compiled with. >> >> Thanks >> >> Barry >> >> -- >> >> Barry Flynn >> Complete Solutions DG >> >> >> "Stanimir Stoyanov" <stoyanov@xxxxxx> wrote in message >> news:F1E5329A-1BCE-4E6E-8AF4-86CF2D73E24A@xxxxxx Quote: >>> To my knowledge, such information is not kept in the assembly metadata. >>> >>> Why do you have to perform this check; what has to happen in either >>> case? >>> -- >>> Stanimir Stoyanov >>> http://stoyanoff.info >>> >>> "Barry Flynn" <Anonymouse> wrote in message >>> news:%23Qs06f8XJHA.1272@xxxxxx >>>> >>>> Is it possible for a VB Win Forms program to detect whether it has been >>>> compiled with VS 2005 or VS 2008? >>>> >>>> Thanks >>>> >>>> Barry Flynn >>>> >>>> >>>> >>> >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Debugging a Visual Studio 2008 Program under Vista? | Vista General | |||
| What version of visual studio for vb.net? | .NET General | |||
| Code compiled on old visual studio. Running VS2008 Pro now | .NET General | |||
| install old visual studio .net version | .NET General | |||
| Microsoft Enhances Application Security Tool in Visual Studio With Improved Version of Dotfuscator | Vista News | |||