Somehow my application has developed a dependency on the .Net framework.



It is a C++ app built much the same as one would have with Visual Studio 6.



We were happily using Visual Studio .Net 2003 with no dependency on the .Net
framework. Somewhere along the line someone must have accidentally clicked
were they shouldn't have and the dependency arose.



Does anyone have any clues as to where to start to look to remove this
dependency?



Many regards,



Harry Hanley



NOSPAMharry.hanley@gmail.com



(remove NOSPAM to reply)

Re: Unwanted .Net framework dependency by Gabriel

Gabriel
Fri Jan 13 15:43:42 CST 2006

Remove the dependency and recompile to see if anything breaks?


"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
> Somehow my application has developed a dependency on the .Net framework.
>
>
>
> It is a C++ app built much the same as one would have with Visual Studio
> 6.
>
>
>
> We were happily using Visual Studio .Net 2003 with no dependency on the
> .Net framework. Somewhere along the line someone must have accidentally
> clicked were they shouldn't have and the dependency arose.
>
>
>
> Does anyone have any clues as to where to start to look to remove this
> dependency?
>
>
>
> Many regards,
>
>
>
> Harry Hanley
>
>
>
> NOSPAMharry.hanley@gmail.com
>
>
>
> (remove NOSPAM to reply)
>
>



Re: Unwanted .Net framework dependency by Harry

Harry
Fri Jan 13 16:21:31 CST 2006

I cannot find the dependency. This is the main problem. I do not know where
it came from nor where it is only that customers cannot run without
installing dotnetfx.exe.

-Harry


"Gabriel Magaña" <no-spam@no-spam.com> wrote in message
news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
> Remove the dependency and recompile to see if anything breaks?
>
>
> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>> Somehow my application has developed a dependency on the .Net framework.
>>
>>
>>
>> It is a C++ app built much the same as one would have with Visual Studio
>> 6.
>>
>>
>>
>> We were happily using Visual Studio .Net 2003 with no dependency on the
>> .Net framework. Somewhere along the line someone must have accidentally
>> clicked were they shouldn't have and the dependency arose.
>>
>>
>>
>> Does anyone have any clues as to where to start to look to remove this
>> dependency?
>>
>>
>>
>> Many regards,
>>
>>
>>
>> Harry Hanley
>>
>>
>>
>> NOSPAMharry.hanley@gmail.com
>>
>>
>>
>> (remove NOSPAM to reply)
>>
>>
>
>



Re: Unwanted .Net framework dependency by Gabriel

Gabriel
Fri Jan 13 16:24:22 CST 2006

So how do you know the dependency is there? Only at the time of install?

"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>I cannot find the dependency. This is the main problem. I do not know
>where it came from nor where it is only that customers cannot run without
>installing dotnetfx.exe.
>
> -Harry
>
>
> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>> Remove the dependency and recompile to see if anything breaks?
>>
>>
>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>> Somehow my application has developed a dependency on the .Net framework.
>>>
>>>
>>>
>>> It is a C++ app built much the same as one would have with Visual Studio
>>> 6.
>>>
>>>
>>>
>>> We were happily using Visual Studio .Net 2003 with no dependency on the
>>> .Net framework. Somewhere along the line someone must have accidentally
>>> clicked were they shouldn't have and the dependency arose.
>>>
>>>
>>>
>>> Does anyone have any clues as to where to start to look to remove this
>>> dependency?
>>>
>>>
>>>
>>> Many regards,
>>>
>>>
>>>
>>> Harry Hanley
>>>
>>>
>>>
>>> NOSPAMharry.hanley@gmail.com
>>>
>>>
>>>
>>> (remove NOSPAM to reply)
>>>
>>>
>>
>>
>
>



Re: Unwanted .Net framework dependency by Harry

Harry
Fri Jan 13 16:30:20 CST 2006

Be cause users can no longer run the app without installing dotnetfx.exe...
a 20 mG download.

-Harry

