Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

create VSpackage in vs2012 ( .net 4.5 ) targeting vs2008

$
0
0

Hi

I want to change the target of the vspackage that is now 4.5 to 3.5 , in order to make it ready for 2008 and 2005 installations.

When I change targeting in the property of vspackage, I get many compile errors like:

Error17 The type or namespace name 'PackageRegistrationAttribute' could not be found (are you missing a using directive or an assembly reference?)

I tried to find another reference that is suitable for .net 3.5 but I was not successful, I thought it might be because of

not having

.net 3.5 sp1 ( I don't know I have it or not as I only I see .net 3.5 but not sp1 in the windows features in control panel)

but when i try to install it, it gives no error and and exits.

I even tried to create a new project from the scratch for test and even when in the adding process I change it to

.net 3 or 3.5 , when I go to the property of the new vspackage it shows 4.5, when i change it to 3.5 again, it gives the above

compile error .

I am using vs2012 update 3 on windows 8 for developing winform control.

Any recommendation would be highly appreciated.

Thanks in advance



Viewing all articles
Browse latest Browse all 4410

Trending Articles