If I cancel the "Conversion" wizard (that's the exact name), the project appears unloaded in the solution.
And if I click to reload the project, the wizard restarts.
Comparing the project before and after changing the target framework, I have the following differences :
- in the app.config
added : <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- in the csproj
before: <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
after: <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
Comparing the project with the Framework v3.5 as a target and the project after the "Conversion", I see the following differences :
- in the app.config : none
- in the csproj
before: <FileUpgradeFlags>40</FileUpgradeFlags>
after: <FileUpgradeFlags>0</FileUpgradeFlags>
before: <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
after: <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <= reset back to v4.0
What's possibly special in this project:
- use of a GlobalSuppressions.cs file (with [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage...])
- use of a "linked" public key (for delayed strongsign) from a network shared drive (unc path)
- an SQL express database (.mdf) to be attached locally during the unit tests
- and (I just noticed it and I think this is the issue) a "reference file" used by VS to generate private accessors !!!
I will investigate this on next Monday...