Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I create a DLL on VS2012 on windows 7 with .NT framework 4.5.
Under Property > application > target framework: I select "framework 4.5"
I build and when I try to regasm and gasutil, I get: "this is not a valid .NET framework"

NOW, when I do the exact same thing under target framework 2.0 everything is fine.
So I am not sure what is going on.

I thought since my PC was upgrade to 4.5 then I can select 4.5 framework during the compiling.

any thoughts?
Thanks



ALSO it gives the same error for anything more than framework 2.0!!!
Posted

1 solution

Sorry, I found out the issue. when I regasm I should do it under:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900