"Gabriel Magaña" <no-spam@no-spam.com> wrote in message
news:OsEReAJGGHA.3856@TK2MSFTNGP12.phx.gbl...
> So how do you know the dependency is there? Only at the time of install?
>
> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
> news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>>I cannot find the dependency. This is the main problem. I do not know
>>where it came from nor where it is only that customers cannot run without
>>installing dotnetfx.exe.
>>
>> -Harry
>>
>>
>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>>> Remove the dependency and recompile to see if anything breaks?
>>>
>>>
>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>>> Somehow my application has developed a dependency on the .Net
>>>> framework.
>>>>
>>>>
>>>>
>>>> It is a C++ app built much the same as one would have with Visual
>>>> Studio 6.
>>>>
>>>>
>>>>
>>>> We were happily using Visual Studio .Net 2003 with no dependency on the
>>>> .Net framework. Somewhere along the line someone must have accidentally
>>>> clicked were they shouldn't have and the dependency arose.
>>>>
>>>>
>>>>
>>>> Does anyone have any clues as to where to start to look to remove this
>>>> dependency?
>>>>
>>>>
>>>>
>>>> Many regards,
>>>>
>>>>
>>>>
>>>> Harry Hanley
>>>>
>>>>
>>>>
>>>> NOSPAMharry.hanley@gmail.com
>>>>
>>>>
>>>>
>>>> (remove NOSPAM to reply)
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Unwanted .Net framework dependency by Gabriel

Gabriel
Fri Jan 13 16:40:07 CST 2006

Ugh... I'd try asking the people over at
microsoft.public.dotnet.langauges.vc or microsoft.public.vc.ide_general or
the other vc.* NGs...

Otherwise I'd suggest the obvious: Check each and every option on your C++
project, and turn off anything that mentions "managed".

"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:0SVxf.215434$V7.195078@news-server.bigpond.net.au...
> Be cause users can no longer run the app without installing
> dotnetfx.exe... a 20 mG download.
>
> -Harry
>
> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
> news:OsEReAJGGHA.3856@TK2MSFTNGP12.phx.gbl...
>> So how do you know the dependency is there? Only at the time of install?
>>
>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>> news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>>>I cannot find the dependency. This is the main problem. I do not know
>>>where it came from nor where it is only that customers cannot run without
>>>installing dotnetfx.exe.
>>>
>>> -Harry
>>>
>>>
>>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>>> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>>>> Remove the dependency and recompile to see if anything breaks?
>>>>
>>>>
>>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>>>> Somehow my application has developed a dependency on the .Net
>>>>> framework.
>>>>>
>>>>>
>>>>>
>>>>> It is a C++ app built much the same as one would have with Visual
>>>>> Studio 6.
>>>>>
>>>>>
>>>>>
>>>>> We were happily using Visual Studio .Net 2003 with no dependency on
>>>>> the .Net framework. Somewhere along the line someone must have
>>>>> accidentally clicked were they shouldn't have and the dependency
>>>>> arose.
>>>>>
>>>>>
>>>>>
>>>>> Does anyone have any clues as to where to start to look to remove this
>>>>> dependency?
>>>>>
>>>>>
>>>>>
>>>>> Many regards,
>>>>>
>>>>>
>>>>>
>>>>> Harry Hanley
>>>>>
>>>>>
>>>>>
>>>>> NOSPAMharry.hanley@gmail.com
>>>>>
>>>>>
>>>>>
>>>>> (remove NOSPAM to reply)
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Unwanted .Net framework dependency by Kevin

Kevin
Fri Jan 13 17:56:35 CST 2006

Is it a *managed* C++ project, by any chance?

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
> Somehow my application has developed a dependency on the .Net framework.
>
>
>
> It is a C++ app built much the same as one would have with Visual Studio
> 6.
>
>
>
> We were happily using Visual Studio .Net 2003 with no dependency on the
> .Net framework. Somewhere along the line someone must have accidentally
> clicked were they shouldn't have and the dependency arose.
>
>
>
> Does anyone have any clues as to where to start to look to remove this
> dependency?
>
>
>
> Many regards,
>
>
>
> Harry Hanley
>
>
>
> NOSPAMharry.hanley@gmail.com
>
>
>
> (remove NOSPAM to reply)
>
>



