Remove v3.5 reference?

  • Thread starter Thread starter Elliot
  • Start date Start date
E

Elliot

How can I know what references I have used in my project? Is it those under
"All Components" in Object Browser? How to remove them?
I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
changing TargetFramework to ".NET Framework 2.0" in Project Properties.
Howerver, the installer still ask the user has to install 3.5 first.
 
How can I know what references I have used in my project?

Expand the "references" node in solution explorer.
Is it those under "All Components" in Object Browser?

Not sure - I don't use the Object Browser much.
How to remove them?

Select a reference and hit "Delete" IIRC.
I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
changing TargetFramework to ".NET Framework 2.0" in Project Properties.
Howerver, the installer still ask the user has to install 3.5 first.

Hmm... not sure why that is. I'm not terribly knowledgeable about
installers.

Jon
 
Expand the "references" node in solution explorer.


Not sure - I don't use the Object Browser much.


Select a reference and hit "Delete" IIRC.

Ehh, might be an idea to open the project file with notepad and delete
the references that way... (If you cant do it from the IDE)



//CY
 
I discover a new thing.
I made a new setup project without adding anything in it, the installer also
ask user to install 3.5 in anvance.
 
Is it that one?

"ExternalPersistence"
{
"LaunchCondition"
{
"{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_09F164BB6F534AE3B0FB7ABC30979DF5"
{
"Name" = "8:.NET Framework"
"Message" = "8:[VSDNETMSG]"
"Version" = "8:3.5.21022"
"AllowLaterVersions" = "11:FALSE"
"InstallUrl" =
"8:http://go.microsoft.com/fwlink/?LinkId=76617"
}
}
}
 
Will it take effect?
View->Editor->Launch conditions
Select .NET Framework & change version to 2.0.50727?


Elliot said:
Is it that one?

"ExternalPersistence"
{
"LaunchCondition"
{

"{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_09F164BB6F534AE3B0FB7ABC30979DF5"
{
"Name" = "8:.NET Framework"
"Message" = "8:[VSDNETMSG]"
"Version" = "8:3.5.21022"
"AllowLaterVersions" = "11:FALSE"
"InstallUrl" =
"8:http://go.microsoft.com/fwlink/?LinkId=76617"
}
}
}



Ehh, might be an idea to open the project file with notepad and delete
the references that way... (If you cant do it from the IDE)



//CY
 
Will it take effect?
View->Editor->Launch conditions
Select .NET Framework & change version to 2.0.50727?

I have been fighting with the exact same isuue earlier today, and found
the solution to be two-fold:

1. View > Editor > Launch Conditions, select .NET Framework, set Version =
2.0.50727 in the property window.

2. Right-click setup project > Properties, click the "Prerequisites..."
button, check ".NET Framework 2.0 (x86)", uncheck ".NET Framework 3.5".

Hope this helps :)
 
Back
Top