I've got a solution with multiple project. At first it is compiling without any problems. (No .Net 4 installed).
The test is installing a software product - including the .Net 4 Client profile and the extended.
After the .Net is installed, all projects within the solution could not compile.
I get following warning:
Additionally the following error occured:The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. (MSB3644)
Have I missed some settings?Parameter "SearchPaths" has invalid value "{CandidateAssemblyFiles}%3b
%3b
{HintPathFromItem}%3b
{TargetFrameworkDirectory}%3b
{Registry:Software\Microsoft\.NETFramework,v4.0,AssemblyFoldersEx}%3b
%3b
{GAC}%3b
{RawFileName}%3b
bin\Debug\Microsoft.VisualBasic.dll". Illegal characters in path. (MSB3248)
Within another solution I, this problem does not occur... I have checked the settings of the project, but the only difference was the target architecture... I've changed this settings to the ones within the other projects and vice versa, but it is still the same problem..
Any ideas?
Thank you in advance..
Best regards
Anja