Re: Unwanted .Net framework dependency by Harry

Harry
Fri Jan 13 23:47:36 CST 2006

Thanks, at least that gives me a clue.

-Harry

"Gabriel Magaña" <no-spam@no-spam.com> wrote in message
news:OaQuSJJGGHA.3896@TK2MSFTNGP15.phx.gbl...
> Ugh... I'd try asking the people over at
> microsoft.public.dotnet.langauges.vc or microsoft.public.vc.ide_general or
> the other vc.* NGs...
>
> Otherwise I'd suggest the obvious: Check each and every option on your C++
> project, and turn off anything that mentions "managed".
>
> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
> news:0SVxf.215434$V7.195078@news-server.bigpond.net.au...
>> Be cause users can no longer run the app without installing
>> dotnetfx.exe... a 20 mG download.
>>
>> -Harry
>>
>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>> news:OsEReAJGGHA.3856@TK2MSFTNGP12.phx.gbl...
>>> So how do you know the dependency is there? Only at the time of install?
>>>
>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>> news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>>>>I cannot find the dependency. This is the main problem. I do not know
>>>>where it came from nor where it is only that customers cannot run
>>>>without installing dotnetfx.exe.
>>>>
>>>> -Harry
>>>>
>>>>
>>>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>>>> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>>>>> Remove the dependency and recompile to see if anything breaks?
>>>>>
>>>>>
>>>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>>>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>>>>> Somehow my application has developed a dependency on the .Net
>>>>>> framework.
>>>>>>
>>>>>>
>>>>>>
>>>>>> It is a C++ app built much the same as one would have with Visual
>>>>>> Studio 6.
>>>>>>
>>>>>>
>>>>>>
>>>>>> We were happily using Visual Studio .Net 2003 with no dependency on
>>>>>> the .Net framework. Somewhere along the line someone must have
>>>>>> accidentally clicked were they shouldn't have and the dependency
>>>>>> arose.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Does anyone have any clues as to where to start to look to remove
>>>>>> this dependency?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Many regards,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Harry Hanley
>>>>>>
>>>>>>
>>>>>>
>>>>>> NOSPAMharry.hanley@gmail.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> (remove NOSPAM to reply)
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Unwanted .Net framework dependency by Lloyd

Lloyd
Sat Jan 14 06:48:58 CST 2006

remove /clr

"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
> Somehow my application has developed a dependency on the .Net framework.
>
>
>
> It is a C++ app built much the same as one would have with Visual Studio
> 6.
>
>
>
> We were happily using Visual Studio .Net 2003 with no dependency on the
> .Net framework. Somewhere along the line someone must have accidentally
> clicked were they shouldn't have and the dependency arose.
>
>
>
> Does anyone have any clues as to where to start to look to remove this
> dependency?
>
>
>
> Many regards,
>
>
>
> Harry Hanley
>
>
>
> NOSPAMharry.hanley@gmail.com
>
>
>
> (remove NOSPAM to reply)
>
>



Re: Unwanted .Net framework dependency by Harry

Harry
Sat Jan 14 22:13:44 CST 2006

That was it exactly, one library was needlessly set as "managed".

Many regards,

Harry Hanley


