A
AcroNick
Guest
In a Visual Basic application with 6 projects I recently changed the .NET version from 3.5 to 4.0 to access some improved features, but have had to set it back to 3.5 to make use of fixed length strings (unfortunate but unavoidable without much extra work). As far as I can see all the project prerequisites have been returned to 3.5, however the main application Launch Conditions tab now shows .NET Framework 3.5 with a red exclamation point. The application rebuilds successfully but now shows the 1st project in the Output tab for 30-40 seconds before continuing the build, quite unlike before which was pretty swift.
I have followed various advice postings on this forum to ensure that Compile > Advanced Compile Options and Publish > Prerequisites are all set to .NET Framework 3.5 SP1 but still have this niggling issue. Where else should I hunt for the culprit?
I can see that in my .vdproj file under "Release" there is:
"Url" = "8:"
"ComponentsUrl" = "8:"
"Items"
{
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.0,Profile=Client"
{
"Name" = "8:Microsoft .NET Framework 4 Client Profile (x86 and x64)"
"ProductCode" = "8:.NETFramework,Version=v4.0,Profile=Client"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1"
{
"Name" = "8:Windows Installer 3.1"
"ProductCode" = "8:Microsoft.Windows.Installer.3.1"
}
}
whereas for "Debug" is the expected 3.5 version. Can I edit this file directly, or simply delete the 4.0 section as one post advocates and expect it to be rebuilt?
AcroNick
Continue reading...
I have followed various advice postings on this forum to ensure that Compile > Advanced Compile Options and Publish > Prerequisites are all set to .NET Framework 3.5 SP1 but still have this niggling issue. Where else should I hunt for the culprit?
I can see that in my .vdproj file under "Release" there is:
"Url" = "8:"
"ComponentsUrl" = "8:"
"Items"
{
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.0,Profile=Client"
{
"Name" = "8:Microsoft .NET Framework 4 Client Profile (x86 and x64)"
"ProductCode" = "8:.NETFramework,Version=v4.0,Profile=Client"
}
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1"
{
"Name" = "8:Windows Installer 3.1"
"ProductCode" = "8:Microsoft.Windows.Installer.3.1"
}
}
whereas for "Debug" is the expected 3.5 version. Can I edit this file directly, or simply delete the 4.0 section as one post advocates and expect it to be rebuilt?
AcroNick
Continue reading...