"Gabriel Magaña" <no-spam@no-spam.com> wrote in message
news:OaQuSJJGGHA.3896@TK2MSFTNGP15.phx.gbl...
> Ugh... I'd try asking the people over at
> microsoft.public.dotnet.langauges.vc or microsoft.public.vc.ide_general or
> the other vc.* NGs...
>
> Otherwise I'd suggest the obvious: Check each and every option on your C++
> project, and turn off anything that mentions "managed".
>
> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
> news:0SVxf.215434$V7.195078@news-server.bigpond.net.au...
>> Be cause users can no longer run the app without installing
>> dotnetfx.exe... a 20 mG download.
>>
>> -Harry
>>
>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>> news:OsEReAJGGHA.3856@TK2MSFTNGP12.phx.gbl...
>>> So how do you know the dependency is there? Only at the time of install?
>>>
>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>> news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>>>>I cannot find the dependency. This is the main problem. I do not know
>>>>where it came from nor where it is only that customers cannot run
>>>>without installing dotnetfx.exe.
>>>>
>>>> -Harry
>>>>
>>>>
>>>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>>>> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>>>>> Remove the dependency and recompile to see if anything breaks?
>>>>>
>>>>>
>>>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>>>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>>>>> Somehow my application has developed a dependency on the .Net
>>>>>> framework.
>>>>>>
>>>>>>
>>>>>>
>>>>>> It is a C++ app built much the same as one would have with Visual
>>>>>> Studio 6.
>>>>>>
>>>>>>
>>>>>>
>>>>>> We were happily using Visual Studio .Net 2003 with no dependency on
>>>>>> the .Net framework. Somewhere along the line someone must have
>>>>>> accidentally clicked were they shouldn't have and the dependency
>>>>>> arose.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Does anyone have any clues as to where to start to look to remove
>>>>>> this dependency?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Many regards,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Harry Hanley
>>>>>>
>>>>>>
>>>>>>
>>>>>> NOSPAMharry.hanley@gmail.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> (remove NOSPAM to reply)
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Unwanted .Net framework dependency by Gabriel

Gabriel
Sat Jan 14 22:43:22 CST 2006

Great deal! Sometimes a shot in the dark works!

"Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
news:YZjyf.217477$V7.27386@news-server.bigpond.net.au...
> That was it exactly, one library was needlessly set as "managed".
>
> Many regards,
>
> Harry Hanley
>
>
> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
> news:OaQuSJJGGHA.3896@TK2MSFTNGP15.phx.gbl...
>> Ugh... I'd try asking the people over at
>> microsoft.public.dotnet.langauges.vc or microsoft.public.vc.ide_general
>> or the other vc.* NGs...
>>
>> Otherwise I'd suggest the obvious: Check each and every option on your
>> C++ project, and turn off anything that mentions "managed".
>>
>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>> news:0SVxf.215434$V7.195078@news-server.bigpond.net.au...
>>> Be cause users can no longer run the app without installing
>>> dotnetfx.exe... a 20 mG download.
>>>
>>> -Harry
>>>
>>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>>> news:OsEReAJGGHA.3856@TK2MSFTNGP12.phx.gbl...
>>>> So how do you know the dependency is there? Only at the time of
>>>> install?
>>>>
>>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>>> news:LJVxf.215430$V7.51688@news-server.bigpond.net.au...
>>>>>I cannot find the dependency. This is the main problem. I do not know
>>>>>where it came from nor where it is only that customers cannot run
>>>>>without installing dotnetfx.exe.
>>>>>
>>>>> -Harry
>>>>>
>>>>>
>>>>> "Gabriel Magaña" <no-spam@no-spam.com> wrote in message
>>>>> news:eQ7e0qIGGHA.208@tk2msftngp13.phx.gbl...
>>>>>> Remove the dependency and recompile to see if anything breaks?
>>>>>>
>>>>>>
>>>>>> "Harry Hanley" <harry.hanley@NOSPAMgmail.com> wrote in message
>>>>>> news:Y3Vxf.215399$V7.170338@news-server.bigpond.net.au...
>>>>>>> Somehow my application has developed a dependency on the .Net
>>>>>>> framework.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> It is a C++ app built much the same as one would have with Visual
>>>>>>> Studio 6.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> We were happily using Visual Studio .Net 2003 with no dependency on
>>>>>>> the .Net framework. Somewhere along the line someone must have
>>>>>>> accidentally clicked were they shouldn't have and the dependency
>>>>>>> arose.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Does anyone have any clues as to where to start to look to remove
>>>>>>> this dependency?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Many regards,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Harry Hanley
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> NOSPAMharry.hanley@gmail.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> (remove NOSPAM to reply)
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>